Mercurial > repos > uga-galaxy-group > webservice_toolsuite_v1_1
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WebServiceExtensionsV1.1/WebServiceToolWorkflow_REST_SOAP/clientGenerator/KEGG/KEGG_v6_2_services_types.py Tue Jul 05 19:34:18 2011 -0400 @@ -0,0 +1,297 @@ +################################################## +# KEGG_v6_2_services_types.py +# generated by ZSI.generate.wsdl2python +################################################## + + +import ZSI +import ZSI.TCcompound +from ZSI.schema import LocalElementDeclaration, ElementDeclaration, TypeDefinition, GTD, GED + +############################## +# targetNamespace +# SOAP/KEGG +############################## + +class ns0: + targetNamespace = "SOAP/KEGG" + + class ArrayOfint_Def(ZSI.TC.Array, TypeDefinition): + #complexType/complexContent base="SOAP-ENC:Array" + schema = "SOAP/KEGG" + type = (schema, "ArrayOfint") + def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): + ofwhat = ZSI.TCnumbers.Iint(None, typed=False) + atype = (u'http://www.w3.org/2001/XMLSchema', u'int[]') + ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) + + class ArrayOfstring_Def(ZSI.TC.Array, TypeDefinition): + #complexType/complexContent base="SOAP-ENC:Array" + schema = "SOAP/KEGG" + type = (schema, "ArrayOfstring") + def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): + ofwhat = ZSI.TC.String(None, typed=False) + atype = (u'http://www.w3.org/2001/XMLSchema', u'string[]') + ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) + + class SSDBRelation_Def(ZSI.TCcompound.ComplexType, TypeDefinition): + schema = "SOAP/KEGG" + type = (schema, "SSDBRelation") + def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): + ns = ns0.SSDBRelation_Def.schema + 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"))] + self.attribute_typecode_dict = attributes or {} + if extend: TClist += ofwhat + if restrict: TClist = ofwhat + ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) + class Holder: + typecode = self + def __init__(self): + # pyclass + self._genes_id1 = None + self._genes_id2 = None + self._sw_score = None + self._bit_score = None + self._identity = None + self._overlap = None + self._start_position1 = None + self._end_position1 = None + self._start_position2 = None + self._end_position2 = None + self._best_flag_1to2 = None + self._best_flag_2to1 = None + self._definition1 = None + self._definition2 = None + self._length1 = None + self._length2 = None + return + Holder.__name__ = "SSDBRelation_Holder" + self.pyclass = Holder + + class ArrayOfSSDBRelation_Def(ZSI.TC.Array, TypeDefinition): + #complexType/complexContent base="SOAP-ENC:Array" + schema = "SOAP/KEGG" + type = (schema, "ArrayOfSSDBRelation") + def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): + ofwhat = ns0.SSDBRelation_Def(None, typed=False) + atype = (u'SOAP/KEGG', u'SSDBRelation[]') + ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) + + class MotifResult_Def(ZSI.TCcompound.ComplexType, TypeDefinition): + schema = "SOAP/KEGG" + type = (schema, "MotifResult") + def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): + ns = ns0.MotifResult_Def.schema + 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"))] + self.attribute_typecode_dict = attributes or {} + if extend: TClist += ofwhat + if restrict: TClist = ofwhat + ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) + class Holder: + typecode = self + def __init__(self): + # pyclass + self._motif_id = None + self._definition = None + self._genes_id = None + self._start_position = None + self._end_position = None + self._score = None + self._evalue = None + return + Holder.__name__ = "MotifResult_Holder" + self.pyclass = Holder + + class ArrayOfMotifResult_Def(ZSI.TC.Array, TypeDefinition): + #complexType/complexContent base="SOAP-ENC:Array" + schema = "SOAP/KEGG" + type = (schema, "ArrayOfMotifResult") + def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): + ofwhat = ns0.MotifResult_Def(None, typed=False) + atype = (u'SOAP/KEGG', u'MotifResult[]') + ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) + + class Definition_Def(ZSI.TCcompound.ComplexType, TypeDefinition): + schema = "SOAP/KEGG" + type = (schema, "Definition") + def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): + ns = ns0.Definition_Def.schema + 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"))] + self.attribute_typecode_dict = attributes or {} + if extend: TClist += ofwhat + if restrict: TClist = ofwhat + ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) + class Holder: + typecode = self + def __init__(self): + # pyclass + self._entry_id = None + self._definition = None + return + Holder.__name__ = "Definition_Holder" + self.pyclass = Holder + + class ArrayOfDefinition_Def(ZSI.TC.Array, TypeDefinition): + #complexType/complexContent base="SOAP-ENC:Array" + schema = "SOAP/KEGG" + type = (schema, "ArrayOfDefinition") + def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): + ofwhat = ns0.Definition_Def(None, typed=False) + atype = (u'SOAP/KEGG', u'Definition[]') + ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) + + class LinkDBRelation_Def(ZSI.TCcompound.ComplexType, TypeDefinition): + schema = "SOAP/KEGG" + type = (schema, "LinkDBRelation") + def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): + ns = ns0.LinkDBRelation_Def.schema + 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"))] + self.attribute_typecode_dict = attributes or {} + if extend: TClist += ofwhat + if restrict: TClist = ofwhat + ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) + class Holder: + typecode = self + def __init__(self): + # pyclass + self._entry_id1 = None + self._entry_id2 = None + self._type = None + self._path = None + return + Holder.__name__ = "LinkDBRelation_Holder" + self.pyclass = Holder + + class ArrayOfLinkDBRelation_Def(ZSI.TC.Array, TypeDefinition): + #complexType/complexContent base="SOAP-ENC:Array" + schema = "SOAP/KEGG" + type = (schema, "ArrayOfLinkDBRelation") + def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): + ofwhat = ns0.LinkDBRelation_Def(None, typed=False) + atype = (u'SOAP/KEGG', u'LinkDBRelation[]') + ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) + + class PathwayElement_Def(ZSI.TCcompound.ComplexType, TypeDefinition): + schema = "SOAP/KEGG" + type = (schema, "PathwayElement") + def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): + ns = ns0.PathwayElement_Def.schema + 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"))] + self.attribute_typecode_dict = attributes or {} + if extend: TClist += ofwhat + if restrict: TClist = ofwhat + ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) + class Holder: + typecode = self + def __init__(self): + # pyclass + self._element_id = None + self._type = None + self._names = None + self._components = None + return + Holder.__name__ = "PathwayElement_Holder" + self.pyclass = Holder + + class ArrayOfPathwayElement_Def(ZSI.TC.Array, TypeDefinition): + #complexType/complexContent base="SOAP-ENC:Array" + schema = "SOAP/KEGG" + type = (schema, "ArrayOfPathwayElement") + def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): + ofwhat = ns0.PathwayElement_Def(None, typed=False) + atype = (u'SOAP/KEGG', u'PathwayElement[]') + ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) + + class PathwayElementRelation_Def(ZSI.TCcompound.ComplexType, TypeDefinition): + schema = "SOAP/KEGG" + type = (schema, "PathwayElementRelation") + def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): + ns = ns0.PathwayElementRelation_Def.schema + 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"))] + self.attribute_typecode_dict = attributes or {} + if extend: TClist += ofwhat + if restrict: TClist = ofwhat + ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) + class Holder: + typecode = self + def __init__(self): + # pyclass + self._element_id1 = None + self._element_id2 = None + self._type = None + self._subtypes = None + return + Holder.__name__ = "PathwayElementRelation_Holder" + self.pyclass = Holder + + class ArrayOfPathwayElementRelation_Def(ZSI.TC.Array, TypeDefinition): + #complexType/complexContent base="SOAP-ENC:Array" + schema = "SOAP/KEGG" + type = (schema, "ArrayOfPathwayElementRelation") + def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): + ofwhat = ns0.PathwayElementRelation_Def(None, typed=False) + atype = (u'SOAP/KEGG', u'PathwayElementRelation[]') + ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) + + class Subtype_Def(ZSI.TCcompound.ComplexType, TypeDefinition): + schema = "SOAP/KEGG" + type = (schema, "Subtype") + def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): + ns = ns0.Subtype_Def.schema + 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"))] + self.attribute_typecode_dict = attributes or {} + if extend: TClist += ofwhat + if restrict: TClist = ofwhat + ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) + class Holder: + typecode = self + def __init__(self): + # pyclass + self._relation = None + self._element_id = None + self._type = None + return + Holder.__name__ = "Subtype_Holder" + self.pyclass = Holder + + class ArrayOfSubtype_Def(ZSI.TC.Array, TypeDefinition): + #complexType/complexContent base="SOAP-ENC:Array" + schema = "SOAP/KEGG" + type = (schema, "ArrayOfSubtype") + def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): + ofwhat = ns0.Subtype_Def(None, typed=False) + atype = (u'SOAP/KEGG', u'Subtype[]') + ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) + + class StructureAlignment_Def(ZSI.TCcompound.ComplexType, TypeDefinition): + schema = "SOAP/KEGG" + type = (schema, "StructureAlignment") + def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw): + ns = ns0.StructureAlignment_Def.schema + 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"))] + self.attribute_typecode_dict = attributes or {} + if extend: TClist += ofwhat + if restrict: TClist = ofwhat + ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw) + class Holder: + typecode = self + def __init__(self): + # pyclass + self._target_id = None + self._score = None + self._query_nodes = None + self._target_nodes = None + return + Holder.__name__ = "StructureAlignment_Holder" + self.pyclass = Holder + + class ArrayOfStructureAlignment_Def(ZSI.TC.Array, TypeDefinition): + #complexType/complexContent base="SOAP-ENC:Array" + schema = "SOAP/KEGG" + type = (schema, "ArrayOfStructureAlignment") + def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw): + ofwhat = ns0.StructureAlignment_Def(None, typed=False) + atype = (u'SOAP/KEGG', u'StructureAlignment[]') + ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw) + +# end class ns0 (tns: SOAP/KEGG)