This repository has been archived by the owner on Sep 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
odata_client_python.py
1973 lines (1852 loc) · 129 KB
/
odata_client_python.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# OData Python Client and Server Libraries ver. 1.0.0
# Copyright (c) Microsoft Corporation
# All rights reserved.
# MIT License
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.2
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2,6,0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_odata_client_python', [dirname(__file__)])
except ImportError:
import _odata_client_python
return _odata_client_python
if fp is not None:
try:
_mod = imp.load_module('_odata_client_python', fp, pathname, description)
finally:
fp.close()
return _mod
_odata_client_python = swig_import_helper()
del swig_import_helper
else:
import _odata_client_python
del version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "thisown"): return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
if (name == "thisown"): return self.this.own()
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError(name)
def _swig_repr(self):
try: strthis = "proxy of " + self.this.__repr__()
except: strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
class SwigPyIterator(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _odata_client_python.delete_SwigPyIterator
__del__ = lambda self : None;
def value(self): return _odata_client_python.SwigPyIterator_value(self)
def incr(self, n=1): return _odata_client_python.SwigPyIterator_incr(self, n)
def decr(self, n=1): return _odata_client_python.SwigPyIterator_decr(self, n)
def distance(self, *args): return _odata_client_python.SwigPyIterator_distance(self, *args)
def equal(self, *args): return _odata_client_python.SwigPyIterator_equal(self, *args)
def copy(self): return _odata_client_python.SwigPyIterator_copy(self)
def next(self): return _odata_client_python.SwigPyIterator_next(self)
def __next__(self): return _odata_client_python.SwigPyIterator___next__(self)
def previous(self): return _odata_client_python.SwigPyIterator_previous(self)
def advance(self, *args): return _odata_client_python.SwigPyIterator_advance(self, *args)
def __eq__(self, *args): return _odata_client_python.SwigPyIterator___eq__(self, *args)
def __ne__(self, *args): return _odata_client_python.SwigPyIterator___ne__(self, *args)
def __iadd__(self, *args): return _odata_client_python.SwigPyIterator___iadd__(self, *args)
def __isub__(self, *args): return _odata_client_python.SwigPyIterator___isub__(self, *args)
def __add__(self, *args): return _odata_client_python.SwigPyIterator___add__(self, *args)
def __sub__(self, *args): return _odata_client_python.SwigPyIterator___sub__(self, *args)
def __iter__(self): return self
SwigPyIterator_swigregister = _odata_client_python.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)
SHARED_PTR_DISOWN = _odata_client_python.SHARED_PTR_DISOWN
class datetime(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, datetime, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, datetime, name)
__repr__ = _swig_repr
RFC_1123 = _odata_client_python.datetime_RFC_1123
ISO_8601 = _odata_client_python.datetime_ISO_8601
__swig_getmethods__["utc_now"] = lambda x: _odata_client_python.datetime_utc_now
if _newclass:utc_now = staticmethod(_odata_client_python.datetime_utc_now)
__swig_getmethods__["from_string"] = lambda x: _odata_client_python.datetime_from_string
if _newclass:from_string = staticmethod(_odata_client_python.datetime_from_string)
def to_string(self, *args): return _odata_client_python.datetime_to_string(self, *args)
def __init__(self):
this = _odata_client_python.new_datetime()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _odata_client_python.delete_datetime
__del__ = lambda self : None;
datetime_swigregister = _odata_client_python.datetime_swigregister
datetime_swigregister(datetime)
def datetime_utc_now():
return _odata_client_python.datetime_utc_now()
datetime_utc_now = _odata_client_python.datetime_utc_now
def datetime_from_string(*args):
return _odata_client_python.datetime_from_string(*args)
datetime_from_string = _odata_client_python.datetime_from_string
class seconds(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, seconds, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, seconds, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_seconds(*args)
try: self.this.append(this)
except: self.this = this
def count(self): return _odata_client_python.seconds_count(self)
__swig_destroy__ = _odata_client_python.delete_seconds
__del__ = lambda self : None;
seconds_swigregister = _odata_client_python.seconds_swigregister
seconds_swigregister(seconds)
undefined_value = _odata_client_python.undefined_value
_None = _odata_client_python._None
Primitive = _odata_client_python.Primitive
Entity = _odata_client_python.Entity
Complex = _odata_client_python.Complex
Collection = _odata_client_python.Collection
Enum = _odata_client_python.Enum
Link = _odata_client_python.Link
Navigation = _odata_client_python.Navigation
Operation = _odata_client_python.Operation
PayloadAnnotation = _odata_client_python.PayloadAnnotation
Unknown = _odata_client_python.Unknown
NoneVal = _odata_client_python.NoneVal
Binary = _odata_client_python.Binary
Boolean = _odata_client_python.Boolean
Byte = _odata_client_python.Byte
DateTimeOffset = _odata_client_python.DateTimeOffset
Duration = _odata_client_python.Duration
Decimal = _odata_client_python.Decimal
Double = _odata_client_python.Double
Guid = _odata_client_python.Guid
Int16 = _odata_client_python.Int16
Int32 = _odata_client_python.Int32
Int64 = _odata_client_python.Int64
SByte = _odata_client_python.SByte
Single = _odata_client_python.Single
String = _odata_client_python.String
Stream = _odata_client_python.Stream
class edm_named_type(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_named_type, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, edm_named_type, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_edm_named_type(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _odata_client_python.delete_edm_named_type
__del__ = lambda self : None;
def get_name(self): return _odata_client_python.edm_named_type_get_name(self)
def get_full_name(self): return _odata_client_python.edm_named_type_get_full_name(self)
def set_name(self, *args): return _odata_client_python.edm_named_type_set_name(self, *args)
def get_namespace(self): return _odata_client_python.edm_named_type_get_namespace(self)
def set_namespace(self, *args): return _odata_client_python.edm_named_type_set_namespace(self, *args)
def get_type_kind(self): return _odata_client_python.edm_named_type_get_type_kind(self)
def set_type_kind(self, *args): return _odata_client_python.edm_named_type_set_type_kind(self, *args)
__swig_getmethods__["EDM_UNKNOWN"] = lambda x: _odata_client_python.edm_named_type_EDM_UNKNOWN
if _newclass:EDM_UNKNOWN = staticmethod(_odata_client_python.edm_named_type_EDM_UNKNOWN)
edm_named_type_swigregister = _odata_client_python.edm_named_type_swigregister
edm_named_type_swigregister(edm_named_type)
def edm_named_type_EDM_UNKNOWN():
return _odata_client_python.edm_named_type_EDM_UNKNOWN()
edm_named_type_EDM_UNKNOWN = _odata_client_python.edm_named_type_EDM_UNKNOWN
class edm_primitive_type(edm_named_type):
__swig_setmethods__ = {}
for _s in [edm_named_type]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_primitive_type, name, value)
__swig_getmethods__ = {}
for _s in [edm_named_type]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, edm_primitive_type, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def get_primitive_kind(self): return _odata_client_python.edm_primitive_type_get_primitive_kind(self)
def type_equal(self, *args): return _odata_client_python.edm_primitive_type_type_equal(self, *args)
__swig_getmethods__["BINARY"] = lambda x: _odata_client_python.edm_primitive_type_BINARY
if _newclass:BINARY = staticmethod(_odata_client_python.edm_primitive_type_BINARY)
__swig_getmethods__["BOOLEAN"] = lambda x: _odata_client_python.edm_primitive_type_BOOLEAN
if _newclass:BOOLEAN = staticmethod(_odata_client_python.edm_primitive_type_BOOLEAN)
__swig_getmethods__["BYTE"] = lambda x: _odata_client_python.edm_primitive_type_BYTE
if _newclass:BYTE = staticmethod(_odata_client_python.edm_primitive_type_BYTE)
__swig_getmethods__["DATETIMEOFFSET"] = lambda x: _odata_client_python.edm_primitive_type_DATETIMEOFFSET
if _newclass:DATETIMEOFFSET = staticmethod(_odata_client_python.edm_primitive_type_DATETIMEOFFSET)
__swig_getmethods__["DURATION"] = lambda x: _odata_client_python.edm_primitive_type_DURATION
if _newclass:DURATION = staticmethod(_odata_client_python.edm_primitive_type_DURATION)
__swig_getmethods__["DECIMAL"] = lambda x: _odata_client_python.edm_primitive_type_DECIMAL
if _newclass:DECIMAL = staticmethod(_odata_client_python.edm_primitive_type_DECIMAL)
__swig_getmethods__["DOUBLE"] = lambda x: _odata_client_python.edm_primitive_type_DOUBLE
if _newclass:DOUBLE = staticmethod(_odata_client_python.edm_primitive_type_DOUBLE)
__swig_getmethods__["GUID"] = lambda x: _odata_client_python.edm_primitive_type_GUID
if _newclass:GUID = staticmethod(_odata_client_python.edm_primitive_type_GUID)
__swig_getmethods__["INT16"] = lambda x: _odata_client_python.edm_primitive_type_INT16
if _newclass:INT16 = staticmethod(_odata_client_python.edm_primitive_type_INT16)
__swig_getmethods__["INT32"] = lambda x: _odata_client_python.edm_primitive_type_INT32
if _newclass:INT32 = staticmethod(_odata_client_python.edm_primitive_type_INT32)
__swig_getmethods__["INT64"] = lambda x: _odata_client_python.edm_primitive_type_INT64
if _newclass:INT64 = staticmethod(_odata_client_python.edm_primitive_type_INT64)
__swig_getmethods__["SBYTE"] = lambda x: _odata_client_python.edm_primitive_type_SBYTE
if _newclass:SBYTE = staticmethod(_odata_client_python.edm_primitive_type_SBYTE)
__swig_getmethods__["SINGLE"] = lambda x: _odata_client_python.edm_primitive_type_SINGLE
if _newclass:SINGLE = staticmethod(_odata_client_python.edm_primitive_type_SINGLE)
__swig_getmethods__["STRING"] = lambda x: _odata_client_python.edm_primitive_type_STRING
if _newclass:STRING = staticmethod(_odata_client_python.edm_primitive_type_STRING)
__swig_getmethods__["STREAM"] = lambda x: _odata_client_python.edm_primitive_type_STREAM
if _newclass:STREAM = staticmethod(_odata_client_python.edm_primitive_type_STREAM)
__swig_getmethods__["UNKNOWN"] = lambda x: _odata_client_python.edm_primitive_type_UNKNOWN
if _newclass:UNKNOWN = staticmethod(_odata_client_python.edm_primitive_type_UNKNOWN)
__swig_destroy__ = _odata_client_python.delete_edm_primitive_type
__del__ = lambda self : None;
edm_primitive_type_swigregister = _odata_client_python.edm_primitive_type_swigregister
edm_primitive_type_swigregister(edm_primitive_type)
def edm_primitive_type_BINARY():
return _odata_client_python.edm_primitive_type_BINARY()
edm_primitive_type_BINARY = _odata_client_python.edm_primitive_type_BINARY
def edm_primitive_type_BOOLEAN():
return _odata_client_python.edm_primitive_type_BOOLEAN()
edm_primitive_type_BOOLEAN = _odata_client_python.edm_primitive_type_BOOLEAN
def edm_primitive_type_BYTE():
return _odata_client_python.edm_primitive_type_BYTE()
edm_primitive_type_BYTE = _odata_client_python.edm_primitive_type_BYTE
def edm_primitive_type_DATETIMEOFFSET():
return _odata_client_python.edm_primitive_type_DATETIMEOFFSET()
edm_primitive_type_DATETIMEOFFSET = _odata_client_python.edm_primitive_type_DATETIMEOFFSET
def edm_primitive_type_DURATION():
return _odata_client_python.edm_primitive_type_DURATION()
edm_primitive_type_DURATION = _odata_client_python.edm_primitive_type_DURATION
def edm_primitive_type_DECIMAL():
return _odata_client_python.edm_primitive_type_DECIMAL()
edm_primitive_type_DECIMAL = _odata_client_python.edm_primitive_type_DECIMAL
def edm_primitive_type_DOUBLE():
return _odata_client_python.edm_primitive_type_DOUBLE()
edm_primitive_type_DOUBLE = _odata_client_python.edm_primitive_type_DOUBLE
def edm_primitive_type_GUID():
return _odata_client_python.edm_primitive_type_GUID()
edm_primitive_type_GUID = _odata_client_python.edm_primitive_type_GUID
def edm_primitive_type_INT16():
return _odata_client_python.edm_primitive_type_INT16()
edm_primitive_type_INT16 = _odata_client_python.edm_primitive_type_INT16
def edm_primitive_type_INT32():
return _odata_client_python.edm_primitive_type_INT32()
edm_primitive_type_INT32 = _odata_client_python.edm_primitive_type_INT32
def edm_primitive_type_INT64():
return _odata_client_python.edm_primitive_type_INT64()
edm_primitive_type_INT64 = _odata_client_python.edm_primitive_type_INT64
def edm_primitive_type_SBYTE():
return _odata_client_python.edm_primitive_type_SBYTE()
edm_primitive_type_SBYTE = _odata_client_python.edm_primitive_type_SBYTE
def edm_primitive_type_SINGLE():
return _odata_client_python.edm_primitive_type_SINGLE()
edm_primitive_type_SINGLE = _odata_client_python.edm_primitive_type_SINGLE
def edm_primitive_type_STRING():
return _odata_client_python.edm_primitive_type_STRING()
edm_primitive_type_STRING = _odata_client_python.edm_primitive_type_STRING
def edm_primitive_type_STREAM():
return _odata_client_python.edm_primitive_type_STREAM()
edm_primitive_type_STREAM = _odata_client_python.edm_primitive_type_STREAM
def edm_primitive_type_UNKNOWN():
return _odata_client_python.edm_primitive_type_UNKNOWN()
edm_primitive_type_UNKNOWN = _odata_client_python.edm_primitive_type_UNKNOWN
class edm_property_type(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_property_type, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, edm_property_type, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_edm_property_type(*args)
try: self.this.append(this)
except: self.this = this
def get_name(self): return _odata_client_python.edm_property_type_get_name(self)
def is_nullable(self): return _odata_client_python.edm_property_type_is_nullable(self)
def get_property_type(self): return _odata_client_python.edm_property_type_get_property_type(self)
def set_property_type(self, *args): return _odata_client_python.edm_property_type_set_property_type(self, *args)
def set_precision(self, *args): return _odata_client_python.edm_property_type_set_precision(self, *args)
def default_value(self): return _odata_client_python.edm_property_type_default_value(self)
__swig_destroy__ = _odata_client_python.delete_edm_property_type
__del__ = lambda self : None;
edm_property_type_swigregister = _odata_client_python.edm_property_type_swigregister
edm_property_type_swigregister(edm_property_type)
class edm_collection_type(edm_named_type):
__swig_setmethods__ = {}
for _s in [edm_named_type]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_collection_type, name, value)
__swig_getmethods__ = {}
for _s in [edm_named_type]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, edm_collection_type, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_edm_collection_type(*args)
try: self.this.append(this)
except: self.this = this
def get_element_type(self): return _odata_client_python.edm_collection_type_get_element_type(self)
def set_element_type(self, *args): return _odata_client_python.edm_collection_type_set_element_type(self, *args)
__swig_destroy__ = _odata_client_python.delete_edm_collection_type
__del__ = lambda self : None;
edm_collection_type_swigregister = _odata_client_python.edm_collection_type_swigregister
edm_collection_type_swigregister(edm_collection_type)
class edm_payload_annotation_type(edm_named_type):
__swig_setmethods__ = {}
for _s in [edm_named_type]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_payload_annotation_type, name, value)
__swig_getmethods__ = {}
for _s in [edm_named_type]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, edm_payload_annotation_type, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_edm_payload_annotation_type(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _odata_client_python.delete_edm_payload_annotation_type
__del__ = lambda self : None;
edm_payload_annotation_type_swigregister = _odata_client_python.edm_payload_annotation_type_swigregister
edm_payload_annotation_type_swigregister(edm_payload_annotation_type)
class edm_structured_type(edm_named_type):
__swig_setmethods__ = {}
for _s in [edm_named_type]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_structured_type, name, value)
__swig_getmethods__ = {}
for _s in [edm_named_type]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, edm_structured_type, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_edm_structured_type(*args)
try: self.this.append(this)
except: self.this = this
def add_property(self, *args): return _odata_client_python.edm_structured_type_add_property(self, *args)
def begin(self): return _odata_client_python.edm_structured_type_begin(self)
def end(self): return _odata_client_python.edm_structured_type_end(self)
def get_base_type_name(self): return _odata_client_python.edm_structured_type_get_base_type_name(self)
def set_base_type(self, *args): return _odata_client_python.edm_structured_type_set_base_type(self, *args)
def get_base_type(self): return _odata_client_python.edm_structured_type_get_base_type(self)
def find_property(self, *args): return _odata_client_python.edm_structured_type_find_property(self, *args)
def get_properties_vector(self): return _odata_client_python.edm_structured_type_get_properties_vector(self)
__swig_destroy__ = _odata_client_python.delete_edm_structured_type
__del__ = lambda self : None;
edm_structured_type_swigregister = _odata_client_python.edm_structured_type_swigregister
edm_structured_type_swigregister(edm_structured_type)
class edm_enum_member(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_enum_member, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, edm_enum_member, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_edm_enum_member(*args)
try: self.this.append(this)
except: self.this = this
def get_enum_member_name(self): return _odata_client_python.edm_enum_member_get_enum_member_name(self)
def set_enum_member_name(self, *args): return _odata_client_python.edm_enum_member_set_enum_member_name(self, *args)
def get_enum_member_value(self): return _odata_client_python.edm_enum_member_get_enum_member_value(self)
def set_enum_member_value(self, *args): return _odata_client_python.edm_enum_member_set_enum_member_value(self, *args)
__swig_destroy__ = _odata_client_python.delete_edm_enum_member
__del__ = lambda self : None;
edm_enum_member_swigregister = _odata_client_python.edm_enum_member_swigregister
edm_enum_member_swigregister(edm_enum_member)
class edm_enum_type(edm_named_type):
__swig_setmethods__ = {}
for _s in [edm_named_type]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_enum_type, name, value)
__swig_getmethods__ = {}
for _s in [edm_named_type]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, edm_enum_type, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_edm_enum_type(*args)
try: self.this.append(this)
except: self.this = this
def add_enum_member(self, *args): return _odata_client_python.edm_enum_type_add_enum_member(self, *args)
def get_enum_members(self): return _odata_client_python.edm_enum_type_get_enum_members(self)
def is_flag(self): return _odata_client_python.edm_enum_type_is_flag(self)
__swig_destroy__ = _odata_client_python.delete_edm_enum_type
__del__ = lambda self : None;
edm_enum_type_swigregister = _odata_client_python.edm_enum_type_swigregister
edm_enum_type_swigregister(edm_enum_type)
class edm_complex_type(edm_structured_type):
__swig_setmethods__ = {}
for _s in [edm_structured_type]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_complex_type, name, value)
__swig_getmethods__ = {}
for _s in [edm_structured_type]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, edm_complex_type, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_edm_complex_type(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _odata_client_python.delete_edm_complex_type
__del__ = lambda self : None;
edm_complex_type_swigregister = _odata_client_python.edm_complex_type_swigregister
edm_complex_type_swigregister(edm_complex_type)
class edm_navigation_type(edm_named_type):
__swig_setmethods__ = {}
for _s in [edm_named_type]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_navigation_type, name, value)
__swig_getmethods__ = {}
for _s in [edm_named_type]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, edm_navigation_type, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_edm_navigation_type(*args)
try: self.this.append(this)
except: self.this = this
def get_navigation_type(self): return _odata_client_python.edm_navigation_type_get_navigation_type(self)
def set_navigation_type(self, *args): return _odata_client_python.edm_navigation_type_set_navigation_type(self, *args)
def get_binded_navigation_source(self): return _odata_client_python.edm_navigation_type_get_binded_navigation_source(self)
def set_binded_navigation_source(self, *args): return _odata_client_python.edm_navigation_type_set_binded_navigation_source(self, *args)
def is_contained(self): return _odata_client_python.edm_navigation_type_is_contained(self)
__swig_destroy__ = _odata_client_python.delete_edm_navigation_type
__del__ = lambda self : None;
edm_navigation_type_swigregister = _odata_client_python.edm_navigation_type_swigregister
edm_navigation_type_swigregister(edm_navigation_type)
Action = _odata_client_python.Action
Function = _odata_client_python.Function
class edm_operation_parameter(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_operation_parameter, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, edm_operation_parameter, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_edm_operation_parameter(*args)
try: self.this.append(this)
except: self.this = this
def get_param_type(self): return _odata_client_python.edm_operation_parameter_get_param_type(self)
def set_param_type(self, *args): return _odata_client_python.edm_operation_parameter_set_param_type(self, *args)
def get_param_name(self): return _odata_client_python.edm_operation_parameter_get_param_name(self)
__swig_destroy__ = _odata_client_python.delete_edm_operation_parameter
__del__ = lambda self : None;
edm_operation_parameter_swigregister = _odata_client_python.edm_operation_parameter_swigregister
edm_operation_parameter_swigregister(edm_operation_parameter)
class edm_operation_type(edm_named_type):
__swig_setmethods__ = {}
for _s in [edm_named_type]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_operation_type, name, value)
__swig_getmethods__ = {}
for _s in [edm_named_type]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, edm_operation_type, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_edm_operation_type(*args)
try: self.this.append(this)
except: self.this = this
def add_operation_parameter(self, *args): return _odata_client_python.edm_operation_type_add_operation_parameter(self, *args)
def set_return_type(self, *args): return _odata_client_python.edm_operation_type_set_return_type(self, *args)
def get_operation_parameters(self): return _odata_client_python.edm_operation_type_get_operation_parameters(self)
def set_return_type_name(self, *args): return _odata_client_python.edm_operation_type_set_return_type_name(self, *args)
def get_return_type_name(self): return _odata_client_python.edm_operation_type_get_return_type_name(self)
def get_operation_return_type(self): return _odata_client_python.edm_operation_type_get_operation_return_type(self)
def is_bound(self): return _odata_client_python.edm_operation_type_is_bound(self)
def is_function(self): return _odata_client_python.edm_operation_type_is_function(self)
__swig_destroy__ = _odata_client_python.delete_edm_operation_type
__del__ = lambda self : None;
edm_operation_type_swigregister = _odata_client_python.edm_operation_type_swigregister
edm_operation_type_swigregister(edm_operation_type)
class edm_entity_type(edm_structured_type):
__swig_setmethods__ = {}
for _s in [edm_structured_type]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_entity_type, name, value)
__swig_getmethods__ = {}
for _s in [edm_structured_type]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, edm_entity_type, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_edm_entity_type(*args)
try: self.this.append(this)
except: self.this = this
def add_key_property(self, *args): return _odata_client_python.edm_entity_type_add_key_property(self, *args)
def key(self): return _odata_client_python.edm_entity_type_key(self)
def get_key_with_parents(self): return _odata_client_python.edm_entity_type_get_key_with_parents(self)
__swig_destroy__ = _odata_client_python.delete_edm_entity_type
__del__ = lambda self : None;
edm_entity_type_swigregister = _odata_client_python.edm_entity_type_swigregister
edm_entity_type_swigregister(edm_entity_type)
E_RESOURCE_ENTITY_SET = _odata_client_python.E_RESOURCE_ENTITY_SET
E_RESOURCE_SINGLETON = _odata_client_python.E_RESOURCE_SINGLETON
class edm_navigation_source(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_navigation_source, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, edm_navigation_source, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_edm_navigation_source(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _odata_client_python.delete_edm_navigation_source
__del__ = lambda self : None;
def add_navigation_source(self, *args): return _odata_client_python.edm_navigation_source_add_navigation_source(self, *args)
def get_navigation_source_name(self, *args): return _odata_client_python.edm_navigation_source_get_navigation_source_name(self, *args)
def get_navigation_sources(self): return _odata_client_python.edm_navigation_source_get_navigation_sources(self)
def get_name(self): return _odata_client_python.edm_navigation_source_get_name(self)
def get_resource_type(self): return _odata_client_python.edm_navigation_source_get_resource_type(self)
edm_navigation_source_swigregister = _odata_client_python.edm_navigation_source_swigregister
edm_navigation_source_swigregister(edm_navigation_source)
class edm_entity_set(edm_navigation_source):
__swig_setmethods__ = {}
for _s in [edm_navigation_source]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_entity_set, name, value)
__swig_getmethods__ = {}
for _s in [edm_navigation_source]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, edm_entity_set, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_edm_entity_set(*args)
try: self.this.append(this)
except: self.this = this
def get_entity_type_name(self): return _odata_client_python.edm_entity_set_get_entity_type_name(self)
def get_entity_type(self): return _odata_client_python.edm_entity_set_get_entity_type(self)
def set_entity_type(self, *args): return _odata_client_python.edm_entity_set_set_entity_type(self, *args)
__swig_destroy__ = _odata_client_python.delete_edm_entity_set
__del__ = lambda self : None;
edm_entity_set_swigregister = _odata_client_python.edm_entity_set_swigregister
edm_entity_set_swigregister(edm_entity_set)
class edm_singleton(edm_navigation_source):
__swig_setmethods__ = {}
for _s in [edm_navigation_source]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_singleton, name, value)
__swig_getmethods__ = {}
for _s in [edm_navigation_source]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, edm_singleton, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_edm_singleton(*args)
try: self.this.append(this)
except: self.this = this
def get_name(self): return _odata_client_python.edm_singleton_get_name(self)
def get_entity_type_name(self): return _odata_client_python.edm_singleton_get_entity_type_name(self)
def get_entity_type(self): return _odata_client_python.edm_singleton_get_entity_type(self)
def set_entity_type(self, *args): return _odata_client_python.edm_singleton_set_entity_type(self, *args)
__swig_destroy__ = _odata_client_python.delete_edm_singleton
__del__ = lambda self : None;
edm_singleton_swigregister = _odata_client_python.edm_singleton_swigregister
edm_singleton_swigregister(edm_singleton)
ActionImport = _odata_client_python.ActionImport
FunctionImport = _odata_client_python.FunctionImport
class edm_operation_import(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_operation_import, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, edm_operation_import, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_edm_operation_import(*args)
try: self.this.append(this)
except: self.this = this
def get_name(self): return _odata_client_python.edm_operation_import_get_name(self)
def get_operation_type(self): return _odata_client_python.edm_operation_import_get_operation_type(self)
def set_operation_type(self, *args): return _odata_client_python.edm_operation_import_set_operation_type(self, *args)
__swig_destroy__ = _odata_client_python.delete_edm_operation_import
__del__ = lambda self : None;
edm_operation_import_swigregister = _odata_client_python.edm_operation_import_swigregister
edm_operation_import_swigregister(edm_operation_import)
class edm_entity_container(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_entity_container, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, edm_entity_container, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_edm_entity_container(*args)
try: self.this.append(this)
except: self.this = this
def get_name(self): return _odata_client_python.edm_entity_container_get_name(self)
def is_default_container(self): return _odata_client_python.edm_entity_container_is_default_container(self)
def add_entity_set(self, *args): return _odata_client_python.edm_entity_container_add_entity_set(self, *args)
def add_singleton(self, *args): return _odata_client_python.edm_entity_container_add_singleton(self, *args)
def get_operation_imports(self): return _odata_client_python.edm_entity_container_get_operation_imports(self)
def get_singletons(self): return _odata_client_python.edm_entity_container_get_singletons(self)
def add_operation_import(self, *args): return _odata_client_python.edm_entity_container_add_operation_import(self, *args)
def begin(self): return _odata_client_python.edm_entity_container_begin(self)
def end(self): return _odata_client_python.edm_entity_container_end(self)
def find_entity_set(self, *args): return _odata_client_python.edm_entity_container_find_entity_set(self, *args)
def find_singleton(self, *args): return _odata_client_python.edm_entity_container_find_singleton(self, *args)
def find_operation_import(self, *args): return _odata_client_python.edm_entity_container_find_operation_import(self, *args)
def get_operation_import_vector(self): return _odata_client_python.edm_entity_container_get_operation_import_vector(self)
def get_singleton_vector(self): return _odata_client_python.edm_entity_container_get_singleton_vector(self)
def get_entity_set_vector(self): return _odata_client_python.edm_entity_container_get_entity_set_vector(self)
__swig_destroy__ = _odata_client_python.delete_edm_entity_container
__del__ = lambda self : None;
edm_entity_container_swigregister = _odata_client_python.edm_entity_container_swigregister
edm_entity_container_swigregister(edm_entity_container)
class edm_schema(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_schema, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, edm_schema, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_edm_schema(*args)
try: self.this.append(this)
except: self.this = this
def add_entity_type(self, *args): return _odata_client_python.edm_schema_add_entity_type(self, *args)
def add_complex_type(self, *args): return _odata_client_python.edm_schema_add_complex_type(self, *args)
def add_enum_type(self, *args): return _odata_client_python.edm_schema_add_enum_type(self, *args)
def add_operation_type(self, *args): return _odata_client_python.edm_schema_add_operation_type(self, *args)
def add_container(self, *args): return _odata_client_python.edm_schema_add_container(self, *args)
def find_entity_type(self, *args): return _odata_client_python.edm_schema_find_entity_type(self, *args)
def find_complex_type(self, *args): return _odata_client_python.edm_schema_find_complex_type(self, *args)
def find_enum_type(self, *args): return _odata_client_python.edm_schema_find_enum_type(self, *args)
def find_operation_type(self, *args): return _odata_client_python.edm_schema_find_operation_type(self, *args)
def find_container(self, *args): return _odata_client_python.edm_schema_find_container(self, *args)
def get_entity_types(self): return _odata_client_python.edm_schema_get_entity_types(self)
def get_complex_types(self): return _odata_client_python.edm_schema_get_complex_types(self)
def get_enum_types(self): return _odata_client_python.edm_schema_get_enum_types(self)
def get_operation_types(self): return _odata_client_python.edm_schema_get_operation_types(self)
def get_containers(self): return _odata_client_python.edm_schema_get_containers(self)
def get_name(self): return _odata_client_python.edm_schema_get_name(self)
def get_entity_types_vector(self): return _odata_client_python.edm_schema_get_entity_types_vector(self)
def get_complex_types_vector(self): return _odata_client_python.edm_schema_get_complex_types_vector(self)
def get_enum_types_vector(self): return _odata_client_python.edm_schema_get_enum_types_vector(self)
def get_operation_types_vector(self): return _odata_client_python.edm_schema_get_operation_types_vector(self)
def get_containers_vector(self): return _odata_client_python.edm_schema_get_containers_vector(self)
__swig_destroy__ = _odata_client_python.delete_edm_schema
__del__ = lambda self : None;
edm_schema_swigregister = _odata_client_python.edm_schema_swigregister
edm_schema_swigregister(edm_schema)
class edm_model(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_model, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, edm_model, name)
__repr__ = _swig_repr
def add_schema(self, *args): return _odata_client_python.edm_model_add_schema(self, *args)
def get_schema(self): return _odata_client_python.edm_model_get_schema(self)
def get_version(self): return _odata_client_python.edm_model_get_version(self)
def set_version(self, *args): return _odata_client_python.edm_model_set_version(self, *args)
def find_entity_type(self, *args): return _odata_client_python.edm_model_find_entity_type(self, *args)
def find_complex_type(self, *args): return _odata_client_python.edm_model_find_complex_type(self, *args)
def find_enum_type(self, *args): return _odata_client_python.edm_model_find_enum_type(self, *args)
def find_operation_type(self, *args): return _odata_client_python.edm_model_find_operation_type(self, *args)
def find_container(self, *args): return _odata_client_python.edm_model_find_container(self, *args)
def __init__(self):
this = _odata_client_python.new_edm_model()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _odata_client_python.delete_edm_model
__del__ = lambda self : None;
edm_model_swigregister = _odata_client_python.edm_model_swigregister
edm_model_swigregister(edm_model)
class edm_model_utility(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, edm_model_utility, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, edm_model_utility, name)
__repr__ = _swig_repr
__swig_getmethods__["get_edm_type_from_name"] = lambda x: _odata_client_python.edm_model_utility_get_edm_type_from_name
if _newclass:get_edm_type_from_name = staticmethod(_odata_client_python.edm_model_utility_get_edm_type_from_name)
__swig_getmethods__["get_strong_type_name_from_edm_type_name"] = lambda x: _odata_client_python.edm_model_utility_get_strong_type_name_from_edm_type_name
if _newclass:get_strong_type_name_from_edm_type_name = staticmethod(_odata_client_python.edm_model_utility_get_strong_type_name_from_edm_type_name)
__swig_getmethods__["get_strong_type_default_value_from_edm_type_name"] = lambda x: _odata_client_python.edm_model_utility_get_strong_type_default_value_from_edm_type_name
if _newclass:get_strong_type_default_value_from_edm_type_name = staticmethod(_odata_client_python.edm_model_utility_get_strong_type_default_value_from_edm_type_name)
__swig_getmethods__["get_edm_primitive_type_from_name"] = lambda x: _odata_client_python.edm_model_utility_get_edm_primitive_type_from_name
if _newclass:get_edm_primitive_type_from_name = staticmethod(_odata_client_python.edm_model_utility_get_edm_primitive_type_from_name)
__swig_getmethods__["get_type_kind_name_from_edm_type"] = lambda x: _odata_client_python.edm_model_utility_get_type_kind_name_from_edm_type
if _newclass:get_type_kind_name_from_edm_type = staticmethod(_odata_client_python.edm_model_utility_get_type_kind_name_from_edm_type)
__swig_getmethods__["get_primitive_kind_from_edm_type"] = lambda x: _odata_client_python.edm_model_utility_get_primitive_kind_from_edm_type
if _newclass:get_primitive_kind_from_edm_type = staticmethod(_odata_client_python.edm_model_utility_get_primitive_kind_from_edm_type)
__swig_getmethods__["resolve_edm_types_after_parsing"] = lambda x: _odata_client_python.edm_model_utility_resolve_edm_types_after_parsing
if _newclass:resolve_edm_types_after_parsing = staticmethod(_odata_client_python.edm_model_utility_resolve_edm_types_after_parsing)
__swig_getmethods__["get_property_type_from_name"] = lambda x: _odata_client_python.edm_model_utility_get_property_type_from_name
if _newclass:get_property_type_from_name = staticmethod(_odata_client_python.edm_model_utility_get_property_type_from_name)
__swig_getmethods__["get_collection_element_type"] = lambda x: _odata_client_python.edm_model_utility_get_collection_element_type
if _newclass:get_collection_element_type = staticmethod(_odata_client_python.edm_model_utility_get_collection_element_type)
__swig_getmethods__["get_navigation_element_type"] = lambda x: _odata_client_python.edm_model_utility_get_navigation_element_type
if _newclass:get_navigation_element_type = staticmethod(_odata_client_python.edm_model_utility_get_navigation_element_type)
def __init__(self):
this = _odata_client_python.new_edm_model_utility()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _odata_client_python.delete_edm_model_utility
__del__ = lambda self : None;
edm_model_utility_swigregister = _odata_client_python.edm_model_utility_swigregister
edm_model_utility_swigregister(edm_model_utility)
def edm_model_utility_get_edm_type_from_name(*args):
return _odata_client_python.edm_model_utility_get_edm_type_from_name(*args)
edm_model_utility_get_edm_type_from_name = _odata_client_python.edm_model_utility_get_edm_type_from_name
def edm_model_utility_get_strong_type_name_from_edm_type_name(*args):
return _odata_client_python.edm_model_utility_get_strong_type_name_from_edm_type_name(*args)
edm_model_utility_get_strong_type_name_from_edm_type_name = _odata_client_python.edm_model_utility_get_strong_type_name_from_edm_type_name
def edm_model_utility_get_strong_type_default_value_from_edm_type_name(*args):
return _odata_client_python.edm_model_utility_get_strong_type_default_value_from_edm_type_name(*args)
edm_model_utility_get_strong_type_default_value_from_edm_type_name = _odata_client_python.edm_model_utility_get_strong_type_default_value_from_edm_type_name
def edm_model_utility_get_edm_primitive_type_from_name(*args):
return _odata_client_python.edm_model_utility_get_edm_primitive_type_from_name(*args)
edm_model_utility_get_edm_primitive_type_from_name = _odata_client_python.edm_model_utility_get_edm_primitive_type_from_name
def edm_model_utility_get_type_kind_name_from_edm_type(*args):
return _odata_client_python.edm_model_utility_get_type_kind_name_from_edm_type(*args)
edm_model_utility_get_type_kind_name_from_edm_type = _odata_client_python.edm_model_utility_get_type_kind_name_from_edm_type
def edm_model_utility_get_primitive_kind_from_edm_type(*args):
return _odata_client_python.edm_model_utility_get_primitive_kind_from_edm_type(*args)
edm_model_utility_get_primitive_kind_from_edm_type = _odata_client_python.edm_model_utility_get_primitive_kind_from_edm_type
def edm_model_utility_resolve_edm_types_after_parsing(*args):
return _odata_client_python.edm_model_utility_resolve_edm_types_after_parsing(*args)
edm_model_utility_resolve_edm_types_after_parsing = _odata_client_python.edm_model_utility_resolve_edm_types_after_parsing
def edm_model_utility_get_property_type_from_name(*args):
return _odata_client_python.edm_model_utility_get_property_type_from_name(*args)
edm_model_utility_get_property_type_from_name = _odata_client_python.edm_model_utility_get_property_type_from_name
def edm_model_utility_get_collection_element_type(*args):
return _odata_client_python.edm_model_utility_get_collection_element_type(*args)
edm_model_utility_get_collection_element_type = _odata_client_python.edm_model_utility_get_collection_element_type
def edm_model_utility_get_navigation_element_type(*args):
return _odata_client_python.edm_model_utility_get_navigation_element_type(*args)
edm_model_utility_get_navigation_element_type = _odata_client_python.edm_model_utility_get_navigation_element_type
class odata_json_constants(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, odata_json_constants, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, odata_json_constants, name)
__repr__ = _swig_repr
def __init__(self):
this = _odata_client_python.new_odata_json_constants()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _odata_client_python.delete_odata_json_constants
__del__ = lambda self : None;
odata_json_constants_swigregister = _odata_client_python.odata_json_constants_swigregister
odata_json_constants_swigregister(odata_json_constants)
cvar = _odata_client_python.cvar
odata_json_constants.PAYLOAD_ANNOTATION_NAVIGATIONLINK = _odata_client_python.cvar.odata_json_constants_PAYLOAD_ANNOTATION_NAVIGATIONLINK
odata_json_constants.PAYLOAD_ANNOTATION_READLINK = _odata_client_python.cvar.odata_json_constants_PAYLOAD_ANNOTATION_READLINK
odata_json_constants.PAYLOAD_ANNOTATION_EDITLINK = _odata_client_python.cvar.odata_json_constants_PAYLOAD_ANNOTATION_EDITLINK
odata_json_constants.PAYLOAD_ANNOTATION_TYPE = _odata_client_python.cvar.odata_json_constants_PAYLOAD_ANNOTATION_TYPE
odata_json_constants.PAYLOAD_ANNOTATION_ID = _odata_client_python.cvar.odata_json_constants_PAYLOAD_ANNOTATION_ID
class odata_value(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, odata_value, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, odata_value, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_odata_value(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _odata_client_python.delete_odata_value
__del__ = lambda self : None;
def get_value_type(self): return _odata_client_python.odata_value_get_value_type(self)
def set_value_type(self, *args): return _odata_client_python.odata_value_set_value_type(self, *args)
odata_value_swigregister = _odata_client_python.odata_value_swigregister
odata_value_swigregister(odata_value)
class odata_structured_value(odata_value):
__swig_setmethods__ = {}
for _s in [odata_value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, odata_structured_value, name, value)
__swig_getmethods__ = {}
for _s in [odata_value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, odata_structured_value, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_odata_structured_value(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _odata_client_python.delete_odata_structured_value
__del__ = lambda self : None;
def properties(self): return _odata_client_python.odata_structured_value_properties(self)
def set_properties(self, *args): return _odata_client_python.odata_structured_value_set_properties(self, *args)
def has_property(self, *args): return _odata_client_python.odata_structured_value_has_property(self, *args)
def get_property_value(self, *args): return _odata_client_python.odata_structured_value_get_property_value(self, *args)
def set_value(self, *args): return _odata_client_python.odata_structured_value_set_value(self, *args)
def remove(self, *args): return _odata_client_python.odata_structured_value_remove(self, *args)
def get_edit_link(self): return _odata_client_python.odata_structured_value_get_edit_link(self)
odata_structured_value_swigregister = _odata_client_python.odata_structured_value_swigregister
odata_structured_value_swigregister(odata_structured_value)
class odata_collection_value(odata_value):
__swig_setmethods__ = {}
for _s in [odata_value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, odata_collection_value, name, value)
__swig_getmethods__ = {}
for _s in [odata_value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, odata_collection_value, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_odata_collection_value(*args)
try: self.this.append(this)
except: self.this = this
def add_collection_value(self, *args): return _odata_client_python.odata_collection_value_add_collection_value(self, *args)
def get_collection_values(self): return _odata_client_python.odata_collection_value_get_collection_values(self)
__swig_destroy__ = _odata_client_python.delete_odata_collection_value
__del__ = lambda self : None;
odata_collection_value_swigregister = _odata_client_python.odata_collection_value_swigregister
odata_collection_value_swigregister(odata_collection_value)
class odata_entity_value(odata_structured_value):
__swig_setmethods__ = {}
for _s in [odata_structured_value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, odata_entity_value, name, value)
__swig_getmethods__ = {}
for _s in [odata_structured_value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, odata_entity_value, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_odata_entity_value(*args)
try: self.this.append(this)
except: self.this = this
def get_entity_key_string(self): return _odata_client_python.odata_entity_value_get_entity_key_string(self)
__swig_destroy__ = _odata_client_python.delete_odata_entity_value
__del__ = lambda self : None;
odata_entity_value_swigregister = _odata_client_python.odata_entity_value_swigregister
odata_entity_value_swigregister(odata_entity_value)
class odata_enum_value(odata_value):
__swig_setmethods__ = {}
for _s in [odata_value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, odata_enum_value, name, value)
__swig_getmethods__ = {}
for _s in [odata_value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, odata_enum_value, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_odata_enum_value(*args)
try: self.this.append(this)
except: self.this = this
def to_string(self): return _odata_client_python.odata_enum_value_to_string(self)
__swig_destroy__ = _odata_client_python.delete_odata_enum_value
__del__ = lambda self : None;
odata_enum_value_swigregister = _odata_client_python.odata_enum_value_swigregister
odata_enum_value_swigregister(odata_enum_value)
class odata_complex_value(odata_structured_value):
__swig_setmethods__ = {}
for _s in [odata_structured_value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, odata_complex_value, name, value)
__swig_getmethods__ = {}
for _s in [odata_structured_value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, odata_complex_value, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_odata_complex_value(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _odata_client_python.delete_odata_complex_value
__del__ = lambda self : None;
odata_complex_value_swigregister = _odata_client_python.odata_complex_value_swigregister
odata_complex_value_swigregister(odata_complex_value)
class odata_primitive_value(odata_value):
__swig_setmethods__ = {}
for _s in [odata_value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, odata_primitive_value, name, value)
__swig_getmethods__ = {}
for _s in [odata_value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, odata_primitive_value, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_odata_primitive_value(*args)
try: self.this.append(this)
except: self.this = this
__swig_getmethods__["make_primitive_value"] = lambda x: _odata_client_python.odata_primitive_value_make_primitive_value
if _newclass:make_primitive_value = staticmethod(_odata_client_python.odata_primitive_value_make_primitive_value)
def to_string(self): return _odata_client_python.odata_primitive_value_to_string(self)
def get_primitive_type(self): return _odata_client_python.odata_primitive_value_get_primitive_type(self)
__swig_destroy__ = _odata_client_python.delete_odata_primitive_value
__del__ = lambda self : None;
odata_primitive_value_swigregister = _odata_client_python.odata_primitive_value_swigregister
odata_primitive_value_swigregister(odata_primitive_value)
def odata_primitive_value_make_primitive_value(*args):
return _odata_client_python.odata_primitive_value_make_primitive_value(*args)
odata_primitive_value_make_primitive_value = _odata_client_python.odata_primitive_value_make_primitive_value
class odata_parameter(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, odata_parameter, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, odata_parameter, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _odata_client_python.new_odata_parameter(*args)
try: self.this.append(this)
except: self.this = this
def get_name(self): return _odata_client_python.odata_parameter_get_name(self)
def set_name(self, *args): return _odata_client_python.odata_parameter_set_name(self, *args)
def get_value(self): return _odata_client_python.odata_parameter_get_value(self)
def set_value(self, *args): return _odata_client_python.odata_parameter_set_value(self, *args)
__swig_destroy__ = _odata_client_python.delete_odata_parameter
__del__ = lambda self : None;
odata_parameter_swigregister = _odata_client_python.odata_parameter_swigregister
odata_parameter_swigregister(odata_parameter)
class odata_entity_model_builder(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, odata_entity_model_builder, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, odata_entity_model_builder, name)
__repr__ = _swig_repr
__swig_getmethods__["compute_edit_link"] = lambda x: _odata_client_python.odata_entity_model_builder_compute_edit_link
if _newclass:compute_edit_link = staticmethod(_odata_client_python.odata_entity_model_builder_compute_edit_link)
__swig_getmethods__["get_entity_key_value_string"] = lambda x: _odata_client_python.odata_entity_model_builder_get_entity_key_value_string