[IMP] mail.thread: correctly manages the 'sent only to me' email feeds preference
[odoo/odoo.git] / addons / import_sugarcrm / sugarsoap_services_types.py
1 ##################################################
2 # sugarsoap_services_types.py
3 # generated by ZSI.generate.wsdl2python
4 ##################################################
5 from osv import osv
6 from tools.translate import _
7 try:
8     import ZSI
9     import ZSI.TCcompound
10     from ZSI.TC import TypeDefinition
11     from ZSI.TC import _get_type_definition as GTD
12     from ZSI.generate.pyclass import pyclass_type
13 except ImportError:
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/'))
15
16 ##############################
17 # targetNamespace
18 # http://www.sugarcrm.com/sugarcrm
19 ##############################
20
21 class ns0:
22     targetNamespace = "http://www.sugarcrm.com/sugarcrm"
23
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):
28             #Unused variable ns.
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)
35             class Holder:
36                 __metaclass__ = pyclass_type
37                 typecode = self
38                 def __init__(self):
39                     # pyclass
40                     self._email_address = None
41                     self._name1 = None
42                     self._name2 = None
43                     self._association = None
44                     self._id = None
45                     self._msi_id = None
46                     self._type = None
47                     return
48             Holder.__name__ = "contact_detail_Holder"
49             self.pyclass = Holder
50
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)
59
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)
70             class Holder:
71                 __metaclass__ = pyclass_type
72                 typecode = self
73                 def __init__(self):
74                     # pyclass
75                     self._email_address = None
76                     self._user_name = None
77                     self._first_name = None
78                     self._last_name = None
79                     self._department = None
80                     self._id = None
81                     self._title = None
82                     return
83             Holder.__name__ = "user_detail_Holder"
84             self.pyclass = Holder
85
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)
94
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)
105             class Holder:
106                 __metaclass__ = pyclass_type
107                 typecode = self
108                 def __init__(self):
109                     # pyclass
110                     self._id = None
111                     self._filename = None
112                     self._file = None
113                     return
114             Holder.__name__ = "note_attachment_Holder"
115             self.pyclass = Holder
116
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)
127             class Holder:
128                 __metaclass__ = pyclass_type
129                 typecode = self
130                 def __init__(self):
131                     # pyclass
132                     self._note_attachment = None
133                     self._error = None
134                     return
135             Holder.__name__ = "return_note_attachment_Holder"
136             self.pyclass = Holder
137
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)
148             class Holder:
149                 __metaclass__ = pyclass_type
150                 typecode = self
151                 def __init__(self):
152                     # pyclass
153                     self._user_name = None
154                     self._password = None
155                     self._version = None
156                     return
157             Holder.__name__ = "user_auth_Holder"
158             self.pyclass = Holder
159
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)
170             class Holder:
171                 __metaclass__ = pyclass_type
172                 typecode = self
173                 def __init__(self):
174                     # pyclass
175                     self._name = None
176                     self._type = None
177                     self._label = None
178                     self._required = None
179                     self._options = None
180                     return
181             Holder.__name__ = "field_Holder"
182             self.pyclass = Holder
183
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)
192
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)
203             class Holder:
204                 __metaclass__ = pyclass_type
205                 typecode = self
206                 def __init__(self):
207                     # pyclass
208                     self._name = None
209                     self._value = None
210                     return
211             Holder.__name__ = "name_value_Holder"
212             self.pyclass = Holder
213
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)
222
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)
231
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)
240
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)
251             class Holder:
252                 __metaclass__ = pyclass_type
253                 typecode = self
254                 def __init__(self):
255                     # pyclass
256                     self._module_name = None
257                     self._module_fields = None
258                     self._error = None
259                     return
260             Holder.__name__ = "module_fields_Holder"
261             self.pyclass = Holder
262
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)
273             class Holder:
274                 __metaclass__ = pyclass_type
275                 typecode = self
276                 def __init__(self):
277                     # pyclass
278                     self._modules = None
279                     self._error = None
280                     return
281             Holder.__name__ = "module_list_Holder"
282             self.pyclass = Holder
283
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)
294             class Holder:
295                 __metaclass__ = pyclass_type
296                 typecode = self
297                 def __init__(self):
298                     # pyclass
299                     self._number = None
300                     self._name = None
301                     self._description = None
302                     return
303             Holder.__name__ = "error_value_Holder"
304             self.pyclass = Holder
305
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)
316             class Holder:
317                 __metaclass__ = pyclass_type
318                 typecode = self
319                 def __init__(self):
320                     # pyclass
321                     self._id = None
322                     self._module_name = None
323                     self._name_value_list = None
324                     return
325             Holder.__name__ = "entry_value_Holder"
326             self.pyclass = Holder
327
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)
336
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)
347             class Holder:
348                 __metaclass__ = pyclass_type
349                 typecode = self
350                 def __init__(self):
351                     # pyclass
352                     self._result_count = None
353                     self._next_offset = None
354                     self._field_list = None
355                     self._entry_list = None
356                     self._error = None
357                     return
358             Holder.__name__ = "get_entry_list_result_Holder"
359             self.pyclass = Holder
360
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)
371             class Holder:
372                 __metaclass__ = pyclass_type
373                 typecode = self
374                 def __init__(self):
375                     # pyclass
376                     self._field_list = None
377                     self._entry_list = None
378                     self._error = None
379                     return
380             Holder.__name__ = "get_entry_result_Holder"
381             self.pyclass = Holder
382
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)
393             class Holder:
394                 __metaclass__ = pyclass_type
395                 typecode = self
396                 def __init__(self):
397                     # pyclass
398                     self._id = None
399                     self._error = None
400                     return
401             Holder.__name__ = "set_entry_result_Holder"
402             self.pyclass = Holder
403
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)
414             class Holder:
415                 __metaclass__ = pyclass_type
416                 typecode = self
417                 def __init__(self):
418                     # pyclass
419                     self._ids = None
420                     self._error = None
421                     return
422             Holder.__name__ = "set_entries_result_Holder"
423             self.pyclass = Holder
424
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)
435             class Holder:
436                 __metaclass__ = pyclass_type
437                 typecode = self
438                 def __init__(self):
439                     # pyclass
440                     self._id = None
441                     self._date_modified = None
442                     self._deleted = None
443                     return
444             Holder.__name__ = "id_mod_Holder"
445             self.pyclass = Holder
446
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)
455
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)
466             class Holder:
467                 __metaclass__ = pyclass_type
468                 typecode = self
469                 def __init__(self):
470                     # pyclass
471                     self._ids = None
472                     self._error = None
473                     return
474             Holder.__name__ = "get_relationships_result_Holder"
475             self.pyclass = Holder
476
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)
487             class Holder:
488                 __metaclass__ = pyclass_type
489                 typecode = self
490                 def __init__(self):
491                     # pyclass
492                     self._module1 = None
493                     self._module1_id = None
494                     self._module2 = None
495                     self._module2_id = None
496                     return
497             Holder.__name__ = "set_relationship_value_Holder"
498             self.pyclass = Holder
499
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)
508
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)
519             class Holder:
520                 __metaclass__ = pyclass_type
521                 typecode = self
522                 def __init__(self):
523                     # pyclass
524                     self._created = None
525                     self._failed = None
526                     self._error = None
527                     return
528             Holder.__name__ = "set_relationship_list_result_Holder"
529             self.pyclass = Holder
530
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)
541             class Holder:
542                 __metaclass__ = pyclass_type
543                 typecode = self
544                 def __init__(self):
545                     # pyclass
546                     self._id = None
547                     self._document_name = None
548                     self._revision = None
549                     self._filename = None
550                     self._file = None
551                     return
552             Holder.__name__ = "document_revision_Holder"
553             self.pyclass = Holder
554
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)
565             class Holder:
566                 __metaclass__ = pyclass_type
567                 typecode = self
568                 def __init__(self):
569                     # pyclass
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
575                     self._error = None
576                     return
577             Holder.__name__ = "get_entry_list_result_encoded_Holder"
578             self.pyclass = Holder
579
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)
590             class Holder:
591                 __metaclass__ = pyclass_type
592                 typecode = self
593                 def __init__(self):
594                     # pyclass
595                     self._result = None
596                     self._error = None
597                     return
598             Holder.__name__ = "get_sync_result_encoded_Holder"
599             self.pyclass = Holder
600
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)
611             class Holder:
612                 __metaclass__ = pyclass_type
613                 typecode = self
614                 def __init__(self):
615                     # pyclass
616                     self._result = None
617                     self._result_count = None
618                     self._next_offset = None
619                     self._total_count = None
620                     self._error = None
621                     return
622             Holder.__name__ = "get_quick_sync_result_encoded_Holder"
623             self.pyclass = Holder
624
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)
635             class Holder:
636                 __metaclass__ = pyclass_type
637                 typecode = self
638                 def __init__(self):
639                     # pyclass
640                     self._document_revision = None
641                     self._error = None
642                     return
643             Holder.__name__ = "return_document_revision_Holder"
644             self.pyclass = Holder
645
646 # end class ns0 (tns: http://www.sugarcrm.com/sugarcrm)
647
648 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: