1
2
3
4
5
6 import md5
7 import sys
8 import ZSI
9 import ZSI.TCcompound
10 from ZSI.schema import LocalElementDeclaration, ElementDeclaration, TypeDefinition, GTD, GED
11
12
13
14
15
16
17
19 targetNamespace = "http://www.sugarcrm.com/sugarcrm"
20
43 Holder.__name__ = "contact_detail_Holder"
44 self.pyclass = Holder
45
54
56 schema = "http://www.sugarcrm.com/sugarcrm"
57 type = (schema, "user_detail")
58 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
59 ns = ns0.user_detail_Def.schema
60 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"))]
61 self.attribute_typecode_dict = attributes or {}
62 if extend: TClist += ofwhat
63 if restrict: TClist = ofwhat
64 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
65 class Holder:
66 typecode = self
67 def __init__(self):
68
69 self._email_address = None
70 self._user_name = None
71 self._first_name = None
72 self._last_name = None
73 self._department = None
74 self._id = None
75 self._title = None
76 return
77 Holder.__name__ = "user_detail_Holder"
78 self.pyclass = Holder
79
81
82 schema = "http://www.sugarcrm.com/sugarcrm"
83 type = (schema, "user_detail_array")
84 - def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
85 ofwhat = ns0.user_detail_Def(None, typed=False)
86 atype = (u'http://www.sugarcrm.com/sugarcrm', u'user_detail[]')
87 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
88
90 schema = "http://www.sugarcrm.com/sugarcrm"
91 type = (schema, "note_attachment")
92 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
93 ns = ns0.note_attachment_Def.schema
94 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"))]
95 self.attribute_typecode_dict = attributes or {}
96 if extend: TClist += ofwhat
97 if restrict: TClist = ofwhat
98 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
99 class Holder:
100 typecode = self
101 def __init__(self):
102
103 self._id = None
104 self._filename = None
105 self._file = None
106 return
107 Holder.__name__ = "note_attachment_Holder"
108 self.pyclass = Holder
109
111 schema = "http://www.sugarcrm.com/sugarcrm"
112 type = (schema, "return_note_attachment")
113 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
114 ns = ns0.return_note_attachment_Def.schema
115 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"))]
116 self.attribute_typecode_dict = attributes or {}
117 if extend: TClist += ofwhat
118 if restrict: TClist = ofwhat
119 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
120 class Holder:
121 typecode = self
122 def __init__(self):
123
124 self._note_attachment = None
125 self._error = None
126 return
127 Holder.__name__ = "return_note_attachment_Holder"
128 self.pyclass = Holder
129
130 - class user_auth_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
131 schema = "http://www.sugarcrm.com/sugarcrm"
132 type = (schema, "user_auth")
133 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
134 ns = ns0.user_auth_Def.schema
135 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"))]
136 self.attribute_typecode_dict = attributes or {}
137 if extend: TClist += ofwhat
138 if restrict: TClist = ofwhat
139 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
140 class Holder:
141 typecode = self
142 def __init__(self):
143
144 self._user_name = None
145 self._password = None
146 self._version = None
147 return
148 Holder.__name__ = "user_auth_Holder"
149 self.pyclass = Holder
150
151 - class field_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
152 schema = "http://www.sugarcrm.com/sugarcrm"
153 type = (schema, "field")
154 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
155 ns = ns0.field_Def.schema
156 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"))]
157 self.attribute_typecode_dict = attributes or {}
158 if extend: TClist += ofwhat
159 if restrict: TClist = ofwhat
160 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
161 class Holder:
162 typecode = self
163 def __init__(self):
164
165 self._name = None
166 self._type = None
167 self._label = None
168 self._required = None
169 self._options = None
170 return
171 Holder.__name__ = "field_Holder"
172 self.pyclass = Holder
173
175
176 schema = "http://www.sugarcrm.com/sugarcrm"
177 type = (schema, "field_list")
178 - def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
179 ofwhat = ns0.field_Def(None, typed=False)
180 atype = (u'http://www.sugarcrm.com/sugarcrm', u'field[]')
181 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
182
184 schema = "http://www.sugarcrm.com/sugarcrm"
185 type = (schema, "name_value")
186 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
187 ns = ns0.name_value_Def.schema
188 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"))]
189 self.attribute_typecode_dict = attributes or {}
190 if extend: TClist += ofwhat
191 if restrict: TClist = ofwhat
192 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
193 class Holder:
194 typecode = self
195 def __init__(self):
196
197 self._name = None
198 self._value = None
199 return
200 Holder.__name__ = "name_value_Holder"
201 self.pyclass = Holder
202
204
205 schema = "http://www.sugarcrm.com/sugarcrm"
206 type = (schema, "name_value_list")
207 - def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
208 ofwhat = ns0.name_value_Def(None, typed=False)
209 atype = (u'http://www.sugarcrm.com/sugarcrm', u'name_value[]')
210 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
211
213
214 schema = "http://www.sugarcrm.com/sugarcrm"
215 type = (schema, "name_value_lists")
216 - def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
217 ofwhat = ns0.name_value_list_Def(None, typed=False)
218 atype = (u'http://www.sugarcrm.com/sugarcrm', u'name_value_list[]')
219 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
220
222
223 schema = "http://www.sugarcrm.com/sugarcrm"
224 type = (schema, "select_fields")
225 - def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
226 ofwhat = ZSI.TC.String(None, typed=False)
227 atype = (u'http://www.w3.org/2001/XMLSchema', u'string[]')
228 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
229
231 schema = "http://www.sugarcrm.com/sugarcrm"
232 type = (schema, "module_fields")
233 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
234 ns = ns0.module_fields_Def.schema
235 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"))]
236 self.attribute_typecode_dict = attributes or {}
237 if extend: TClist += ofwhat
238 if restrict: TClist = ofwhat
239 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
240 class Holder:
241 typecode = self
242 def __init__(self):
243
244 self._module_name = None
245 self._module_fields = None
246 self._error = None
247 return
248 Holder.__name__ = "module_fields_Holder"
249 self.pyclass = Holder
250
252 schema = "http://www.sugarcrm.com/sugarcrm"
253 type = (schema, "module_list")
254 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
255 ns = ns0.module_list_Def.schema
256 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"))]
257 self.attribute_typecode_dict = attributes or {}
258 if extend: TClist += ofwhat
259 if restrict: TClist = ofwhat
260 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
261 class Holder:
262 typecode = self
263 def __init__(self):
264
265 self._modules = None
266 self._error = None
267 return
268 Holder.__name__ = "module_list_Holder"
269 self.pyclass = Holder
270
272 schema = "http://www.sugarcrm.com/sugarcrm"
273 type = (schema, "error_value")
274 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
275 ns = ns0.error_value_Def.schema
276 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"))]
277 self.attribute_typecode_dict = attributes or {}
278 if extend: TClist += ofwhat
279 if restrict: TClist = ofwhat
280 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
281 class Holder:
282 typecode = self
283 def __init__(self):
284
285 self._number = None
286 self._name = None
287 self._description = None
288 return
289 Holder.__name__ = "error_value_Holder"
290 self.pyclass = Holder
291
292 - class entry_value_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
293 schema = "http://www.sugarcrm.com/sugarcrm"
294 type = (schema, "entry_value")
295 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
296 ns = ns0.entry_value_Def.schema
297 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"))]
298 self.attribute_typecode_dict = attributes or {}
299 if extend: TClist += ofwhat
300 if restrict: TClist = ofwhat
301 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
302 class Holder:
303 typecode = self
304 def __init__(self):
305
306 self._id = None
307 self._module_name = None
308 self._name_value_list = None
309 return
310 Holder.__name__ = "entry_value_Holder"
311 self.pyclass = Holder
312
313 - class entry_list_Def(ZSI.TC.Array, TypeDefinition):
314
315 schema = "http://www.sugarcrm.com/sugarcrm"
316 type = (schema, "entry_list")
317 - def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
318 ofwhat = ns0.entry_value_Def(None, typed=False)
319 atype = (u'http://www.sugarcrm.com/sugarcrm', u'entry_value[]')
320 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
321
322 - class get_entry_list_result_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
323 schema = "http://www.sugarcrm.com/sugarcrm"
324 type = (schema, "get_entry_list_result")
325 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
326 ns = ns0.get_entry_list_result_Def.schema
327 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"))]
328 self.attribute_typecode_dict = attributes or {}
329 if extend: TClist += ofwhat
330 if restrict: TClist = ofwhat
331 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
332 class Holder:
333 typecode = self
334 def __init__(self):
335
336 self._result_count = None
337 self._next_offset = None
338 self._field_list = None
339 self._entry_list = None
340 self._error = None
341 return
342 Holder.__name__ = "get_entry_list_result_Holder"
343 self.pyclass = Holder
344
345 - class get_entry_result_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
346 schema = "http://www.sugarcrm.com/sugarcrm"
347 type = (schema, "get_entry_result")
348 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
349 ns = ns0.get_entry_result_Def.schema
350 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"))]
351 self.attribute_typecode_dict = attributes or {}
352 if extend: TClist += ofwhat
353 if restrict: TClist = ofwhat
354 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
355 class Holder:
356 typecode = self
357 def __init__(self):
358
359 self._field_list = None
360 self._entry_list = None
361 self._error = None
362 return
363 Holder.__name__ = "get_entry_result_Holder"
364 self.pyclass = Holder
365
366 - class set_entry_result_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
367 schema = "http://www.sugarcrm.com/sugarcrm"
368 type = (schema, "set_entry_result")
369 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
370 ns = ns0.set_entry_result_Def.schema
371 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"))]
372 self.attribute_typecode_dict = attributes or {}
373 if extend: TClist += ofwhat
374 if restrict: TClist = ofwhat
375 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
376 class Holder:
377 typecode = self
378 def __init__(self):
379
380 self._id = None
381 self._error = None
382 return
383 Holder.__name__ = "set_entry_result_Holder"
384 self.pyclass = Holder
385
387 schema = "http://www.sugarcrm.com/sugarcrm"
388 type = (schema, "set_entries_result")
389 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
390 ns = ns0.set_entries_result_Def.schema
391 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"))]
392 self.attribute_typecode_dict = attributes or {}
393 if extend: TClist += ofwhat
394 if restrict: TClist = ofwhat
395 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
396 class Holder:
397 typecode = self
398 def __init__(self):
399
400 self._ids = None
401 self._error = None
402 return
403 Holder.__name__ = "set_entries_result_Holder"
404 self.pyclass = Holder
405
406 - class id_mod_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
407 schema = "http://www.sugarcrm.com/sugarcrm"
408 type = (schema, "id_mod")
409 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
410 ns = ns0.id_mod_Def.schema
411 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"))]
412 self.attribute_typecode_dict = attributes or {}
413 if extend: TClist += ofwhat
414 if restrict: TClist = ofwhat
415 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
416 class Holder:
417 typecode = self
418 def __init__(self):
419
420 self._id = None
421 self._date_modified = None
422 self._deleted = None
423 return
424 Holder.__name__ = "id_mod_Holder"
425 self.pyclass = Holder
426
428
429 schema = "http://www.sugarcrm.com/sugarcrm"
430 type = (schema, "ids_mods")
431 - def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
432 ofwhat = ns0.id_mod_Def(None, typed=False)
433 atype = (u'http://www.sugarcrm.com/sugarcrm', u'id_mod[]')
434 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
435
437 schema = "http://www.sugarcrm.com/sugarcrm"
438 type = (schema, "get_relationships_result")
439 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
440 ns = ns0.get_relationships_result_Def.schema
441 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"))]
442 self.attribute_typecode_dict = attributes or {}
443 if extend: TClist += ofwhat
444 if restrict: TClist = ofwhat
445 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
446 class Holder:
447 typecode = self
448 def __init__(self):
449
450 self._ids = None
451 self._error = None
452 return
453 Holder.__name__ = "get_relationships_result_Holder"
454 self.pyclass = Holder
455
457 schema = "http://www.sugarcrm.com/sugarcrm"
458 type = (schema, "set_relationship_value")
459 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
460 ns = ns0.set_relationship_value_Def.schema
461 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"))]
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)
466 class Holder:
467 typecode = self
468 def __init__(self):
469
470 self._module1 = None
471 self._module1_id = None
472 self._module2 = None
473 self._module2_id = None
474 return
475 Holder.__name__ = "set_relationship_value_Holder"
476 self.pyclass = Holder
477
479
480 schema = "http://www.sugarcrm.com/sugarcrm"
481 type = (schema, "set_relationship_list")
482 - def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
483 ofwhat = ns0.set_relationship_value_Def(None, typed=False)
484 atype = (u'http://www.sugarcrm.com/sugarcrm', u'set_relationship_value[]')
485 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
486
488 schema = "http://www.sugarcrm.com/sugarcrm"
489 type = (schema, "set_relationship_list_result")
490 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
491 ns = ns0.set_relationship_list_result_Def.schema
492 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"))]
493 self.attribute_typecode_dict = attributes or {}
494 if extend: TClist += ofwhat
495 if restrict: TClist = ofwhat
496 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
497 class Holder:
498 typecode = self
499 def __init__(self):
500
501 self._created = None
502 self._failed = None
503 self._error = None
504 return
505 Holder.__name__ = "set_relationship_list_result_Holder"
506 self.pyclass = Holder
507
509 schema = "http://www.sugarcrm.com/sugarcrm"
510 type = (schema, "document_revision")
511 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
512 ns = ns0.document_revision_Def.schema
513 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"))]
514 self.attribute_typecode_dict = attributes or {}
515 if extend: TClist += ofwhat
516 if restrict: TClist = ofwhat
517 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
518 class Holder:
519 typecode = self
520 def __init__(self):
521
522 self._id = None
523 self._document_name = None
524 self._revision = None
525 self._filename = None
526 self._file = None
527 return
528 Holder.__name__ = "document_revision_Holder"
529 self.pyclass = Holder
530
531 - class get_entry_list_result_encoded_Def(ZSI.TCcompound.ComplexType, TypeDefinition):
532 schema = "http://www.sugarcrm.com/sugarcrm"
533 type = (schema, "get_entry_list_result_encoded")
534 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
535 ns = ns0.get_entry_list_result_encoded_Def.schema
536 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"))]
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)
541 class Holder:
542 typecode = self
543 def __init__(self):
544
545 self._result_count = None
546 self._next_offset = None
547 self._total_count = None
548 self._field_list = None
549 self._entry_list = None
550 self._error = None
551 return
552 Holder.__name__ = "get_entry_list_result_encoded_Holder"
553 self.pyclass = Holder
554
556 schema = "http://www.sugarcrm.com/sugarcrm"
557 type = (schema, "get_sync_result_encoded")
558 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
559 ns = ns0.get_sync_result_encoded_Def.schema
560 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"))]
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)
565 class Holder:
566 typecode = self
567 def __init__(self):
568
569 self._result = None
570 self._error = None
571 return
572 Holder.__name__ = "get_sync_result_encoded_Holder"
573 self.pyclass = Holder
574
576 schema = "http://www.sugarcrm.com/sugarcrm"
577 type = (schema, "get_quick_sync_result_encoded")
578 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
579 ns = ns0.get_quick_sync_result_encoded_Def.schema
580 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"))]
581 self.attribute_typecode_dict = attributes or {}
582 if extend: TClist += ofwhat
583 if restrict: TClist = ofwhat
584 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
585 class Holder:
586 typecode = self
587 def __init__(self):
588
589 self._result = None
590 self._result_count = None
591 self._next_offset = None
592 self._total_count = None
593 self._error = None
594 return
595 Holder.__name__ = "get_quick_sync_result_encoded_Holder"
596 self.pyclass = Holder
597
599 schema = "http://www.sugarcrm.com/sugarcrm"
600 type = (schema, "return_document_revision")
601 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
602 ns = ns0.return_document_revision_Def.schema
603 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"))]
604 self.attribute_typecode_dict = attributes or {}
605 if extend: TClist += ofwhat
606 if restrict: TClist = ofwhat
607 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
608 class Holder:
609 typecode = self
610 def __init__(self):
611
612 self._document_revision = None
613 self._error = None
614 return
615 Holder.__name__ = "return_document_revision_Holder"
616 self.pyclass = Holder
617
619 schema = "http://www.sugarcrm.com/sugarcrm"
620 type = (schema, "name_value_operator")
621 - def __init__(self, pname, ofwhat=(), attributes=None, extend=False, restrict=False, **kw):
622 ns = ns0.name_value_operator_Def.schema
623 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")), ZSI.TC.String(pname="operator", aname="_operator", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded")), GTD("http://www.sugarcrm.com/sugarcrm","select_fields",lazy=False)(pname="value_array", aname="_value_array", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
624 self.attribute_typecode_dict = attributes or {}
625 if extend: TClist += ofwhat
626 if restrict: TClist = ofwhat
627 ZSI.TCcompound.ComplexType.__init__(self, None, TClist, pname=pname, inorder=0, **kw)
628 class Holder:
629 typecode = self
630 def __init__(self):
631
632 self._name = None
633 self._value = None
634 self._operator = None
635 self._value_array = None
636 return
637 Holder.__name__ = "name_value_operator_Holder"
638 self.pyclass = Holder
639
641
642 schema = "http://www.sugarcrm.com/sugarcrm"
643 type = (schema, "name_value_operator_list")
644 - def __init__(self, pname, ofwhat=(), extend=False, restrict=False, attributes=None, **kw):
645 ofwhat = ns0.name_value_operator_Def(None, typed=False)
646 atype = (u'http://www.sugarcrm.com/sugarcrm', u'name_value_operator[]')
647 ZSI.TCcompound.Array.__init__(self, atype, ofwhat, pname=pname, childnames='item', **kw)
648
649
650