Mercurial > repos > uga-galaxy-group > webservice_toolsuite_v1_1
comparison WebServiceExtensionsV1.1/WebServiceToolWorkflow_REST_SOAP/clientGenerator/KEGG/KEGG_v6_2_services_types.py @ 0:049760c677de default tip
Galaxy WSExtensions added successfully
author | uga-galaxy-group |
---|---|
date | Tue, 05 Jul 2011 19:34:18 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:049760c677de |
---|---|
1 ################################################## | |
2 # KEGG_v6_2_services_types.py | |
3 # generated by ZSI.generate.wsdl2python | |
4 ################################################## | |
5 | |
6 | |
7 import ZSI | |
8 import ZSI.TCcompound | |
9 from ZSI.schema import LocalElementDeclaration, ElementDeclaration, TypeDefinition, GTD, GED | |
10 | |
11 ############################## | |
12 # targetNamespace | |
13 # SOAP/KEGG | |
14 ############################## | |
15 | |
16 class ns0: | |
17 targetNamespace = "SOAP/KEGG" | |
18 | |
19 class ArrayOfint_Def(ZSI.TC.Array, TypeDefinition): | |
20 #complexType/complexContent base="SOAP-ENC:Array" | |
21 schema = "SOAP/KEGG" | |
22 type = (schema, "ArrayOfint") | |
23 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): | |
24 ofwhat = ZSI.TCnumbers.Iint(None, typed=False) | |
25 atype = (u'http://www.w3.org/2001/XMLSchema', u'int[]') | |
26 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) | |
27 | |
28 class ArrayOfstring_Def(ZSI.TC.Array, TypeDefinition): | |
29 #complexType/complexContent base="SOAP-ENC:Array" | |
30 schema = "SOAP/KEGG" | |
31 type = (schema, "ArrayOfstring") | |
32 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): | |
33 ofwhat = ZSI.TC.String(None, typed=False) | |
34 atype = (u'http://www.w3.org/2001/XMLSchema', u'string[]') | |
35 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) | |
36 | |
37 class SSDBRelation_Def(ZSI.TCcompound.ComplexType, TypeDefinition): | |
38 schema = "SOAP/KEGG" | |
39 type = (schema, "SSDBRelation") | |
40 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): | |
41 ns = ns0.SSDBRelation_Def.schema | |
42 TClist = [ZSI.TC.String(pname="genes_id1", aname="_genes_id1", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="genes_id2", aname="_genes_id2", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="sw_score", aname="_sw_score", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.FPfloat(pname="bit_score", aname="_bit_score", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.FPfloat(pname="identity", aname="_identity", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="overlap", aname="_overlap", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="start_position1", aname="_start_position1", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="end_position1", aname="_end_position1", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="start_position2", aname="_start_position2", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="end_position2", aname="_end_position2", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.Boolean(pname="best_flag_1to2", aname="_best_flag_1to2", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.Boolean(pname="best_flag_2to1", aname="_best_flag_2to1", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="definition1", aname="_definition1", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="definition2", aname="_definition2", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="length1", aname="_length1", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="length2", aname="_length2", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] | |
43 self.attribute_typecode_dict = attributes or {} | |
44 if extend: TClist += ofwhat | |
45 if restrict: TClist = ofwhat | |
46 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) | |
47 class Holder: | |
48 typecode = self | |
49 def __init__(self): | |
50 # pyclass | |
51 self._genes_id1 = None | |
52 self._genes_id2 = None | |
53 self._sw_score = None | |
54 self._bit_score = None | |
55 self._identity = None | |
56 self._overlap = None | |
57 self._start_position1 = None | |
58 self._end_position1 = None | |
59 self._start_position2 = None | |
60 self._end_position2 = None | |
61 self._best_flag_1to2 = None | |
62 self._best_flag_2to1 = None | |
63 self._definition1 = None | |
64 self._definition2 = None | |
65 self._length1 = None | |
66 self._length2 = None | |
67 return | |
68 Holder.__name__ = "SSDBRelation_Holder" | |
69 self.pyclass = Holder | |
70 | |
71 class ArrayOfSSDBRelation_Def(ZSI.TC.Array, TypeDefinition): | |
72 #complexType/complexContent base="SOAP-ENC:Array" | |
73 schema = "SOAP/KEGG" | |
74 type = (schema, "ArrayOfSSDBRelation") | |
75 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): | |
76 ofwhat = ns0.SSDBRelation_Def(None, typed=False) | |
77 atype = (u'SOAP/KEGG', u'SSDBRelation[]') | |
78 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) | |
79 | |
80 class MotifResult_Def(ZSI.TCcompound.ComplexType, TypeDefinition): | |
81 schema = "SOAP/KEGG" | |
82 type = (schema, "MotifResult") | |
83 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): | |
84 ns = ns0.MotifResult_Def.schema | |
85 TClist = [ZSI.TC.String(pname="motif_id", aname="_motif_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="definition", aname="_definition", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="genes_id", aname="_genes_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="start_position", aname="_start_position", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="end_position", aname="_end_position", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.FPfloat(pname="score", aname="_score", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.FPdouble(pname="evalue", aname="_evalue", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] | |
86 self.attribute_typecode_dict = attributes or {} | |
87 if extend: TClist += ofwhat | |
88 if restrict: TClist = ofwhat | |
89 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) | |
90 class Holder: | |
91 typecode = self | |
92 def __init__(self): | |
93 # pyclass | |
94 self._motif_id = None | |
95 self._definition = None | |
96 self._genes_id = None | |
97 self._start_position = None | |
98 self._end_position = None | |
99 self._score = None | |
100 self._evalue = None | |
101 return | |
102 Holder.__name__ = "MotifResult_Holder" | |
103 self.pyclass = Holder | |
104 | |
105 class ArrayOfMotifResult_Def(ZSI.TC.Array, TypeDefinition): | |
106 #complexType/complexContent base="SOAP-ENC:Array" | |
107 schema = "SOAP/KEGG" | |
108 type = (schema, "ArrayOfMotifResult") | |
109 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): | |
110 ofwhat = ns0.MotifResult_Def(None, typed=False) | |
111 atype = (u'SOAP/KEGG', u'MotifResult[]') | |
112 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) | |
113 | |
114 class Definition_Def(ZSI.TCcompound.ComplexType, TypeDefinition): | |
115 schema = "SOAP/KEGG" | |
116 type = (schema, "Definition") | |
117 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): | |
118 ns = ns0.Definition_Def.schema | |
119 TClist = [ZSI.TC.String(pname="entry_id", aname="_entry_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="definition", aname="_definition", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] | |
120 self.attribute_typecode_dict = attributes or {} | |
121 if extend: TClist += ofwhat | |
122 if restrict: TClist = ofwhat | |
123 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) | |
124 class Holder: | |
125 typecode = self | |
126 def __init__(self): | |
127 # pyclass | |
128 self._entry_id = None | |
129 self._definition = None | |
130 return | |
131 Holder.__name__ = "Definition_Holder" | |
132 self.pyclass = Holder | |
133 | |
134 class ArrayOfDefinition_Def(ZSI.TC.Array, TypeDefinition): | |
135 #complexType/complexContent base="SOAP-ENC:Array" | |
136 schema = "SOAP/KEGG" | |
137 type = (schema, "ArrayOfDefinition") | |
138 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): | |
139 ofwhat = ns0.Definition_Def(None, typed=False) | |
140 atype = (u'SOAP/KEGG', u'Definition[]') | |
141 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) | |
142 | |
143 class LinkDBRelation_Def(ZSI.TCcompound.ComplexType, TypeDefinition): | |
144 schema = "SOAP/KEGG" | |
145 type = (schema, "LinkDBRelation") | |
146 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): | |
147 ns = ns0.LinkDBRelation_Def.schema | |
148 TClist = [ZSI.TC.String(pname="entry_id1", aname="_entry_id1", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="entry_id2", aname="_entry_id2", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="type", aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="path", aname="_path", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] | |
149 self.attribute_typecode_dict = attributes or {} | |
150 if extend: TClist += ofwhat | |
151 if restrict: TClist = ofwhat | |
152 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) | |
153 class Holder: | |
154 typecode = self | |
155 def __init__(self): | |
156 # pyclass | |
157 self._entry_id1 = None | |
158 self._entry_id2 = None | |
159 self._type = None | |
160 self._path = None | |
161 return | |
162 Holder.__name__ = "LinkDBRelation_Holder" | |
163 self.pyclass = Holder | |
164 | |
165 class ArrayOfLinkDBRelation_Def(ZSI.TC.Array, TypeDefinition): | |
166 #complexType/complexContent base="SOAP-ENC:Array" | |
167 schema = "SOAP/KEGG" | |
168 type = (schema, "ArrayOfLinkDBRelation") | |
169 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): | |
170 ofwhat = ns0.LinkDBRelation_Def(None, typed=False) | |
171 atype = (u'SOAP/KEGG', u'LinkDBRelation[]') | |
172 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) | |
173 | |
174 class PathwayElement_Def(ZSI.TCcompound.ComplexType, TypeDefinition): | |
175 schema = "SOAP/KEGG" | |
176 type = (schema, "PathwayElement") | |
177 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): | |
178 ns = ns0.PathwayElement_Def.schema | |
179 TClist = [ZSI.TCnumbers.Iint(pname="element_id", aname="_element_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="type", aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("SOAP/KEGG","ArrayOfstring",lazy=False)(pname="names", aname="_names", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("SOAP/KEGG","ArrayOfint",lazy=False)(pname="components", aname="_components", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] | |
180 self.attribute_typecode_dict = attributes or {} | |
181 if extend: TClist += ofwhat | |
182 if restrict: TClist = ofwhat | |
183 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) | |
184 class Holder: | |
185 typecode = self | |
186 def __init__(self): | |
187 # pyclass | |
188 self._element_id = None | |
189 self._type = None | |
190 self._names = None | |
191 self._components = None | |
192 return | |
193 Holder.__name__ = "PathwayElement_Holder" | |
194 self.pyclass = Holder | |
195 | |
196 class ArrayOfPathwayElement_Def(ZSI.TC.Array, TypeDefinition): | |
197 #complexType/complexContent base="SOAP-ENC:Array" | |
198 schema = "SOAP/KEGG" | |
199 type = (schema, "ArrayOfPathwayElement") | |
200 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): | |
201 ofwhat = ns0.PathwayElement_Def(None, typed=False) | |
202 atype = (u'SOAP/KEGG', u'PathwayElement[]') | |
203 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) | |
204 | |
205 class PathwayElementRelation_Def(ZSI.TCcompound.ComplexType, TypeDefinition): | |
206 schema = "SOAP/KEGG" | |
207 type = (schema, "PathwayElementRelation") | |
208 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): | |
209 ns = ns0.PathwayElementRelation_Def.schema | |
210 TClist = [ZSI.TCnumbers.Iint(pname="element_id1", aname="_element_id1", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="element_id2", aname="_element_id2", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="type", aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("SOAP/KEGG","ArrayOfSubtype",lazy=False)(pname="subtypes", aname="_subtypes", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] | |
211 self.attribute_typecode_dict = attributes or {} | |
212 if extend: TClist += ofwhat | |
213 if restrict: TClist = ofwhat | |
214 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) | |
215 class Holder: | |
216 typecode = self | |
217 def __init__(self): | |
218 # pyclass | |
219 self._element_id1 = None | |
220 self._element_id2 = None | |
221 self._type = None | |
222 self._subtypes = None | |
223 return | |
224 Holder.__name__ = "PathwayElementRelation_Holder" | |
225 self.pyclass = Holder | |
226 | |
227 class ArrayOfPathwayElementRelation_Def(ZSI.TC.Array, TypeDefinition): | |
228 #complexType/complexContent base="SOAP-ENC:Array" | |
229 schema = "SOAP/KEGG" | |
230 type = (schema, "ArrayOfPathwayElementRelation") | |
231 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): | |
232 ofwhat = ns0.PathwayElementRelation_Def(None, typed=False) | |
233 atype = (u'SOAP/KEGG', u'PathwayElementRelation[]') | |
234 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) | |
235 | |
236 class Subtype_Def(ZSI.TCcompound.ComplexType, TypeDefinition): | |
237 schema = "SOAP/KEGG" | |
238 type = (schema, "Subtype") | |
239 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): | |
240 ns = ns0.Subtype_Def.schema | |
241 TClist = [ZSI.TC.String(pname="relation", aname="_relation", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="element_id", aname="_element_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="type", aname="_type", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] | |
242 self.attribute_typecode_dict = attributes or {} | |
243 if extend: TClist += ofwhat | |
244 if restrict: TClist = ofwhat | |
245 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) | |
246 class Holder: | |
247 typecode = self | |
248 def __init__(self): | |
249 # pyclass | |
250 self._relation = None | |
251 self._element_id = None | |
252 self._type = None | |
253 return | |
254 Holder.__name__ = "Subtype_Holder" | |
255 self.pyclass = Holder | |
256 | |
257 class ArrayOfSubtype_Def(ZSI.TC.Array, TypeDefinition): | |
258 #complexType/complexContent base="SOAP-ENC:Array" | |
259 schema = "SOAP/KEGG" | |
260 type = (schema, "ArrayOfSubtype") | |
261 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): | |
262 ofwhat = ns0.Subtype_Def(None, typed=False) | |
263 atype = (u'SOAP/KEGG', u'Subtype[]') | |
264 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) | |
265 | |
266 class StructureAlignment_Def(ZSI.TCcompound.ComplexType, TypeDefinition): | |
267 schema = "SOAP/KEGG" | |
268 type = (schema, "StructureAlignment") | |
269 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): | |
270 ns = ns0.StructureAlignment_Def.schema | |
271 TClist = [ZSI.TC.String(pname="target_id", aname="_target_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.FPfloat(pname="score", aname="_score", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("SOAP/KEGG","ArrayOfint",lazy=False)(pname="query_nodes", aname="_query_nodes", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("SOAP/KEGG","ArrayOfint",lazy=False)(pname="target_nodes", aname="_target_nodes", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))] | |
272 self.attribute_typecode_dict = attributes or {} | |
273 if extend: TClist += ofwhat | |
274 if restrict: TClist = ofwhat | |
275 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) | |
276 class Holder: | |
277 typecode = self | |
278 def __init__(self): | |
279 # pyclass | |
280 self._target_id = None | |
281 self._score = None | |
282 self._query_nodes = None | |
283 self._target_nodes = None | |
284 return | |
285 Holder.__name__ = "StructureAlignment_Holder" | |
286 self.pyclass = Holder | |
287 | |
288 class ArrayOfStructureAlignment_Def(ZSI.TC.Array, TypeDefinition): | |
289 #complexType/complexContent base="SOAP-ENC:Array" | |
290 schema = "SOAP/KEGG" | |
291 type = (schema, "ArrayOfStructureAlignment") | |
292 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): | |
293 ofwhat = ns0.StructureAlignment_Def(None, typed=False) | |
294 atype = (u'SOAP/KEGG', u'StructureAlignment[]') | |
295 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) | |
296 | |
297 # end class ns0 (tns: SOAP/KEGG) |