/
chart_charts_details.py
469 lines (342 loc) · 13.7 KB
/
chart_charts_details.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
# coding: utf-8
"""
OOXML Automation
This API helps users convert Excel and Powerpoint documents into rich, live dashboards and stories. # noqa: E501
The version of the OpenAPI document: 0.1.0-no-tags
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
class ChartChartsDetails(object):
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
"""
openapi_types = {
'parent_graphic_id': 'str',
'parent_graphic': 'SlideGraphicsDetails',
'svg_blob_url': 'str',
'title_text_container': 'SharedTextContainerDetails',
'chart_data': 'ChartChartDataDetails',
'axes': 'list[ChartAxesDetails]',
'base_element_blob_url': 'str',
'changed_base_element_blob_url': 'str',
'package_uri': 'str',
'name': 'str',
'id': 'str',
'date_created': 'datetime',
'user_created': 'str',
'date_modified': 'datetime',
'user_modified': 'str'
}
attribute_map = {
'parent_graphic_id': 'parentGraphicId',
'parent_graphic': 'parentGraphic',
'svg_blob_url': 'svgBlobUrl',
'title_text_container': 'titleTextContainer',
'chart_data': 'chartData',
'axes': 'axes',
'base_element_blob_url': 'baseElementBlobUrl',
'changed_base_element_blob_url': 'changedBaseElementBlobUrl',
'package_uri': 'packageUri',
'name': 'name',
'id': 'id',
'date_created': 'dateCreated',
'user_created': 'userCreated',
'date_modified': 'dateModified',
'user_modified': 'userModified'
}
def __init__(self, parent_graphic_id=None, parent_graphic=None, svg_blob_url=None, title_text_container=None, chart_data=None, axes=None, base_element_blob_url=None, changed_base_element_blob_url=None, package_uri=None, name=None, id=None, date_created=None, user_created=None, date_modified=None, user_modified=None): # noqa: E501
"""ChartChartsDetails - a model defined in OpenAPI""" # noqa: E501
self._parent_graphic_id = None
self._parent_graphic = None
self._svg_blob_url = None
self._title_text_container = None
self._chart_data = None
self._axes = None
self._base_element_blob_url = None
self._changed_base_element_blob_url = None
self._package_uri = None
self._name = None
self._id = None
self._date_created = None
self._user_created = None
self._date_modified = None
self._user_modified = None
self.discriminator = None
self.parent_graphic_id = parent_graphic_id
if parent_graphic is not None:
self.parent_graphic = parent_graphic
self.svg_blob_url = svg_blob_url
if title_text_container is not None:
self.title_text_container = title_text_container
if chart_data is not None:
self.chart_data = chart_data
self.axes = axes
self.base_element_blob_url = base_element_blob_url
self.changed_base_element_blob_url = changed_base_element_blob_url
self.package_uri = package_uri
self.name = name
if id is not None:
self.id = id
if date_created is not None:
self.date_created = date_created
if user_created is not None:
self.user_created = user_created
if date_modified is not None:
self.date_modified = date_modified
if user_modified is not None:
self.user_modified = user_modified
@property
def parent_graphic_id(self):
"""Gets the parent_graphic_id of this ChartChartsDetails. # noqa: E501
:return: The parent_graphic_id of this ChartChartsDetails. # noqa: E501
:rtype: str
"""
return self._parent_graphic_id
@parent_graphic_id.setter
def parent_graphic_id(self, parent_graphic_id):
"""Sets the parent_graphic_id of this ChartChartsDetails.
:param parent_graphic_id: The parent_graphic_id of this ChartChartsDetails. # noqa: E501
:type: str
"""
self._parent_graphic_id = parent_graphic_id
@property
def parent_graphic(self):
"""Gets the parent_graphic of this ChartChartsDetails. # noqa: E501
:return: The parent_graphic of this ChartChartsDetails. # noqa: E501
:rtype: SlideGraphicsDetails
"""
return self._parent_graphic
@parent_graphic.setter
def parent_graphic(self, parent_graphic):
"""Sets the parent_graphic of this ChartChartsDetails.
:param parent_graphic: The parent_graphic of this ChartChartsDetails. # noqa: E501
:type: SlideGraphicsDetails
"""
self._parent_graphic = parent_graphic
@property
def svg_blob_url(self):
"""Gets the svg_blob_url of this ChartChartsDetails. # noqa: E501
:return: The svg_blob_url of this ChartChartsDetails. # noqa: E501
:rtype: str
"""
return self._svg_blob_url
@svg_blob_url.setter
def svg_blob_url(self, svg_blob_url):
"""Sets the svg_blob_url of this ChartChartsDetails.
:param svg_blob_url: The svg_blob_url of this ChartChartsDetails. # noqa: E501
:type: str
"""
self._svg_blob_url = svg_blob_url
@property
def title_text_container(self):
"""Gets the title_text_container of this ChartChartsDetails. # noqa: E501
:return: The title_text_container of this ChartChartsDetails. # noqa: E501
:rtype: SharedTextContainerDetails
"""
return self._title_text_container
@title_text_container.setter
def title_text_container(self, title_text_container):
"""Sets the title_text_container of this ChartChartsDetails.
:param title_text_container: The title_text_container of this ChartChartsDetails. # noqa: E501
:type: SharedTextContainerDetails
"""
self._title_text_container = title_text_container
@property
def chart_data(self):
"""Gets the chart_data of this ChartChartsDetails. # noqa: E501
:return: The chart_data of this ChartChartsDetails. # noqa: E501
:rtype: ChartChartDataDetails
"""
return self._chart_data
@chart_data.setter
def chart_data(self, chart_data):
"""Sets the chart_data of this ChartChartsDetails.
:param chart_data: The chart_data of this ChartChartsDetails. # noqa: E501
:type: ChartChartDataDetails
"""
self._chart_data = chart_data
@property
def axes(self):
"""Gets the axes of this ChartChartsDetails. # noqa: E501
:return: The axes of this ChartChartsDetails. # noqa: E501
:rtype: list[ChartAxesDetails]
"""
return self._axes
@axes.setter
def axes(self, axes):
"""Sets the axes of this ChartChartsDetails.
:param axes: The axes of this ChartChartsDetails. # noqa: E501
:type: list[ChartAxesDetails]
"""
self._axes = axes
@property
def base_element_blob_url(self):
"""Gets the base_element_blob_url of this ChartChartsDetails. # noqa: E501
:return: The base_element_blob_url of this ChartChartsDetails. # noqa: E501
:rtype: str
"""
return self._base_element_blob_url
@base_element_blob_url.setter
def base_element_blob_url(self, base_element_blob_url):
"""Sets the base_element_blob_url of this ChartChartsDetails.
:param base_element_blob_url: The base_element_blob_url of this ChartChartsDetails. # noqa: E501
:type: str
"""
self._base_element_blob_url = base_element_blob_url
@property
def changed_base_element_blob_url(self):
"""Gets the changed_base_element_blob_url of this ChartChartsDetails. # noqa: E501
:return: The changed_base_element_blob_url of this ChartChartsDetails. # noqa: E501
:rtype: str
"""
return self._changed_base_element_blob_url
@changed_base_element_blob_url.setter
def changed_base_element_blob_url(self, changed_base_element_blob_url):
"""Sets the changed_base_element_blob_url of this ChartChartsDetails.
:param changed_base_element_blob_url: The changed_base_element_blob_url of this ChartChartsDetails. # noqa: E501
:type: str
"""
self._changed_base_element_blob_url = changed_base_element_blob_url
@property
def package_uri(self):
"""Gets the package_uri of this ChartChartsDetails. # noqa: E501
:return: The package_uri of this ChartChartsDetails. # noqa: E501
:rtype: str
"""
return self._package_uri
@package_uri.setter
def package_uri(self, package_uri):
"""Sets the package_uri of this ChartChartsDetails.
:param package_uri: The package_uri of this ChartChartsDetails. # noqa: E501
:type: str
"""
self._package_uri = package_uri
@property
def name(self):
"""Gets the name of this ChartChartsDetails. # noqa: E501
:return: The name of this ChartChartsDetails. # noqa: E501
:rtype: str
"""
return self._name
@name.setter
def name(self, name):
"""Sets the name of this ChartChartsDetails.
:param name: The name of this ChartChartsDetails. # noqa: E501
:type: str
"""
self._name = name
@property
def id(self):
"""Gets the id of this ChartChartsDetails. # noqa: E501
:return: The id of this ChartChartsDetails. # noqa: E501
:rtype: str
"""
return self._id
@id.setter
def id(self, id):
"""Sets the id of this ChartChartsDetails.
:param id: The id of this ChartChartsDetails. # noqa: E501
:type: str
"""
self._id = id
@property
def date_created(self):
"""Gets the date_created of this ChartChartsDetails. # noqa: E501
:return: The date_created of this ChartChartsDetails. # noqa: E501
:rtype: datetime
"""
return self._date_created
@date_created.setter
def date_created(self, date_created):
"""Sets the date_created of this ChartChartsDetails.
:param date_created: The date_created of this ChartChartsDetails. # noqa: E501
:type: datetime
"""
self._date_created = date_created
@property
def user_created(self):
"""Gets the user_created of this ChartChartsDetails. # noqa: E501
:return: The user_created of this ChartChartsDetails. # noqa: E501
:rtype: str
"""
return self._user_created
@user_created.setter
def user_created(self, user_created):
"""Sets the user_created of this ChartChartsDetails.
:param user_created: The user_created of this ChartChartsDetails. # noqa: E501
:type: str
"""
self._user_created = user_created
@property
def date_modified(self):
"""Gets the date_modified of this ChartChartsDetails. # noqa: E501
:return: The date_modified of this ChartChartsDetails. # noqa: E501
:rtype: datetime
"""
return self._date_modified
@date_modified.setter
def date_modified(self, date_modified):
"""Sets the date_modified of this ChartChartsDetails.
:param date_modified: The date_modified of this ChartChartsDetails. # noqa: E501
:type: datetime
"""
self._date_modified = date_modified
@property
def user_modified(self):
"""Gets the user_modified of this ChartChartsDetails. # noqa: E501
:return: The user_modified of this ChartChartsDetails. # noqa: E501
:rtype: str
"""
return self._user_modified
@user_modified.setter
def user_modified(self, user_modified):
"""Sets the user_modified of this ChartChartsDetails.
:param user_modified: The user_modified of this ChartChartsDetails. # noqa: E501
:type: str
"""
self._user_modified = user_modified
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.openapi_types):
value = getattr(self, attr)
if isinstance(value, list):
result[attr] = list(map(
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
value
))
elif hasattr(value, "to_dict"):
result[attr] = value.to_dict()
elif isinstance(value, dict):
result[attr] = dict(map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict") else item,
value.items()
))
else:
result[attr] = value
return result
def to_str(self):
"""Returns the string representation of the model"""
return pprint.pformat(self.to_dict())
def __repr__(self):
"""For `print` and `pprint`"""
return self.to_str()
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, ChartChartsDetails):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other