[837] | 1 | ##################################################
|
---|
| 2 | # file: VanHelsing_types.py
|
---|
| 3 | #
|
---|
| 4 | # schema types generated by "ZSI.generate.wsdl2python.WriteServiceModule"
|
---|
| 5 | # /usr/bin/wsdl2py -b VanHelsing.wsdl
|
---|
| 6 | #
|
---|
| 7 | ##################################################
|
---|
| 8 |
|
---|
| 9 | import ZSI
|
---|
| 10 | import ZSI.TCcompound
|
---|
| 11 | from ZSI.schema import LocalElementDeclaration, ElementDeclaration, TypeDefinition, GTD, GED
|
---|
| 12 | from ZSI.generate.pyclass import pyclass_type
|
---|
| 13 |
|
---|
| 14 | ##############################
|
---|
| 15 | # targetNamespace
|
---|
| 16 | # http://www.dass-it.de/VanHelsing/
|
---|
| 17 | ##############################
|
---|
| 18 |
|
---|
| 19 | class ns0:
|
---|
| 20 | targetNamespace = "http://www.dass-it.de/VanHelsing/"
|
---|
| 21 |
|
---|
| 22 | class listResourcesType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
|
---|
| 23 | schema = "http://www.dass-it.de/VanHelsing/"
|
---|
| 24 | type = (schema, "listResourcesType")
|
---|
| 25 | def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
|
---|
| 26 | ns = ns0.listResourcesType_Def.schema
|
---|
| 27 | TClist = [ZSI.TC.String(pname="resourceType", aname="_resourceType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="director", aname="_director", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
|
---|
| 28 | self.attribute_typecode_dict = attributes or {}
|
---|
| 29 | if extend: TClist += ofwhat
|
---|
| 30 | if restrict: TClist = ofwhat
|
---|
| 31 | ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
|
---|
| 32 | class Holder:
|
---|
| 33 | __metaclass__ = pyclass_type
|
---|
| 34 | typecode = self
|
---|
| 35 | def __init__(self):
|
---|
| 36 | # pyclass
|
---|
| 37 | self._resourceType = None
|
---|
| 38 | self._director = None
|
---|
| 39 | return
|
---|
| 40 | Holder.__name__ = "listResourcesType_Holder"
|
---|
| 41 | self.pyclass = Holder
|
---|
| 42 |
|
---|
| 43 | class resourceListType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
|
---|
| 44 | schema = "http://www.dass-it.de/VanHelsing/"
|
---|
| 45 | type = (schema, "resourceListType")
|
---|
| 46 | def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
|
---|
| 47 | ns = ns0.resourceListType_Def.schema
|
---|
| 48 | TClist = [GTD("http://www.dass-it.de/VanHelsing/","ResourceInfo",lazy=False)(pname="resource", aname="_resource", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
|
---|
| 49 | self.attribute_typecode_dict = attributes or {}
|
---|
| 50 | if extend: TClist += ofwhat
|
---|
| 51 | if restrict: TClist = ofwhat
|
---|
| 52 | ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
|
---|
| 53 | class Holder:
|
---|
| 54 | __metaclass__ = pyclass_type
|
---|
| 55 | typecode = self
|
---|
| 56 | def __init__(self):
|
---|
| 57 | # pyclass
|
---|
| 58 | self._resource = []
|
---|
| 59 | return
|
---|
| 60 | Holder.__name__ = "resourceListType_Holder"
|
---|
| 61 | self.pyclass = Holder
|
---|
| 62 |
|
---|
| 63 | class ResourceInfo_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
|
---|
| 64 | schema = "http://www.dass-it.de/VanHelsing/"
|
---|
| 65 | type = (schema, "ResourceInfo")
|
---|
| 66 | def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
|
---|
| 67 | ns = ns0.ResourceInfo_Def.schema
|
---|
| 68 | TClist = [ZSI.TCnumbers.Iint(pname="resId", aname="_resId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="resType", aname="_resType", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="resName", aname="_resName", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="director", aname="_director", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
|
---|
| 69 | self.attribute_typecode_dict = attributes or {}
|
---|
| 70 | if extend: TClist += ofwhat
|
---|
| 71 | if restrict: TClist = ofwhat
|
---|
| 72 | ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
|
---|
| 73 | class Holder:
|
---|
| 74 | __metaclass__ = pyclass_type
|
---|
| 75 | typecode = self
|
---|
| 76 | def __init__(self):
|
---|
| 77 | # pyclass
|
---|
| 78 | self._resId = None
|
---|
| 79 | self._resType = None
|
---|
| 80 | self._resName = None
|
---|
| 81 | self._director = None
|
---|
| 82 | return
|
---|
| 83 | Holder.__name__ = "ResourceInfo_Holder"
|
---|
| 84 | self.pyclass = Holder
|
---|
| 85 |
|
---|
[839] | 86 | class ResourceAttributeType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
|
---|
| 87 | schema = "http://www.dass-it.de/VanHelsing/"
|
---|
| 88 | type = (schema, "ResourceAttributeType")
|
---|
| 89 | def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
|
---|
| 90 | ns = ns0.ResourceAttributeType_Def.schema
|
---|
| 91 | TClist = [ZSI.TC.String(pname="key", aname="_key", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="value", aname="_value", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
|
---|
| 92 | self.attribute_typecode_dict = attributes or {}
|
---|
| 93 | if extend: TClist += ofwhat
|
---|
| 94 | if restrict: TClist = ofwhat
|
---|
| 95 | ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
|
---|
| 96 | class Holder:
|
---|
| 97 | __metaclass__ = pyclass_type
|
---|
| 98 | typecode = self
|
---|
| 99 | def __init__(self):
|
---|
| 100 | # pyclass
|
---|
| 101 | self._key = None
|
---|
| 102 | self._value = None
|
---|
| 103 | return
|
---|
| 104 | Holder.__name__ = "ResourceAttributeType_Holder"
|
---|
| 105 | self.pyclass = Holder
|
---|
| 106 |
|
---|
| 107 | class getResourceType_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
|
---|
| 108 | schema = "http://www.dass-it.de/VanHelsing/"
|
---|
| 109 | type = (schema, "getResourceType")
|
---|
| 110 | def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
|
---|
| 111 | ns = ns0.getResourceType_Def.schema
|
---|
| 112 | TClist = [ZSI.TCnumbers.Iint(pname="resId", aname="_resId", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="director", aname="_director", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
|
---|
| 113 | self.attribute_typecode_dict = attributes or {}
|
---|
| 114 | if extend: TClist += ofwhat
|
---|
| 115 | if restrict: TClist = ofwhat
|
---|
| 116 | ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
|
---|
| 117 | class Holder:
|
---|
| 118 | __metaclass__ = pyclass_type
|
---|
| 119 | typecode = self
|
---|
| 120 | def __init__(self):
|
---|
| 121 | # pyclass
|
---|
| 122 | self._resId = None
|
---|
| 123 | self._director = None
|
---|
| 124 | return
|
---|
| 125 | Holder.__name__ = "getResourceType_Holder"
|
---|
| 126 | self.pyclass = Holder
|
---|
| 127 |
|
---|
[837] | 128 | class listResources_Dec(ElementDeclaration):
|
---|
| 129 | literal = "listResources"
|
---|
| 130 | schema = "http://www.dass-it.de/VanHelsing/"
|
---|
| 131 | substitutionGroup = None
|
---|
| 132 | def __init__(self, **kw):
|
---|
| 133 | kw["pname"] = ("http://www.dass-it.de/VanHelsing/","listResources")
|
---|
| 134 | kw["aname"] = "_listResources"
|
---|
| 135 | if ns0.listResourcesType_Def not in ns0.listResources_Dec.__bases__:
|
---|
| 136 | bases = list(ns0.listResources_Dec.__bases__)
|
---|
| 137 | bases.insert(0, ns0.listResourcesType_Def)
|
---|
| 138 | ns0.listResources_Dec.__bases__ = tuple(bases)
|
---|
| 139 |
|
---|
| 140 | ns0.listResourcesType_Def.__init__(self, **kw)
|
---|
| 141 | if self.pyclass is not None: self.pyclass.__name__ = "listResources_Dec_Holder"
|
---|
| 142 |
|
---|
| 143 | class listResourcesResponse_Dec(ElementDeclaration):
|
---|
| 144 | literal = "listResourcesResponse"
|
---|
| 145 | schema = "http://www.dass-it.de/VanHelsing/"
|
---|
| 146 | substitutionGroup = None
|
---|
| 147 | def __init__(self, **kw):
|
---|
| 148 | kw["pname"] = ("http://www.dass-it.de/VanHelsing/","listResourcesResponse")
|
---|
| 149 | kw["aname"] = "_listResourcesResponse"
|
---|
| 150 | if ns0.resourceListType_Def not in ns0.listResourcesResponse_Dec.__bases__:
|
---|
| 151 | bases = list(ns0.listResourcesResponse_Dec.__bases__)
|
---|
| 152 | bases.insert(0, ns0.resourceListType_Def)
|
---|
| 153 | ns0.listResourcesResponse_Dec.__bases__ = tuple(bases)
|
---|
| 154 |
|
---|
| 155 | ns0.resourceListType_Def.__init__(self, **kw)
|
---|
| 156 | if self.pyclass is not None: self.pyclass.__name__ = "listResourcesResponse_Dec_Holder"
|
---|
| 157 |
|
---|
[839] | 158 | class getSimpleResource_Dec(ElementDeclaration):
|
---|
| 159 | literal = "getSimpleResource"
|
---|
| 160 | schema = "http://www.dass-it.de/VanHelsing/"
|
---|
| 161 | substitutionGroup = None
|
---|
| 162 | def __init__(self, **kw):
|
---|
| 163 | kw["pname"] = ("http://www.dass-it.de/VanHelsing/","getSimpleResource")
|
---|
| 164 | kw["aname"] = "_getSimpleResource"
|
---|
| 165 | if ns0.getResourceType_Def not in ns0.getSimpleResource_Dec.__bases__:
|
---|
| 166 | bases = list(ns0.getSimpleResource_Dec.__bases__)
|
---|
| 167 | bases.insert(0, ns0.getResourceType_Def)
|
---|
| 168 | ns0.getSimpleResource_Dec.__bases__ = tuple(bases)
|
---|
| 169 |
|
---|
| 170 | ns0.getResourceType_Def.__init__(self, **kw)
|
---|
| 171 | if self.pyclass is not None: self.pyclass.__name__ = "getSimpleResource_Dec_Holder"
|
---|
| 172 |
|
---|
| 173 | class getSimpleResourceResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
|
---|
| 174 | literal = "getSimpleResourceResponse"
|
---|
| 175 | schema = "http://www.dass-it.de/VanHelsing/"
|
---|
| 176 | def __init__(self, **kw):
|
---|
| 177 | ns = ns0.getSimpleResourceResponse_Dec.schema
|
---|
| 178 | TClist = [GTD("http://www.dass-it.de/VanHelsing/","ResourceInfo",lazy=False)(pname="resInfo", aname="_resInfo", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.dass-it.de/VanHelsing/","ResourceAttributeType",lazy=False)(pname="resAttribute", aname="_resAttribute", minOccurs=0, maxOccurs="unbounded", nillable=False, typed=False, encoded=kw.get("encoded"))]
|
---|
| 179 | kw["pname"] = ("http://www.dass-it.de/VanHelsing/","getSimpleResourceResponse")
|
---|
| 180 | kw["aname"] = "_getSimpleResourceResponse"
|
---|
| 181 | self.attribute_typecode_dict = {}
|
---|
| 182 | ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
|
---|
| 183 | class Holder:
|
---|
| 184 | __metaclass__ = pyclass_type
|
---|
| 185 | typecode = self
|
---|
| 186 | def __init__(self):
|
---|
| 187 | # pyclass
|
---|
| 188 | self._resInfo = None
|
---|
| 189 | self._resAttribute = []
|
---|
| 190 | return
|
---|
| 191 | Holder.__name__ = "getSimpleResourceResponse_Holder"
|
---|
| 192 | self.pyclass = Holder
|
---|
| 193 |
|
---|
[837] | 194 | # end class ns0 (tns: http://www.dass-it.de/VanHelsing/)
|
---|