1 ##################################################
2 # sugarsoap_services_types.py
3 # generated by ZSI.generate.wsdl2python
4 ##################################################
6 from tools.translate import _
10 from ZSI.TC import TypeDefinition
11 from ZSI.TC import _get_type_definition as GTD
12 from ZSI.generate.pyclass import pyclass_type
14 raise osv.except_osv(_('ZSI Import Error!'), _('Please install SOAP for python - ZSI-2.0-rc3.tar.gz from http://pypi.python.org/pypi/ZSI/'))
16 ##############################
18 # http://www.sugarcrm.com/sugarcrm
19 ##############################
22 targetNamespace = "http://www.sugarcrm.com/sugarcrm"
24 class contact_detail_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
25 schema = "http://www.sugarcrm.com/sugarcrm"
26 type = (schema, "contact_detail")
27 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
29 #ns = ns0.contact_detail_Def.schema
30 TClist = [ZSI.TC.String(pname="email_address", aname="_email_address", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="name1", aname="_name1", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="name2", aname="_name2", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="association", aname="_association", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="id", aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="msi_id", aname="_msi_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"))]
31 self.attribute_typecode_dict = attributes or {}
32 if extend: TClist += ofwhat
33 if restrict: TClist = ofwhat
34 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
36 __metaclass__ = pyclass_type
40 self._email_address = None
43 self._association = None
48 Holder.__name__ = "contact_detail_Holder"
51 class contact_detail_array_Def(ZSI.TC.Array, TypeDefinition):
52 #complexType/complexContent base="SOAP-ENC:Array"
53 schema = "http://www.sugarcrm.com/sugarcrm"
54 type = (schema, "contact_detail_array")
55 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
56 ofwhat = ns0.contact_detail_Def(None, typed=False)
57 atype = (u'http://www.sugarcrm.com/sugarcrm', u'contact_detail[]')
58 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
60 class user_detail_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
61 schema = "http://www.sugarcrm.com/sugarcrm"
62 type = (schema, "user_detail")
63 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
64 #ns = ns0.user_detail_Def.schema
65 TClist = [ZSI.TC.String(pname="email_address", aname="_email_address", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="user_name", aname="_user_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="first_name", aname="_first_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="last_name", aname="_last_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="department", aname="_department", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="id", aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="title", aname="_title", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
66 self.attribute_typecode_dict = attributes or {}
67 if extend: TClist += ofwhat
68 if restrict: TClist = ofwhat
69 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
71 __metaclass__ = pyclass_type
75 self._email_address = None
76 self._user_name = None
77 self._first_name = None
78 self._last_name = None
79 self._department = None
83 Holder.__name__ = "user_detail_Holder"
86 class user_detail_array_Def(ZSI.TC.Array, TypeDefinition):
87 #complexType/complexContent base="SOAP-ENC:Array"
88 schema = "http://www.sugarcrm.com/sugarcrm"
89 type = (schema, "user_detail_array")
90 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
91 ofwhat = ns0.user_detail_Def(None, typed=False)
92 atype = (u'http://www.sugarcrm.com/sugarcrm', u'user_detail[]')
93 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
95 class note_attachment_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
96 schema = "http://www.sugarcrm.com/sugarcrm"
97 type = (schema, "note_attachment")
98 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
99 # ns = ns0.note_attachment_Def.schema
100 TClist = [ZSI.TC.String(pname="id", aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="filename", aname="_filename", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="file", aname="_file", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
101 self.attribute_typecode_dict = attributes or {}
102 if extend: TClist += ofwhat
103 if restrict: TClist = ofwhat
104 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
106 __metaclass__ = pyclass_type
111 self._filename = None
114 Holder.__name__ = "note_attachment_Holder"
115 self.pyclass = Holder
117 class return_note_attachment_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
118 schema = "http://www.sugarcrm.com/sugarcrm"
119 type = (schema, "return_note_attachment")
120 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
121 #ns = ns0.return_note_attachment_Def.schema
122 TClist = [GTD("http://www.sugarcrm.com/sugarcrm","note_attachment",lazy=False)(pname="note_attachment", aname="_note_attachment", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","error_value",lazy=False)(pname="error", aname="_error", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
123 self.attribute_typecode_dict = attributes or {}
124 if extend: TClist += ofwhat
125 if restrict: TClist = ofwhat
126 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
128 __metaclass__ = pyclass_type
132 self._note_attachment = None
135 Holder.__name__ = "return_note_attachment_Holder"
136 self.pyclass = Holder
138 class user_auth_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
139 schema = "http://www.sugarcrm.com/sugarcrm"
140 type = (schema, "user_auth")
141 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
142 #ns = ns0.user_auth_Def.schema
143 TClist = [ZSI.TC.String(pname="user_name", aname="_user_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="password", aname="_password", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="version", aname="_version", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
144 self.attribute_typecode_dict = attributes or {}
145 if extend: TClist += ofwhat
146 if restrict: TClist = ofwhat
147 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
149 __metaclass__ = pyclass_type
153 self._user_name = None
154 self._password = None
157 Holder.__name__ = "user_auth_Holder"
158 self.pyclass = Holder
160 class field_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
161 schema = "http://www.sugarcrm.com/sugarcrm"
162 type = (schema, "field")
163 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
164 #ns = ns0.field_Def.schema
165 TClist = [ZSI.TC.String(pname="name", aname="_name", 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="label", aname="_label", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="required", aname="_required", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","name_value_list",lazy=False)(pname="options", aname="_options", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
166 self.attribute_typecode_dict = attributes or {}
167 if extend: TClist += ofwhat
168 if restrict: TClist = ofwhat
169 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
171 __metaclass__ = pyclass_type
178 self._required = None
181 Holder.__name__ = "field_Holder"
182 self.pyclass = Holder
184 class field_list_Def(ZSI.TC.Array, TypeDefinition):
185 #complexType/complexContent base="SOAP-ENC:Array"
186 schema = "http://www.sugarcrm.com/sugarcrm"
187 type = (schema, "field_list")
188 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
189 ofwhat = ns0.field_Def(None, typed=False)
190 atype = (u'http://www.sugarcrm.com/sugarcrm', u'field[]')
191 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
193 class name_value_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
194 schema = "http://www.sugarcrm.com/sugarcrm"
195 type = (schema, "name_value")
196 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
197 #ns = ns0.name_value_Def.schema
198 TClist = [ZSI.TC.String(pname="name", aname="_name", 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"))]
199 self.attribute_typecode_dict = attributes or {}
200 if extend: TClist += ofwhat
201 if restrict: TClist = ofwhat
202 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
204 __metaclass__ = pyclass_type
211 Holder.__name__ = "name_value_Holder"
212 self.pyclass = Holder
214 class name_value_list_Def(ZSI.TC.Array, TypeDefinition):
215 #complexType/complexContent base="SOAP-ENC:Array"
216 schema = "http://www.sugarcrm.com/sugarcrm"
217 type = (schema, "name_value_list")
218 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
219 ofwhat = ns0.name_value_Def(None, typed=False)
220 atype = (u'http://www.sugarcrm.com/sugarcrm', u'name_value[]')
221 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
223 class name_value_lists_Def(ZSI.TC.Array, TypeDefinition):
224 #complexType/complexContent base="SOAP-ENC:Array"
225 schema = "http://www.sugarcrm.com/sugarcrm"
226 type = (schema, "name_value_lists")
227 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
228 ofwhat = ns0.name_value_list_Def(None, typed=False)
229 atype = (u'http://www.sugarcrm.com/sugarcrm', u'name_value_list[]')
230 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
232 class select_fields_Def(ZSI.TC.Array, TypeDefinition):
233 #complexType/complexContent base="SOAP-ENC:Array"
234 schema = "http://www.sugarcrm.com/sugarcrm"
235 type = (schema, "select_fields")
236 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
237 ofwhat = ZSI.TC.String(None, typed=False)
238 atype = (u'http://www.w3.org/2001/XMLSchema', u'string[]')
239 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
241 class module_fields_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
242 schema = "http://www.sugarcrm.com/sugarcrm"
243 type = (schema, "module_fields")
244 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
245 # ns = ns0.module_fields_Def.schema
246 TClist = [ZSI.TC.String(pname="module_name", aname="_module_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","field_list",lazy=False)(pname="module_fields", aname="_module_fields", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","error_value",lazy=False)(pname="error", aname="_error", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
247 self.attribute_typecode_dict = attributes or {}
248 if extend: TClist += ofwhat
249 if restrict: TClist = ofwhat
250 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
252 __metaclass__ = pyclass_type
256 self._module_name = None
257 self._module_fields = None
260 Holder.__name__ = "module_fields_Holder"
261 self.pyclass = Holder
263 class module_list_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
264 schema = "http://www.sugarcrm.com/sugarcrm"
265 type = (schema, "module_list")
266 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
267 #ns = ns0.module_list_Def.schema
268 TClist = [GTD("http://www.sugarcrm.com/sugarcrm","select_fields",lazy=False)(pname="modules", aname="_modules", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","error_value",lazy=False)(pname="error", aname="_error", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
269 self.attribute_typecode_dict = attributes or {}
270 if extend: TClist += ofwhat
271 if restrict: TClist = ofwhat
272 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
274 __metaclass__ = pyclass_type
281 Holder.__name__ = "module_list_Holder"
282 self.pyclass = Holder
284 class error_value_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
285 schema = "http://www.sugarcrm.com/sugarcrm"
286 type = (schema, "error_value")
287 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
288 #ns = ns0.error_value_Def.schema
289 TClist = [ZSI.TC.String(pname="number", aname="_number", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="name", aname="_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="description", aname="_description", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
290 self.attribute_typecode_dict = attributes or {}
291 if extend: TClist += ofwhat
292 if restrict: TClist = ofwhat
293 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
295 __metaclass__ = pyclass_type
301 self._description = None
303 Holder.__name__ = "error_value_Holder"
304 self.pyclass = Holder
306 class entry_value_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
307 schema = "http://www.sugarcrm.com/sugarcrm"
308 type = (schema, "entry_value")
309 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
310 #ns = ns0.entry_value_Def.schema
311 TClist = [ZSI.TC.String(pname="id", aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="module_name", aname="_module_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","name_value_list",lazy=False)(pname="name_value_list", aname="_name_value_list", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
312 self.attribute_typecode_dict = attributes or {}
313 if extend: TClist += ofwhat
314 if restrict: TClist = ofwhat
315 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
317 __metaclass__ = pyclass_type
322 self._module_name = None
323 self._name_value_list = None
325 Holder.__name__ = "entry_value_Holder"
326 self.pyclass = Holder
328 class entry_list_Def(ZSI.TC.Array, TypeDefinition):
329 #complexType/complexContent base="SOAP-ENC:Array"
330 schema = "http://www.sugarcrm.com/sugarcrm"
331 type = (schema, "entry_list")
332 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
333 ofwhat = ns0.entry_value_Def(None, typed=False)
334 atype = (u'http://www.sugarcrm.com/sugarcrm', u'entry_value[]')
335 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
337 class get_entry_list_result_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
338 schema = "http://www.sugarcrm.com/sugarcrm"
339 type = (schema, "get_entry_list_result")
340 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
341 #ns = ns0.get_entry_list_result_Def.schema
342 TClist = [ZSI.TCnumbers.Iint(pname="result_count", aname="_result_count", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="next_offset", aname="_next_offset", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","field_list",lazy=False)(pname="field_list", aname="_field_list", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","entry_list",lazy=False)(pname="entry_list", aname="_entry_list", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","error_value",lazy=False)(pname="error", aname="_error", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
343 self.attribute_typecode_dict = attributes or {}
344 if extend: TClist += ofwhat
345 if restrict: TClist = ofwhat
346 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
348 __metaclass__ = pyclass_type
352 self._result_count = None
353 self._next_offset = None
354 self._field_list = None
355 self._entry_list = None
358 Holder.__name__ = "get_entry_list_result_Holder"
359 self.pyclass = Holder
361 class get_entry_result_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
362 schema = "http://www.sugarcrm.com/sugarcrm"
363 type = (schema, "get_entry_result")
364 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
365 #ns = ns0.get_entry_result_Def.schema
366 TClist = [GTD("http://www.sugarcrm.com/sugarcrm","field_list",lazy=False)(pname="field_list", aname="_field_list", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","entry_list",lazy=False)(pname="entry_list", aname="_entry_list", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","error_value",lazy=False)(pname="error", aname="_error", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
367 self.attribute_typecode_dict = attributes or {}
368 if extend: TClist += ofwhat
369 if restrict: TClist = ofwhat
370 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
372 __metaclass__ = pyclass_type
376 self._field_list = None
377 self._entry_list = None
380 Holder.__name__ = "get_entry_result_Holder"
381 self.pyclass = Holder
383 class set_entry_result_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
384 schema = "http://www.sugarcrm.com/sugarcrm"
385 type = (schema, "set_entry_result")
386 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
387 #ns = ns0.set_entry_result_Def.schema
388 TClist = [ZSI.TC.String(pname="id", aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","error_value",lazy=False)(pname="error", aname="_error", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
389 self.attribute_typecode_dict = attributes or {}
390 if extend: TClist += ofwhat
391 if restrict: TClist = ofwhat
392 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
394 __metaclass__ = pyclass_type
401 Holder.__name__ = "set_entry_result_Holder"
402 self.pyclass = Holder
404 class set_entries_result_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
405 schema = "http://www.sugarcrm.com/sugarcrm"
406 type = (schema, "set_entries_result")
407 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
408 #ns = ns0.set_entries_result_Def.schema
409 TClist = [GTD("http://www.sugarcrm.com/sugarcrm","select_fields",lazy=False)(pname="ids", aname="_ids", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","error_value",lazy=False)(pname="error", aname="_error", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
410 self.attribute_typecode_dict = attributes or {}
411 if extend: TClist += ofwhat
412 if restrict: TClist = ofwhat
413 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
415 __metaclass__ = pyclass_type
422 Holder.__name__ = "set_entries_result_Holder"
423 self.pyclass = Holder
425 class id_mod_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
426 schema = "http://www.sugarcrm.com/sugarcrm"
427 type = (schema, "id_mod")
428 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
429 #ns = ns0.id_mod_Def.schema
430 TClist = [ZSI.TC.String(pname="id", aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="date_modified", aname="_date_modified", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="deleted", aname="_deleted", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
431 self.attribute_typecode_dict = attributes or {}
432 if extend: TClist += ofwhat
433 if restrict: TClist = ofwhat
434 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
436 __metaclass__ = pyclass_type
441 self._date_modified = None
444 Holder.__name__ = "id_mod_Holder"
445 self.pyclass = Holder
447 class ids_mods_Def(ZSI.TC.Array, TypeDefinition):
448 #complexType/complexContent base="SOAP-ENC:Array"
449 schema = "http://www.sugarcrm.com/sugarcrm"
450 type = (schema, "ids_mods")
451 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
452 ofwhat = ns0.id_mod_Def(None, typed=False)
453 atype = (u'http://www.sugarcrm.com/sugarcrm', u'id_mod[]')
454 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
456 class get_relationships_result_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
457 schema = "http://www.sugarcrm.com/sugarcrm"
458 type = (schema, "get_relationships_result")
459 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
460 #ns = ns0.get_relationships_result_Def.schema
461 TClist = [GTD("http://www.sugarcrm.com/sugarcrm","ids_mods",lazy=False)(pname="ids", aname="_ids", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","error_value",lazy=False)(pname="error", aname="_error", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
462 self.attribute_typecode_dict = attributes or {}
463 if extend: TClist += ofwhat
464 if restrict: TClist = ofwhat
465 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
467 __metaclass__ = pyclass_type
474 Holder.__name__ = "get_relationships_result_Holder"
475 self.pyclass = Holder
477 class set_relationship_value_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
478 schema = "http://www.sugarcrm.com/sugarcrm"
479 type = (schema, "set_relationship_value")
480 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
481 #ns = ns0.set_relationship_value_Def.schema
482 TClist = [ZSI.TC.String(pname="module1", aname="_module1", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="module1_id", aname="_module1_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="module2", aname="_module2", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="module2_id", aname="_module2_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
483 self.attribute_typecode_dict = attributes or {}
484 if extend: TClist += ofwhat
485 if restrict: TClist = ofwhat
486 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
488 __metaclass__ = pyclass_type
493 self._module1_id = None
495 self._module2_id = None
497 Holder.__name__ = "set_relationship_value_Holder"
498 self.pyclass = Holder
500 class set_relationship_list_Def(ZSI.TC.Array, TypeDefinition):
501 #complexType/complexContent base="SOAP-ENC:Array"
502 schema = "http://www.sugarcrm.com/sugarcrm"
503 type = (schema, "set_relationship_list")
504 def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
505 ofwhat = ns0.set_relationship_value_Def(None, typed=False)
506 atype = (u'http://www.sugarcrm.com/sugarcrm', u'set_relationship_value[]')
507 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
509 class set_relationship_list_result_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
510 schema = "http://www.sugarcrm.com/sugarcrm"
511 type = (schema, "set_relationship_list_result")
512 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
513 #ns = ns0.set_relationship_list_result_Def.schema
514 TClist = [ZSI.TCnumbers.Iint(pname="created", aname="_created", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="failed", aname="_failed", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","error_value",lazy=False)(pname="error", aname="_error", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
515 self.attribute_typecode_dict = attributes or {}
516 if extend: TClist += ofwhat
517 if restrict: TClist = ofwhat
518 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
520 __metaclass__ = pyclass_type
528 Holder.__name__ = "set_relationship_list_result_Holder"
529 self.pyclass = Holder
531 class document_revision_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
532 schema = "http://www.sugarcrm.com/sugarcrm"
533 type = (schema, "document_revision")
534 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
535 #ns = ns0.document_revision_Def.schema
536 TClist = [ZSI.TC.String(pname="id", aname="_id", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="document_name", aname="_document_name", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="revision", aname="_revision", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="filename", aname="_filename", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="file", aname="_file", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
537 self.attribute_typecode_dict = attributes or {}
538 if extend: TClist += ofwhat
539 if restrict: TClist = ofwhat
540 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
542 __metaclass__ = pyclass_type
547 self._document_name = None
548 self._revision = None
549 self._filename = None
552 Holder.__name__ = "document_revision_Holder"
553 self.pyclass = Holder
555 class get_entry_list_result_encoded_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
556 schema = "http://www.sugarcrm.com/sugarcrm"
557 type = (schema, "get_entry_list_result_encoded")
558 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
559 # ns = ns0.get_entry_list_result_encoded_Def.schema
560 TClist = [ZSI.TCnumbers.Iint(pname="result_count", aname="_result_count", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="next_offset", aname="_next_offset", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="total_count", aname="_total_count", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","select_fields",lazy=False)(pname="field_list", aname="_field_list", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TC.String(pname="entry_list", aname="_entry_list", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","error_value",lazy=False)(pname="error", aname="_error", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
561 self.attribute_typecode_dict = attributes or {}
562 if extend: TClist += ofwhat
563 if restrict: TClist = ofwhat
564 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
566 __metaclass__ = pyclass_type
570 self._result_count = None
571 self._next_offset = None
572 self._total_count = None
573 self._field_list = None
574 self._entry_list = None
577 Holder.__name__ = "get_entry_list_result_encoded_Holder"
578 self.pyclass = Holder
580 class get_sync_result_encoded_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
581 schema = "http://www.sugarcrm.com/sugarcrm"
582 type = (schema, "get_sync_result_encoded")
583 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
584 # ns = ns0.get_sync_result_encoded_Def.schema
585 TClist = [ZSI.TC.String(pname="result", aname="_result", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","error_value",lazy=False)(pname="error", aname="_error", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
586 self.attribute_typecode_dict = attributes or {}
587 if extend: TClist += ofwhat
588 if restrict: TClist = ofwhat
589 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
591 __metaclass__ = pyclass_type
598 Holder.__name__ = "get_sync_result_encoded_Holder"
599 self.pyclass = Holder
601 class get_quick_sync_result_encoded_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
602 schema = "http://www.sugarcrm.com/sugarcrm"
603 type = (schema, "get_quick_sync_result_encoded")
604 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
605 #ns = ns0.get_quick_sync_result_encoded_Def.schema
606 TClist = [ZSI.TC.String(pname="result", aname="_result", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="result_count", aname="_result_count", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="next_offset", aname="_next_offset", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), ZSI.TCnumbers.Iint(pname="total_count", aname="_total_count", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","error_value",lazy=False)(pname="error", aname="_error", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
607 self.attribute_typecode_dict = attributes or {}
608 if extend: TClist += ofwhat
609 if restrict: TClist = ofwhat
610 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
612 __metaclass__ = pyclass_type
617 self._result_count = None
618 self._next_offset = None
619 self._total_count = None
622 Holder.__name__ = "get_quick_sync_result_encoded_Holder"
623 self.pyclass = Holder
625 class return_document_revision_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
626 schema = "http://www.sugarcrm.com/sugarcrm"
627 type = (schema, "return_document_revision")
628 def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
629 #ns = ns0.return_document_revision_Def.schema
630 TClist = [GTD("http://www.sugarcrm.com/sugarcrm","document_revision",lazy=False)(pname="document_revision", aname="_document_revision", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","error_value",lazy=False)(pname="error", aname="_error", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
631 self.attribute_typecode_dict = attributes or {}
632 if extend: TClist += ofwhat
633 if restrict: TClist = ofwhat
634 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
636 __metaclass__ = pyclass_type
640 self._document_revision = None
643 Holder.__name__ = "return_document_revision_Holder"
644 self.pyclass = Holder
646 # end class ns0 (tns: http://www.sugarcrm.com/sugarcrm)
648 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: