groupdocs-conversion-cloud 25.4__py3-none-any.whl → 25.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- groupdocs_conversion_cloud/api_client.py +2 -2
- groupdocs_conversion_cloud/configuration.py +2 -2
- groupdocs_conversion_cloud/models/presentation_load_options.py +275 -42
- groupdocs_conversion_cloud/models/spreadsheet_load_options.py +29 -21
- groupdocs_conversion_cloud/models/word_processing_load_options.py +662 -65
- {groupdocs_conversion_cloud-25.4.dist-info → groupdocs_conversion_cloud-25.6.dist-info}/METADATA +1 -1
- {groupdocs_conversion_cloud-25.4.dist-info → groupdocs_conversion_cloud-25.6.dist-info}/RECORD +10 -10
- {groupdocs_conversion_cloud-25.4.dist-info → groupdocs_conversion_cloud-25.6.dist-info}/WHEEL +1 -1
- {groupdocs_conversion_cloud-25.4.dist-info → groupdocs_conversion_cloud-25.6.dist-info}/licenses/LICENSE +0 -0
- {groupdocs_conversion_cloud-25.4.dist-info → groupdocs_conversion_cloud-25.6.dist-info}/top_level.txt +0 -0
@@ -74,12 +74,12 @@ class ApiClient(object):
|
|
74
74
|
self.configuration = configuration
|
75
75
|
self.pool = None
|
76
76
|
self.rest_client = rest.RESTClientObject(configuration)
|
77
|
-
self.default_headers = {'x-groupdocs-client': 'python sdk', 'x-groupdocs-version': '25.
|
77
|
+
self.default_headers = {'x-groupdocs-client': 'python sdk', 'x-groupdocs-version': '25.6'}
|
78
78
|
if header_name is not None:
|
79
79
|
self.default_headers[header_name] = header_value
|
80
80
|
self.cookie = cookie
|
81
81
|
# Set default User-Agent.
|
82
|
-
self.user_agent = 'python sdk 25.
|
82
|
+
self.user_agent = 'python sdk 25.6'
|
83
83
|
|
84
84
|
def __del__(self):
|
85
85
|
if self.pool is not None:
|
@@ -202,6 +202,6 @@ class Configuration(object):
|
|
202
202
|
return "Python SDK Debug Report:\n"\
|
203
203
|
"OS: {env}\n"\
|
204
204
|
"Python Version: {pyversion}\n"\
|
205
|
-
"Version of the API: 25.
|
206
|
-
"SDK Package Version: 25.
|
205
|
+
"Version of the API: 25.6\n"\
|
206
|
+
"SDK Package Version: 25.6".\
|
207
207
|
format(env=sys.platform, pyversion=sys.version)
|
@@ -45,40 +45,75 @@ class PresentationLoadOptions(LoadOptions):
|
|
45
45
|
and the value is json key in definition.
|
46
46
|
"""
|
47
47
|
swagger_types = {
|
48
|
+
'preserve_document_structure': 'bool',
|
49
|
+
'clear_custom_document_properties': 'bool',
|
50
|
+
'clear_built_in_document_properties': 'bool',
|
51
|
+
'depth': 'int',
|
52
|
+
'convert_owned': 'bool',
|
53
|
+
'convert_owner': 'bool',
|
54
|
+
'show_hidden_slides': 'bool',
|
48
55
|
'default_font': 'str',
|
49
56
|
'font_substitutes': 'dict(str, str)',
|
50
57
|
'password': 'str',
|
51
|
-
'
|
52
|
-
'
|
58
|
+
'comments_position': 'str',
|
59
|
+
'notes_position': 'str'
|
53
60
|
}
|
54
61
|
|
55
62
|
attribute_map = {
|
63
|
+
'preserve_document_structure': 'PreserveDocumentStructure',
|
64
|
+
'clear_custom_document_properties': 'ClearCustomDocumentProperties',
|
65
|
+
'clear_built_in_document_properties': 'ClearBuiltInDocumentProperties',
|
66
|
+
'depth': 'Depth',
|
67
|
+
'convert_owned': 'ConvertOwned',
|
68
|
+
'convert_owner': 'ConvertOwner',
|
69
|
+
'show_hidden_slides': 'ShowHiddenSlides',
|
56
70
|
'default_font': 'DefaultFont',
|
57
71
|
'font_substitutes': 'FontSubstitutes',
|
58
72
|
'password': 'Password',
|
59
|
-
'
|
60
|
-
'
|
73
|
+
'comments_position': 'CommentsPosition',
|
74
|
+
'notes_position': 'NotesPosition'
|
61
75
|
}
|
62
76
|
|
63
|
-
def __init__(self, default_font=None, font_substitutes=None, password=None,
|
77
|
+
def __init__(self, preserve_document_structure=None, clear_custom_document_properties=None, clear_built_in_document_properties=None, depth=None, convert_owned=None, convert_owner=None, show_hidden_slides=None, default_font=None, font_substitutes=None, password=None, comments_position=None, notes_position=None, **kwargs): # noqa: E501
|
64
78
|
"""Initializes new instance of PresentationLoadOptions""" # noqa: E501
|
65
79
|
|
80
|
+
self._preserve_document_structure = None
|
81
|
+
self._clear_custom_document_properties = None
|
82
|
+
self._clear_built_in_document_properties = None
|
83
|
+
self._depth = None
|
84
|
+
self._convert_owned = None
|
85
|
+
self._convert_owner = None
|
86
|
+
self._show_hidden_slides = None
|
66
87
|
self._default_font = None
|
67
88
|
self._font_substitutes = None
|
68
89
|
self._password = None
|
69
|
-
self.
|
70
|
-
self.
|
71
|
-
|
90
|
+
self._comments_position = None
|
91
|
+
self._notes_position = None
|
92
|
+
|
93
|
+
if preserve_document_structure is not None:
|
94
|
+
self.preserve_document_structure = preserve_document_structure
|
95
|
+
if clear_custom_document_properties is not None:
|
96
|
+
self.clear_custom_document_properties = clear_custom_document_properties
|
97
|
+
if clear_built_in_document_properties is not None:
|
98
|
+
self.clear_built_in_document_properties = clear_built_in_document_properties
|
99
|
+
if depth is not None:
|
100
|
+
self.depth = depth
|
101
|
+
if convert_owned is not None:
|
102
|
+
self.convert_owned = convert_owned
|
103
|
+
if convert_owner is not None:
|
104
|
+
self.convert_owner = convert_owner
|
105
|
+
if show_hidden_slides is not None:
|
106
|
+
self.show_hidden_slides = show_hidden_slides
|
72
107
|
if default_font is not None:
|
73
108
|
self.default_font = default_font
|
74
109
|
if font_substitutes is not None:
|
75
110
|
self.font_substitutes = font_substitutes
|
76
111
|
if password is not None:
|
77
112
|
self.password = password
|
78
|
-
if
|
79
|
-
self.
|
80
|
-
if
|
81
|
-
self.
|
113
|
+
if comments_position is not None:
|
114
|
+
self.comments_position = comments_position
|
115
|
+
if notes_position is not None:
|
116
|
+
self.notes_position = notes_position
|
82
117
|
|
83
118
|
base = super(PresentationLoadOptions, self)
|
84
119
|
base.__init__(**kwargs)
|
@@ -86,6 +121,188 @@ class PresentationLoadOptions(LoadOptions):
|
|
86
121
|
self.swagger_types.update(base.swagger_types)
|
87
122
|
self.attribute_map.update(base.attribute_map)
|
88
123
|
|
124
|
+
@property
|
125
|
+
def preserve_document_structure(self):
|
126
|
+
"""
|
127
|
+
Gets the preserve_document_structure. # noqa: E501
|
128
|
+
|
129
|
+
Determines whether the document structure should be preserved when converting to PDF (default is false). # noqa: E501
|
130
|
+
|
131
|
+
:return: The preserve_document_structure. # noqa: E501
|
132
|
+
:rtype: bool
|
133
|
+
"""
|
134
|
+
return self._preserve_document_structure
|
135
|
+
|
136
|
+
@preserve_document_structure.setter
|
137
|
+
def preserve_document_structure(self, preserve_document_structure):
|
138
|
+
"""
|
139
|
+
Sets the preserve_document_structure.
|
140
|
+
|
141
|
+
Determines whether the document structure should be preserved when converting to PDF (default is false). # noqa: E501
|
142
|
+
|
143
|
+
:param preserve_document_structure: The preserve_document_structure. # noqa: E501
|
144
|
+
:type: bool
|
145
|
+
"""
|
146
|
+
if preserve_document_structure is None:
|
147
|
+
raise ValueError("Invalid value for `preserve_document_structure`, must not be `None`") # noqa: E501
|
148
|
+
self._preserve_document_structure = preserve_document_structure
|
149
|
+
|
150
|
+
@property
|
151
|
+
def clear_custom_document_properties(self):
|
152
|
+
"""
|
153
|
+
Gets the clear_custom_document_properties. # noqa: E501
|
154
|
+
|
155
|
+
Value indicating whether custom document properties should be cleared. # noqa: E501
|
156
|
+
|
157
|
+
:return: The clear_custom_document_properties. # noqa: E501
|
158
|
+
:rtype: bool
|
159
|
+
"""
|
160
|
+
return self._clear_custom_document_properties
|
161
|
+
|
162
|
+
@clear_custom_document_properties.setter
|
163
|
+
def clear_custom_document_properties(self, clear_custom_document_properties):
|
164
|
+
"""
|
165
|
+
Sets the clear_custom_document_properties.
|
166
|
+
|
167
|
+
Value indicating whether custom document properties should be cleared. # noqa: E501
|
168
|
+
|
169
|
+
:param clear_custom_document_properties: The clear_custom_document_properties. # noqa: E501
|
170
|
+
:type: bool
|
171
|
+
"""
|
172
|
+
if clear_custom_document_properties is None:
|
173
|
+
raise ValueError("Invalid value for `clear_custom_document_properties`, must not be `None`") # noqa: E501
|
174
|
+
self._clear_custom_document_properties = clear_custom_document_properties
|
175
|
+
|
176
|
+
@property
|
177
|
+
def clear_built_in_document_properties(self):
|
178
|
+
"""
|
179
|
+
Gets the clear_built_in_document_properties. # noqa: E501
|
180
|
+
|
181
|
+
Value indicating whether built in document properties should be cleared. # noqa: E501
|
182
|
+
|
183
|
+
:return: The clear_built_in_document_properties. # noqa: E501
|
184
|
+
:rtype: bool
|
185
|
+
"""
|
186
|
+
return self._clear_built_in_document_properties
|
187
|
+
|
188
|
+
@clear_built_in_document_properties.setter
|
189
|
+
def clear_built_in_document_properties(self, clear_built_in_document_properties):
|
190
|
+
"""
|
191
|
+
Sets the clear_built_in_document_properties.
|
192
|
+
|
193
|
+
Value indicating whether built in document properties should be cleared. # noqa: E501
|
194
|
+
|
195
|
+
:param clear_built_in_document_properties: The clear_built_in_document_properties. # noqa: E501
|
196
|
+
:type: bool
|
197
|
+
"""
|
198
|
+
if clear_built_in_document_properties is None:
|
199
|
+
raise ValueError("Invalid value for `clear_built_in_document_properties`, must not be `None`") # noqa: E501
|
200
|
+
self._clear_built_in_document_properties = clear_built_in_document_properties
|
201
|
+
|
202
|
+
@property
|
203
|
+
def depth(self):
|
204
|
+
"""
|
205
|
+
Gets the depth. # noqa: E501
|
206
|
+
|
207
|
+
Option to control how many levels in depth to perform conversion Default: 1 # noqa: E501
|
208
|
+
|
209
|
+
:return: The depth. # noqa: E501
|
210
|
+
:rtype: int
|
211
|
+
"""
|
212
|
+
return self._depth
|
213
|
+
|
214
|
+
@depth.setter
|
215
|
+
def depth(self, depth):
|
216
|
+
"""
|
217
|
+
Sets the depth.
|
218
|
+
|
219
|
+
Option to control how many levels in depth to perform conversion Default: 1 # noqa: E501
|
220
|
+
|
221
|
+
:param depth: The depth. # noqa: E501
|
222
|
+
:type: int
|
223
|
+
"""
|
224
|
+
if depth is None:
|
225
|
+
raise ValueError("Invalid value for `depth`, must not be `None`") # noqa: E501
|
226
|
+
self._depth = depth
|
227
|
+
|
228
|
+
@property
|
229
|
+
def convert_owned(self):
|
230
|
+
"""
|
231
|
+
Gets the convert_owned. # noqa: E501
|
232
|
+
|
233
|
+
Option to control whether the owned documents in the documents container must be converted # noqa: E501
|
234
|
+
|
235
|
+
:return: The convert_owned. # noqa: E501
|
236
|
+
:rtype: bool
|
237
|
+
"""
|
238
|
+
return self._convert_owned
|
239
|
+
|
240
|
+
@convert_owned.setter
|
241
|
+
def convert_owned(self, convert_owned):
|
242
|
+
"""
|
243
|
+
Sets the convert_owned.
|
244
|
+
|
245
|
+
Option to control whether the owned documents in the documents container must be converted # noqa: E501
|
246
|
+
|
247
|
+
:param convert_owned: The convert_owned. # noqa: E501
|
248
|
+
:type: bool
|
249
|
+
"""
|
250
|
+
if convert_owned is None:
|
251
|
+
raise ValueError("Invalid value for `convert_owned`, must not be `None`") # noqa: E501
|
252
|
+
self._convert_owned = convert_owned
|
253
|
+
|
254
|
+
@property
|
255
|
+
def convert_owner(self):
|
256
|
+
"""
|
257
|
+
Gets the convert_owner. # noqa: E501
|
258
|
+
|
259
|
+
Option to control whether the documents container itself must be converted If this property is true the documents container will be the first converted document Default is true # noqa: E501
|
260
|
+
|
261
|
+
:return: The convert_owner. # noqa: E501
|
262
|
+
:rtype: bool
|
263
|
+
"""
|
264
|
+
return self._convert_owner
|
265
|
+
|
266
|
+
@convert_owner.setter
|
267
|
+
def convert_owner(self, convert_owner):
|
268
|
+
"""
|
269
|
+
Sets the convert_owner.
|
270
|
+
|
271
|
+
Option to control whether the documents container itself must be converted If this property is true the documents container will be the first converted document Default is true # noqa: E501
|
272
|
+
|
273
|
+
:param convert_owner: The convert_owner. # noqa: E501
|
274
|
+
:type: bool
|
275
|
+
"""
|
276
|
+
if convert_owner is None:
|
277
|
+
raise ValueError("Invalid value for `convert_owner`, must not be `None`") # noqa: E501
|
278
|
+
self._convert_owner = convert_owner
|
279
|
+
|
280
|
+
@property
|
281
|
+
def show_hidden_slides(self):
|
282
|
+
"""
|
283
|
+
Gets the show_hidden_slides. # noqa: E501
|
284
|
+
|
285
|
+
Show hidden slides. # noqa: E501
|
286
|
+
|
287
|
+
:return: The show_hidden_slides. # noqa: E501
|
288
|
+
:rtype: bool
|
289
|
+
"""
|
290
|
+
return self._show_hidden_slides
|
291
|
+
|
292
|
+
@show_hidden_slides.setter
|
293
|
+
def show_hidden_slides(self, show_hidden_slides):
|
294
|
+
"""
|
295
|
+
Sets the show_hidden_slides.
|
296
|
+
|
297
|
+
Show hidden slides. # noqa: E501
|
298
|
+
|
299
|
+
:param show_hidden_slides: The show_hidden_slides. # noqa: E501
|
300
|
+
:type: bool
|
301
|
+
"""
|
302
|
+
if show_hidden_slides is None:
|
303
|
+
raise ValueError("Invalid value for `show_hidden_slides`, must not be `None`") # noqa: E501
|
304
|
+
self._show_hidden_slides = show_hidden_slides
|
305
|
+
|
89
306
|
@property
|
90
307
|
def default_font(self):
|
91
308
|
"""
|
@@ -159,56 +376,72 @@ class PresentationLoadOptions(LoadOptions):
|
|
159
376
|
self._password = password
|
160
377
|
|
161
378
|
@property
|
162
|
-
def
|
379
|
+
def comments_position(self):
|
163
380
|
"""
|
164
|
-
Gets the
|
381
|
+
Gets the comments_position. # noqa: E501
|
165
382
|
|
166
|
-
|
383
|
+
Represents the way comments are printed with the slide. Default is None. # noqa: E501
|
167
384
|
|
168
|
-
:return: The
|
169
|
-
:rtype:
|
385
|
+
:return: The comments_position. # noqa: E501
|
386
|
+
:rtype: str
|
170
387
|
"""
|
171
|
-
return self.
|
388
|
+
return self._comments_position
|
172
389
|
|
173
|
-
@
|
174
|
-
def
|
390
|
+
@comments_position.setter
|
391
|
+
def comments_position(self, comments_position):
|
175
392
|
"""
|
176
|
-
Sets the
|
393
|
+
Sets the comments_position.
|
177
394
|
|
178
|
-
|
395
|
+
Represents the way comments are printed with the slide. Default is None. # noqa: E501
|
179
396
|
|
180
|
-
:param
|
181
|
-
:type:
|
397
|
+
:param comments_position: The comments_position. # noqa: E501
|
398
|
+
:type: str
|
182
399
|
"""
|
183
|
-
if
|
184
|
-
raise ValueError("Invalid value for `
|
185
|
-
|
400
|
+
if comments_position is None:
|
401
|
+
raise ValueError("Invalid value for `comments_position`, must not be `None`") # noqa: E501
|
402
|
+
allowed_values = ["None", "Bottom", "Right"] # noqa: E501
|
403
|
+
if not comments_position.isdigit():
|
404
|
+
if comments_position not in allowed_values:
|
405
|
+
raise ValueError(
|
406
|
+
"Invalid value for `comments_position` ({0}), must be one of {1}" # noqa: E501
|
407
|
+
.format(comments_position, allowed_values))
|
408
|
+
self._comments_position = comments_position
|
409
|
+
else:
|
410
|
+
self._comments_position = allowed_values[int(comments_position) if six.PY3 else long(comments_position)]
|
186
411
|
|
187
412
|
@property
|
188
|
-
def
|
413
|
+
def notes_position(self):
|
189
414
|
"""
|
190
|
-
Gets the
|
415
|
+
Gets the notes_position. # noqa: E501
|
191
416
|
|
192
|
-
|
417
|
+
Represents the way notes are printed with the slide. Default is None. # noqa: E501
|
193
418
|
|
194
|
-
:return: The
|
195
|
-
:rtype:
|
419
|
+
:return: The notes_position. # noqa: E501
|
420
|
+
:rtype: str
|
196
421
|
"""
|
197
|
-
return self.
|
422
|
+
return self._notes_position
|
198
423
|
|
199
|
-
@
|
200
|
-
def
|
424
|
+
@notes_position.setter
|
425
|
+
def notes_position(self, notes_position):
|
201
426
|
"""
|
202
|
-
Sets the
|
427
|
+
Sets the notes_position.
|
203
428
|
|
204
|
-
|
429
|
+
Represents the way notes are printed with the slide. Default is None. # noqa: E501
|
205
430
|
|
206
|
-
:param
|
207
|
-
:type:
|
431
|
+
:param notes_position: The notes_position. # noqa: E501
|
432
|
+
:type: str
|
208
433
|
"""
|
209
|
-
if
|
210
|
-
raise ValueError("Invalid value for `
|
211
|
-
|
434
|
+
if notes_position is None:
|
435
|
+
raise ValueError("Invalid value for `notes_position`, must not be `None`") # noqa: E501
|
436
|
+
allowed_values = ["None", "BottomTruncated", "BottomFull"] # noqa: E501
|
437
|
+
if not notes_position.isdigit():
|
438
|
+
if notes_position not in allowed_values:
|
439
|
+
raise ValueError(
|
440
|
+
"Invalid value for `notes_position` ({0}), must be one of {1}" # noqa: E501
|
441
|
+
.format(notes_position, allowed_values))
|
442
|
+
self._notes_position = notes_position
|
443
|
+
else:
|
444
|
+
self._notes_position = allowed_values[int(notes_position) if six.PY3 else long(notes_position)]
|
212
445
|
|
213
446
|
def to_dict(self):
|
214
447
|
"""Returns the model properties as a dict"""
|
@@ -53,7 +53,7 @@ class SpreadsheetLoadOptions(LoadOptions):
|
|
53
53
|
'convert_range': 'str',
|
54
54
|
'skip_empty_rows_and_columns': 'bool',
|
55
55
|
'password': 'str',
|
56
|
-
'
|
56
|
+
'print_comments': 'str'
|
57
57
|
}
|
58
58
|
|
59
59
|
attribute_map = {
|
@@ -65,10 +65,10 @@ class SpreadsheetLoadOptions(LoadOptions):
|
|
65
65
|
'convert_range': 'ConvertRange',
|
66
66
|
'skip_empty_rows_and_columns': 'SkipEmptyRowsAndColumns',
|
67
67
|
'password': 'Password',
|
68
|
-
'
|
68
|
+
'print_comments': 'PrintComments'
|
69
69
|
}
|
70
70
|
|
71
|
-
def __init__(self, default_font=None, font_substitutes=None, show_grid_lines=None, show_hidden_sheets=None, one_page_per_sheet=None, convert_range=None, skip_empty_rows_and_columns=None, password=None,
|
71
|
+
def __init__(self, default_font=None, font_substitutes=None, show_grid_lines=None, show_hidden_sheets=None, one_page_per_sheet=None, convert_range=None, skip_empty_rows_and_columns=None, password=None, print_comments=None, **kwargs): # noqa: E501
|
72
72
|
"""Initializes new instance of SpreadsheetLoadOptions""" # noqa: E501
|
73
73
|
|
74
74
|
self._default_font = None
|
@@ -79,7 +79,7 @@ class SpreadsheetLoadOptions(LoadOptions):
|
|
79
79
|
self._convert_range = None
|
80
80
|
self._skip_empty_rows_and_columns = None
|
81
81
|
self._password = None
|
82
|
-
self.
|
82
|
+
self._print_comments = None
|
83
83
|
|
84
84
|
if default_font is not None:
|
85
85
|
self.default_font = default_font
|
@@ -97,8 +97,8 @@ class SpreadsheetLoadOptions(LoadOptions):
|
|
97
97
|
self.skip_empty_rows_and_columns = skip_empty_rows_and_columns
|
98
98
|
if password is not None:
|
99
99
|
self.password = password
|
100
|
-
if
|
101
|
-
self.
|
100
|
+
if print_comments is not None:
|
101
|
+
self.print_comments = print_comments
|
102
102
|
|
103
103
|
base = super(SpreadsheetLoadOptions, self)
|
104
104
|
base.__init__(**kwargs)
|
@@ -307,30 +307,38 @@ class SpreadsheetLoadOptions(LoadOptions):
|
|
307
307
|
self._password = password
|
308
308
|
|
309
309
|
@property
|
310
|
-
def
|
310
|
+
def print_comments(self):
|
311
311
|
"""
|
312
|
-
Gets the
|
312
|
+
Gets the print_comments. # noqa: E501
|
313
313
|
|
314
|
-
|
314
|
+
Represents the way comments are printed with the sheet. Default is PrintNoComments. # noqa: E501
|
315
315
|
|
316
|
-
:return: The
|
317
|
-
:rtype:
|
316
|
+
:return: The print_comments. # noqa: E501
|
317
|
+
:rtype: str
|
318
318
|
"""
|
319
|
-
return self.
|
319
|
+
return self._print_comments
|
320
320
|
|
321
|
-
@
|
322
|
-
def
|
321
|
+
@print_comments.setter
|
322
|
+
def print_comments(self, print_comments):
|
323
323
|
"""
|
324
|
-
Sets the
|
324
|
+
Sets the print_comments.
|
325
325
|
|
326
|
-
|
326
|
+
Represents the way comments are printed with the sheet. Default is PrintNoComments. # noqa: E501
|
327
327
|
|
328
|
-
:param
|
329
|
-
:type:
|
328
|
+
:param print_comments: The print_comments. # noqa: E501
|
329
|
+
:type: str
|
330
330
|
"""
|
331
|
-
if
|
332
|
-
raise ValueError("Invalid value for `
|
333
|
-
|
331
|
+
if print_comments is None:
|
332
|
+
raise ValueError("Invalid value for `print_comments`, must not be `None`") # noqa: E501
|
333
|
+
allowed_values = ["PrintInPlace", "PrintNoComments", "PrintSheetEnd", "PrintWithThreadedComments"] # noqa: E501
|
334
|
+
if not print_comments.isdigit():
|
335
|
+
if print_comments not in allowed_values:
|
336
|
+
raise ValueError(
|
337
|
+
"Invalid value for `print_comments` ({0}), must be one of {1}" # noqa: E501
|
338
|
+
.format(print_comments, allowed_values))
|
339
|
+
self._print_comments = print_comments
|
340
|
+
else:
|
341
|
+
self._print_comments = allowed_values[int(print_comments) if six.PY3 else long(print_comments)]
|
334
342
|
|
335
343
|
def to_dict(self):
|
336
344
|
"""Returns the model properties as a dict"""
|