class UUIDWithAttribute(ComplexModel): __type_name__ = 'ID' _type_info = [ ('idType', XmlAttribute(Unicode)), ('idAuthority', XmlAttribute(Unicode)), ('kind', XmlAttribute(IDKindType)), ('objectType', XmlAttribute(Unicode)), ('value', XmlData(Uuid)), ] # def __init__(self): # super().__init__() def __init__(self, kind=None, objectType=None, value=None, idType=None, idAuthority=None, **kwargs): super().__init__(kind=kind, objectType=objectType, value=value, idType=idType, idAuthority=idAuthority, **kwargs) self.kind = kind self.objectType = objectType self.value = value self.idType = idType self.idAuthority = idAuthority
class TypeVal(ComplexModel): type = XmlAttribute(Unicode) value = XmlData(Unicode)
class Category(ComplexModel): id = XmlData(Integer(min_occurs=1, max_occurs=1, nillable=False)) children = Array(Unicode)
class SomeObject(ComplexModel): d = XmlData(Unicode)
class Param(ComplexModel): value = XmlData(Unicode) key = XmlAttribute(Unicode, use="required") valueType = XmlAttribute(Unicode, use="required")
class feature(ComplexModel): __namespace__ = SOAP_DATAROBOT name = XmlAttribute(Unicode) value = XmlData(Unicode)