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 |
|
---|
86 | class listResources_Dec(ElementDeclaration):
|
---|
87 | literal = "listResources"
|
---|
88 | schema = "http://www.dass-it.de/VanHelsing/"
|
---|
89 | substitutionGroup = None
|
---|
90 | def __init__(self, **kw):
|
---|
91 | kw["pname"] = ("http://www.dass-it.de/VanHelsing/","listResources")
|
---|
92 | kw["aname"] = "_listResources"
|
---|
93 | if ns0.listResourcesType_Def not in ns0.listResources_Dec.__bases__:
|
---|
94 | bases = list(ns0.listResources_Dec.__bases__)
|
---|
95 | bases.insert(0, ns0.listResourcesType_Def)
|
---|
96 | ns0.listResources_Dec.__bases__ = tuple(bases)
|
---|
97 |
|
---|
98 | ns0.listResourcesType_Def.__init__(self, **kw)
|
---|
99 | if self.pyclass is not None: self.pyclass.__name__ = "listResources_Dec_Holder"
|
---|
100 |
|
---|
101 | class listResourcesResponse_Dec(ElementDeclaration):
|
---|
102 | literal = "listResourcesResponse"
|
---|
103 | schema = "http://www.dass-it.de/VanHelsing/"
|
---|
104 | substitutionGroup = None
|
---|
105 | def __init__(self, **kw):
|
---|
106 | kw["pname"] = ("http://www.dass-it.de/VanHelsing/","listResourcesResponse")
|
---|
107 | kw["aname"] = "_listResourcesResponse"
|
---|
108 | if ns0.resourceListType_Def not in ns0.listResourcesResponse_Dec.__bases__:
|
---|
109 | bases = list(ns0.listResourcesResponse_Dec.__bases__)
|
---|
110 | bases.insert(0, ns0.resourceListType_Def)
|
---|
111 | ns0.listResourcesResponse_Dec.__bases__ = tuple(bases)
|
---|
112 |
|
---|
113 | ns0.resourceListType_Def.__init__(self, **kw)
|
---|
114 | if self.pyclass is not None: self.pyclass.__name__ = "listResourcesResponse_Dec_Holder"
|
---|
115 |
|
---|
116 | # end class ns0 (tns: http://www.dass-it.de/VanHelsing/)
|
---|