groupdocs-conversion-cloud 25.5__py3-none-any.whl → 25.8__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.
@@ -45,60 +45,85 @@ class EmailLoadOptions(LoadOptions):
45
45
  and the value is json key in definition.
46
46
  """
47
47
  swagger_types = {
48
- 'display_header': 'bool',
49
- 'display_from_email_address': 'bool',
50
- 'display_to_email_address': 'bool',
51
- 'display_cc_email_address': 'bool',
52
- 'display_bcc_email_address': 'bool',
53
- 'time_zone_offset': 'str',
54
- 'convert_attachments': 'bool',
48
+ 'preserve_original_date': 'bool',
55
49
  'field_labels': 'list[FieldLabel]',
56
- 'preserve_original_date': 'bool'
50
+ 'time_zone_offset': 'str',
51
+ 'display_sent': 'bool',
52
+ 'display_subject': 'bool',
53
+ 'display_attachments': 'bool',
54
+ 'display_email_addresses': 'bool',
55
+ 'display_bcc_email_address': 'bool',
56
+ 'display_cc_email_address': 'bool',
57
+ 'display_to_email_address': 'bool',
58
+ 'display_from_email_address': 'bool',
59
+ 'display_header': 'bool',
60
+ 'default_font': 'str',
61
+ 'font_substitutes': 'dict(str, str)'
57
62
  }
58
63
 
59
64
  attribute_map = {
60
- 'display_header': 'DisplayHeader',
61
- 'display_from_email_address': 'DisplayFromEmailAddress',
62
- 'display_to_email_address': 'DisplayToEmailAddress',
63
- 'display_cc_email_address': 'DisplayCcEmailAddress',
64
- 'display_bcc_email_address': 'DisplayBccEmailAddress',
65
- 'time_zone_offset': 'TimeZoneOffset',
66
- 'convert_attachments': 'ConvertAttachments',
65
+ 'preserve_original_date': 'PreserveOriginalDate',
67
66
  'field_labels': 'FieldLabels',
68
- 'preserve_original_date': 'PreserveOriginalDate'
67
+ 'time_zone_offset': 'TimeZoneOffset',
68
+ 'display_sent': 'DisplaySent',
69
+ 'display_subject': 'DisplaySubject',
70
+ 'display_attachments': 'DisplayAttachments',
71
+ 'display_email_addresses': 'DisplayEmailAddresses',
72
+ 'display_bcc_email_address': 'DisplayBccEmailAddress',
73
+ 'display_cc_email_address': 'DisplayCcEmailAddress',
74
+ 'display_to_email_address': 'DisplayToEmailAddress',
75
+ 'display_from_email_address': 'DisplayFromEmailAddress',
76
+ 'display_header': 'DisplayHeader',
77
+ 'default_font': 'DefaultFont',
78
+ 'font_substitutes': 'FontSubstitutes'
69
79
  }
70
80
 
71
- def __init__(self, display_header=None, display_from_email_address=None, display_to_email_address=None, display_cc_email_address=None, display_bcc_email_address=None, time_zone_offset=None, convert_attachments=None, field_labels=None, preserve_original_date=None, **kwargs): # noqa: E501
81
+ def __init__(self, preserve_original_date=None, field_labels=None, time_zone_offset=None, display_sent=None, display_subject=None, display_attachments=None, display_email_addresses=None, display_bcc_email_address=None, display_cc_email_address=None, display_to_email_address=None, display_from_email_address=None, display_header=None, default_font=None, font_substitutes=None, **kwargs): # noqa: E501
72
82
  """Initializes new instance of EmailLoadOptions""" # noqa: E501
73
83
 
74
- self._display_header = None
75
- self._display_from_email_address = None
76
- self._display_to_email_address = None
77
- self._display_cc_email_address = None
78
- self._display_bcc_email_address = None
79
- self._time_zone_offset = None
80
- self._convert_attachments = None
81
- self._field_labels = None
82
84
  self._preserve_original_date = None
85
+ self._field_labels = None
86
+ self._time_zone_offset = None
87
+ self._display_sent = None
88
+ self._display_subject = None
89
+ self._display_attachments = None
90
+ self._display_email_addresses = None
91
+ self._display_bcc_email_address = None
92
+ self._display_cc_email_address = None
93
+ self._display_to_email_address = None
94
+ self._display_from_email_address = None
95
+ self._display_header = None
96
+ self._default_font = None
97
+ self._font_substitutes = None
83
98
 
84
- if display_header is not None:
85
- self.display_header = display_header
86
- if display_from_email_address is not None:
87
- self.display_from_email_address = display_from_email_address
88
- if display_to_email_address is not None:
89
- self.display_to_email_address = display_to_email_address
90
- if display_cc_email_address is not None:
91
- self.display_cc_email_address = display_cc_email_address
92
- if display_bcc_email_address is not None:
93
- self.display_bcc_email_address = display_bcc_email_address
94
- if time_zone_offset is not None:
95
- self.time_zone_offset = time_zone_offset
96
- if convert_attachments is not None:
97
- self.convert_attachments = convert_attachments
98
- if field_labels is not None:
99
- self.field_labels = field_labels
100
99
  if preserve_original_date is not None:
101
100
  self.preserve_original_date = preserve_original_date
101
+ if field_labels is not None:
102
+ self.field_labels = field_labels
103
+ if time_zone_offset is not None:
104
+ self.time_zone_offset = time_zone_offset
105
+ if display_sent is not None:
106
+ self.display_sent = display_sent
107
+ if display_subject is not None:
108
+ self.display_subject = display_subject
109
+ if display_attachments is not None:
110
+ self.display_attachments = display_attachments
111
+ if display_email_addresses is not None:
112
+ self.display_email_addresses = display_email_addresses
113
+ if display_bcc_email_address is not None:
114
+ self.display_bcc_email_address = display_bcc_email_address
115
+ if display_cc_email_address is not None:
116
+ self.display_cc_email_address = display_cc_email_address
117
+ if display_to_email_address is not None:
118
+ self.display_to_email_address = display_to_email_address
119
+ if display_from_email_address is not None:
120
+ self.display_from_email_address = display_from_email_address
121
+ if display_header is not None:
122
+ self.display_header = display_header
123
+ if default_font is not None:
124
+ self.default_font = default_font
125
+ if font_substitutes is not None:
126
+ self.font_substitutes = font_substitutes
102
127
 
103
128
  base = super(EmailLoadOptions, self)
104
129
  base.__init__(**kwargs)
@@ -107,108 +132,180 @@ class EmailLoadOptions(LoadOptions):
107
132
  self.attribute_map.update(base.attribute_map)
108
133
 
109
134
  @property
110
- def display_header(self):
135
+ def preserve_original_date(self):
111
136
  """
112
- Gets the display_header. # noqa: E501
137
+ Gets the preserve_original_date. # noqa: E501
113
138
 
114
- Option to display or hide the email header. Default: true # noqa: E501
139
+ Defines whether need to keep original date header string in mail message when saving or not (Default value is true) # noqa: E501
115
140
 
116
- :return: The display_header. # noqa: E501
141
+ :return: The preserve_original_date. # noqa: E501
117
142
  :rtype: bool
118
143
  """
119
- return self._display_header
144
+ return self._preserve_original_date
120
145
 
121
- @display_header.setter
122
- def display_header(self, display_header):
146
+ @preserve_original_date.setter
147
+ def preserve_original_date(self, preserve_original_date):
123
148
  """
124
- Sets the display_header.
149
+ Sets the preserve_original_date.
125
150
 
126
- Option to display or hide the email header. Default: true # noqa: E501
151
+ Defines whether need to keep original date header string in mail message when saving or not (Default value is true) # noqa: E501
127
152
 
128
- :param display_header: The display_header. # noqa: E501
153
+ :param preserve_original_date: The preserve_original_date. # noqa: E501
129
154
  :type: bool
130
155
  """
131
- if display_header is None:
132
- raise ValueError("Invalid value for `display_header`, must not be `None`") # noqa: E501
133
- self._display_header = display_header
156
+ if preserve_original_date is None:
157
+ raise ValueError("Invalid value for `preserve_original_date`, must not be `None`") # noqa: E501
158
+ self._preserve_original_date = preserve_original_date
134
159
 
135
160
  @property
136
- def display_from_email_address(self):
161
+ def field_labels(self):
137
162
  """
138
- Gets the display_from_email_address. # noqa: E501
163
+ Gets the field_labels. # noqa: E501
139
164
 
140
- Option to display or hide \"from\" email address. Default: true # noqa: E501
165
+ The mapping between email message field and field text representation # noqa: E501
141
166
 
142
- :return: The display_from_email_address. # noqa: E501
167
+ :return: The field_labels. # noqa: E501
168
+ :rtype: list[FieldLabel]
169
+ """
170
+ return self._field_labels
171
+
172
+ @field_labels.setter
173
+ def field_labels(self, field_labels):
174
+ """
175
+ Sets the field_labels.
176
+
177
+ The mapping between email message field and field text representation # noqa: E501
178
+
179
+ :param field_labels: The field_labels. # noqa: E501
180
+ :type: list[FieldLabel]
181
+ """
182
+ self._field_labels = field_labels
183
+
184
+ @property
185
+ def time_zone_offset(self):
186
+ """
187
+ Gets the time_zone_offset. # noqa: E501
188
+
189
+ Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC. # noqa: E501
190
+
191
+ :return: The time_zone_offset. # noqa: E501
192
+ :rtype: str
193
+ """
194
+ return self._time_zone_offset
195
+
196
+ @time_zone_offset.setter
197
+ def time_zone_offset(self, time_zone_offset):
198
+ """
199
+ Sets the time_zone_offset.
200
+
201
+ Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC. # noqa: E501
202
+
203
+ :param time_zone_offset: The time_zone_offset. # noqa: E501
204
+ :type: str
205
+ """
206
+ self._time_zone_offset = time_zone_offset
207
+
208
+ @property
209
+ def display_sent(self):
210
+ """
211
+ Gets the display_sent. # noqa: E501
212
+
213
+ Option to display or hide sent date/time in the header. Default: true. # noqa: E501
214
+
215
+ :return: The display_sent. # noqa: E501
143
216
  :rtype: bool
144
217
  """
145
- return self._display_from_email_address
218
+ return self._display_sent
146
219
 
147
- @display_from_email_address.setter
148
- def display_from_email_address(self, display_from_email_address):
220
+ @display_sent.setter
221
+ def display_sent(self, display_sent):
149
222
  """
150
- Sets the display_from_email_address.
223
+ Sets the display_sent.
151
224
 
152
- Option to display or hide \"from\" email address. Default: true # noqa: E501
225
+ Option to display or hide sent date/time in the header. Default: true. # noqa: E501
153
226
 
154
- :param display_from_email_address: The display_from_email_address. # noqa: E501
227
+ :param display_sent: The display_sent. # noqa: E501
155
228
  :type: bool
156
229
  """
157
- if display_from_email_address is None:
158
- raise ValueError("Invalid value for `display_from_email_address`, must not be `None`") # noqa: E501
159
- self._display_from_email_address = display_from_email_address
230
+ if display_sent is None:
231
+ raise ValueError("Invalid value for `display_sent`, must not be `None`") # noqa: E501
232
+ self._display_sent = display_sent
160
233
 
161
234
  @property
162
- def display_to_email_address(self):
235
+ def display_subject(self):
163
236
  """
164
- Gets the display_to_email_address. # noqa: E501
237
+ Gets the display_subject. # noqa: E501
165
238
 
166
- Option to display or hide \"to\" email address. Default: true # noqa: E501
239
+ Option to display or hide subject in the header. Default: true. # noqa: E501
167
240
 
168
- :return: The display_to_email_address. # noqa: E501
241
+ :return: The display_subject. # noqa: E501
169
242
  :rtype: bool
170
243
  """
171
- return self._display_to_email_address
244
+ return self._display_subject
172
245
 
173
- @display_to_email_address.setter
174
- def display_to_email_address(self, display_to_email_address):
246
+ @display_subject.setter
247
+ def display_subject(self, display_subject):
175
248
  """
176
- Sets the display_to_email_address.
249
+ Sets the display_subject.
177
250
 
178
- Option to display or hide \"to\" email address. Default: true # noqa: E501
251
+ Option to display or hide subject in the header. Default: true. # noqa: E501
179
252
 
180
- :param display_to_email_address: The display_to_email_address. # noqa: E501
253
+ :param display_subject: The display_subject. # noqa: E501
181
254
  :type: bool
182
255
  """
183
- if display_to_email_address is None:
184
- raise ValueError("Invalid value for `display_to_email_address`, must not be `None`") # noqa: E501
185
- self._display_to_email_address = display_to_email_address
256
+ if display_subject is None:
257
+ raise ValueError("Invalid value for `display_subject`, must not be `None`") # noqa: E501
258
+ self._display_subject = display_subject
186
259
 
187
260
  @property
188
- def display_cc_email_address(self):
261
+ def display_attachments(self):
189
262
  """
190
- Gets the display_cc_email_address. # noqa: E501
263
+ Gets the display_attachments. # noqa: E501
191
264
 
192
- Option to display or hide \"Cc\" email address. Default: false # noqa: E501
265
+ Option to display or hide attachments in the header. Default: true. # noqa: E501
193
266
 
194
- :return: The display_cc_email_address. # noqa: E501
267
+ :return: The display_attachments. # noqa: E501
195
268
  :rtype: bool
196
269
  """
197
- return self._display_cc_email_address
270
+ return self._display_attachments
198
271
 
199
- @display_cc_email_address.setter
200
- def display_cc_email_address(self, display_cc_email_address):
272
+ @display_attachments.setter
273
+ def display_attachments(self, display_attachments):
201
274
  """
202
- Sets the display_cc_email_address.
275
+ Sets the display_attachments.
203
276
 
204
- Option to display or hide \"Cc\" email address. Default: false # noqa: E501
277
+ Option to display or hide attachments in the header. Default: true. # noqa: E501
205
278
 
206
- :param display_cc_email_address: The display_cc_email_address. # noqa: E501
279
+ :param display_attachments: The display_attachments. # noqa: E501
207
280
  :type: bool
208
281
  """
209
- if display_cc_email_address is None:
210
- raise ValueError("Invalid value for `display_cc_email_address`, must not be `None`") # noqa: E501
211
- self._display_cc_email_address = display_cc_email_address
282
+ if display_attachments is None:
283
+ raise ValueError("Invalid value for `display_attachments`, must not be `None`") # noqa: E501
284
+ self._display_attachments = display_attachments
285
+
286
+ @property
287
+ def display_email_addresses(self):
288
+ """
289
+ Gets the display_email_addresses. # noqa: E501
290
+
291
+
292
+ :return: The display_email_addresses. # noqa: E501
293
+ :rtype: bool
294
+ """
295
+ return self._display_email_addresses
296
+
297
+ @display_email_addresses.setter
298
+ def display_email_addresses(self, display_email_addresses):
299
+ """
300
+ Sets the display_email_addresses.
301
+
302
+
303
+ :param display_email_addresses: The display_email_addresses. # noqa: E501
304
+ :type: bool
305
+ """
306
+ if display_email_addresses is None:
307
+ raise ValueError("Invalid value for `display_email_addresses`, must not be `None`") # noqa: E501
308
+ self._display_email_addresses = display_email_addresses
212
309
 
213
310
  @property
214
311
  def display_bcc_email_address(self):
@@ -237,104 +334,156 @@ class EmailLoadOptions(LoadOptions):
237
334
  self._display_bcc_email_address = display_bcc_email_address
238
335
 
239
336
  @property
240
- def time_zone_offset(self):
337
+ def display_cc_email_address(self):
241
338
  """
242
- Gets the time_zone_offset. # noqa: E501
339
+ Gets the display_cc_email_address. # noqa: E501
243
340
 
244
- Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC. # noqa: E501
341
+ Option to display or hide \"Cc\" email address. Default: false # noqa: E501
245
342
 
246
- :return: The time_zone_offset. # noqa: E501
247
- :rtype: str
343
+ :return: The display_cc_email_address. # noqa: E501
344
+ :rtype: bool
248
345
  """
249
- return self._time_zone_offset
346
+ return self._display_cc_email_address
250
347
 
251
- @time_zone_offset.setter
252
- def time_zone_offset(self, time_zone_offset):
348
+ @display_cc_email_address.setter
349
+ def display_cc_email_address(self, display_cc_email_address):
253
350
  """
254
- Sets the time_zone_offset.
351
+ Sets the display_cc_email_address.
255
352
 
256
- Gets or sets the Coordinated Universal Time (UTC) offset for the message dates. This property defines the time zone difference, between the localtime and UTC. # noqa: E501
353
+ Option to display or hide \"Cc\" email address. Default: false # noqa: E501
257
354
 
258
- :param time_zone_offset: The time_zone_offset. # noqa: E501
259
- :type: str
355
+ :param display_cc_email_address: The display_cc_email_address. # noqa: E501
356
+ :type: bool
260
357
  """
261
- self._time_zone_offset = time_zone_offset
358
+ if display_cc_email_address is None:
359
+ raise ValueError("Invalid value for `display_cc_email_address`, must not be `None`") # noqa: E501
360
+ self._display_cc_email_address = display_cc_email_address
262
361
 
263
362
  @property
264
- def convert_attachments(self):
363
+ def display_to_email_address(self):
265
364
  """
266
- Gets the convert_attachments. # noqa: E501
365
+ Gets the display_to_email_address. # noqa: E501
267
366
 
268
- Option to convert attachments in source email or not. Default: false. # noqa: E501
367
+ Option to display or hide \"to\" email address. Default: true # noqa: E501
269
368
 
270
- :return: The convert_attachments. # noqa: E501
369
+ :return: The display_to_email_address. # noqa: E501
271
370
  :rtype: bool
272
371
  """
273
- return self._convert_attachments
372
+ return self._display_to_email_address
274
373
 
275
- @convert_attachments.setter
276
- def convert_attachments(self, convert_attachments):
374
+ @display_to_email_address.setter
375
+ def display_to_email_address(self, display_to_email_address):
277
376
  """
278
- Sets the convert_attachments.
377
+ Sets the display_to_email_address.
279
378
 
280
- Option to convert attachments in source email or not. Default: false. # noqa: E501
379
+ Option to display or hide \"to\" email address. Default: true # noqa: E501
281
380
 
282
- :param convert_attachments: The convert_attachments. # noqa: E501
381
+ :param display_to_email_address: The display_to_email_address. # noqa: E501
283
382
  :type: bool
284
383
  """
285
- if convert_attachments is None:
286
- raise ValueError("Invalid value for `convert_attachments`, must not be `None`") # noqa: E501
287
- self._convert_attachments = convert_attachments
384
+ if display_to_email_address is None:
385
+ raise ValueError("Invalid value for `display_to_email_address`, must not be `None`") # noqa: E501
386
+ self._display_to_email_address = display_to_email_address
288
387
 
289
388
  @property
290
- def field_labels(self):
389
+ def display_from_email_address(self):
291
390
  """
292
- Gets the field_labels. # noqa: E501
391
+ Gets the display_from_email_address. # noqa: E501
293
392
 
294
- The mapping between email message field and field text representation # noqa: E501
393
+ Option to display or hide \"from\" email address. Default: true # noqa: E501
295
394
 
296
- :return: The field_labels. # noqa: E501
297
- :rtype: list[FieldLabel]
395
+ :return: The display_from_email_address. # noqa: E501
396
+ :rtype: bool
298
397
  """
299
- return self._field_labels
398
+ return self._display_from_email_address
300
399
 
301
- @field_labels.setter
302
- def field_labels(self, field_labels):
400
+ @display_from_email_address.setter
401
+ def display_from_email_address(self, display_from_email_address):
303
402
  """
304
- Sets the field_labels.
403
+ Sets the display_from_email_address.
305
404
 
306
- The mapping between email message field and field text representation # noqa: E501
405
+ Option to display or hide \"from\" email address. Default: true # noqa: E501
307
406
 
308
- :param field_labels: The field_labels. # noqa: E501
309
- :type: list[FieldLabel]
407
+ :param display_from_email_address: The display_from_email_address. # noqa: E501
408
+ :type: bool
310
409
  """
311
- self._field_labels = field_labels
410
+ if display_from_email_address is None:
411
+ raise ValueError("Invalid value for `display_from_email_address`, must not be `None`") # noqa: E501
412
+ self._display_from_email_address = display_from_email_address
312
413
 
313
414
  @property
314
- def preserve_original_date(self):
415
+ def display_header(self):
315
416
  """
316
- Gets the preserve_original_date. # noqa: E501
417
+ Gets the display_header. # noqa: E501
317
418
 
318
- Defines whether need to keep original date header string in mail message when saving or not (Default value is true) # noqa: E501
419
+ Option to display or hide the email header. Default: true # noqa: E501
319
420
 
320
- :return: The preserve_original_date. # noqa: E501
421
+ :return: The display_header. # noqa: E501
321
422
  :rtype: bool
322
423
  """
323
- return self._preserve_original_date
424
+ return self._display_header
324
425
 
325
- @preserve_original_date.setter
326
- def preserve_original_date(self, preserve_original_date):
426
+ @display_header.setter
427
+ def display_header(self, display_header):
327
428
  """
328
- Sets the preserve_original_date.
429
+ Sets the display_header.
329
430
 
330
- Defines whether need to keep original date header string in mail message when saving or not (Default value is true) # noqa: E501
431
+ Option to display or hide the email header. Default: true # noqa: E501
331
432
 
332
- :param preserve_original_date: The preserve_original_date. # noqa: E501
433
+ :param display_header: The display_header. # noqa: E501
333
434
  :type: bool
334
435
  """
335
- if preserve_original_date is None:
336
- raise ValueError("Invalid value for `preserve_original_date`, must not be `None`") # noqa: E501
337
- self._preserve_original_date = preserve_original_date
436
+ if display_header is None:
437
+ raise ValueError("Invalid value for `display_header`, must not be `None`") # noqa: E501
438
+ self._display_header = display_header
439
+
440
+ @property
441
+ def default_font(self):
442
+ """
443
+ Gets the default_font. # noqa: E501
444
+
445
+ Default font for Email document. The following font will be used if a font is missing. # noqa: E501
446
+
447
+ :return: The default_font. # noqa: E501
448
+ :rtype: str
449
+ """
450
+ return self._default_font
451
+
452
+ @default_font.setter
453
+ def default_font(self, default_font):
454
+ """
455
+ Sets the default_font.
456
+
457
+ Default font for Email document. The following font will be used if a font is missing. # noqa: E501
458
+
459
+ :param default_font: The default_font. # noqa: E501
460
+ :type: str
461
+ """
462
+ self._default_font = default_font
463
+
464
+ @property
465
+ def font_substitutes(self):
466
+ """
467
+ Gets the font_substitutes. # noqa: E501
468
+
469
+ List of font substitutes. # noqa: E501
470
+
471
+ :return: The font_substitutes. # noqa: E501
472
+ :rtype: dict(str, str)
473
+ """
474
+ return self._font_substitutes
475
+
476
+ @font_substitutes.setter
477
+ def font_substitutes(self, font_substitutes):
478
+ """
479
+ Sets the font_substitutes.
480
+
481
+ List of font substitutes. # noqa: E501
482
+
483
+ :param font_substitutes: The font_substitutes. # noqa: E501
484
+ :type: dict(str, str)
485
+ """
486
+ self._font_substitutes = font_substitutes
338
487
 
339
488
  def to_dict(self):
340
489
  """Returns the model properties as a dict"""