groupdocs_viewer_cloud 21.3 → 21.8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15027986025348300cb36ff331e8c64e172c0387
4
- data.tar.gz: d1daa21d50c02c2e7fd6d8d73a4c28d08a4ed9a5
3
+ metadata.gz: a69b1b7b00191f1184acc4a2035b927a0447bfdb
4
+ data.tar.gz: 2954dfc6e3a41d4d8b2c2f84c91145cb447b1690
5
5
  SHA512:
6
- metadata.gz: 845098d4a438f8fcc68da1b352e71581d60000688403f28476e95f6f0c57ed2fa64308755978861ed5a5060a7123ca4cc81499574d188998862c315d88c6d507
7
- data.tar.gz: c9552adcd95122fbe0972165354fda2e0bf15c4acd275b35f6c4bb335b344455465179f2c0a236a6433357c1880ceddf6ad6ba2f69411d8983285b838ae48093
6
+ metadata.gz: 769eeceba3dacab49b582017eee708355da81c5e71acb0cbb7b67056e4549577191a50d8d6002f6884e672f19f827ecf6a5cf46cc19618148681d72b3c4c554d
7
+ data.tar.gz: 0da85150ae8feca0d96dd84ca39728fde080458d9bdabef532b7db6f9cee99b13764f26816aa65486c8463506a7d39796a23f738229dbd954712a9ed10b74423
@@ -50,6 +50,7 @@ require_relative 'groupdocs_viewer_cloud/models/formats_result'
50
50
  require_relative 'groupdocs_viewer_cloud/models/info_result'
51
51
  require_relative 'groupdocs_viewer_cloud/models/layer'
52
52
  require_relative 'groupdocs_viewer_cloud/models/layout'
53
+ require_relative 'groupdocs_viewer_cloud/models/mail_storage_options'
53
54
  require_relative 'groupdocs_viewer_cloud/models/object_exist'
54
55
  require_relative 'groupdocs_viewer_cloud/models/outlook_options'
55
56
  require_relative 'groupdocs_viewer_cloud/models/outlook_view_info'
@@ -65,9 +66,11 @@ require_relative 'groupdocs_viewer_cloud/models/spreadsheet_options'
65
66
  require_relative 'groupdocs_viewer_cloud/models/storage_exist'
66
67
  require_relative 'groupdocs_viewer_cloud/models/storage_file'
67
68
  require_relative 'groupdocs_viewer_cloud/models/text_element'
69
+ require_relative 'groupdocs_viewer_cloud/models/text_options'
68
70
  require_relative 'groupdocs_viewer_cloud/models/tile'
69
71
  require_relative 'groupdocs_viewer_cloud/models/view_options'
70
72
  require_relative 'groupdocs_viewer_cloud/models/view_result'
73
+ require_relative 'groupdocs_viewer_cloud/models/visio_rendering_options'
71
74
  require_relative 'groupdocs_viewer_cloud/models/watermark'
72
75
  require_relative 'groupdocs_viewer_cloud/models/word_processing_options'
73
76
  require_relative 'groupdocs_viewer_cloud/models/attachment_view'
@@ -34,17 +34,27 @@ module GroupDocsViewerCloud
34
34
  # The folder inside the archive to be rendered
35
35
  attr_accessor :folder
36
36
 
37
+ # The filename to display in the header. By default the name of the source file is displayed.
38
+ attr_accessor :file_name
39
+
40
+ # Number of records per page (for rendering to HTML only)
41
+ attr_accessor :items_per_page
42
+
37
43
  # Attribute mapping from ruby-style variable name to JSON key.
38
44
  def self.attribute_map
39
45
  {
40
- :'folder' => :'Folder'
46
+ :'folder' => :'Folder',
47
+ :'file_name' => :'FileName',
48
+ :'items_per_page' => :'ItemsPerPage'
41
49
  }
42
50
  end
43
51
 
44
52
  # Attribute type mapping.
45
53
  def self.swagger_types
46
54
  {
47
- :'folder' => :'String'
55
+ :'folder' => :'String',
56
+ :'file_name' => :'String',
57
+ :'items_per_page' => :'Integer'
48
58
  }
49
59
  end
50
60
 
@@ -60,18 +70,31 @@ module GroupDocsViewerCloud
60
70
  self.folder = attributes[:'Folder']
61
71
  end
62
72
 
73
+ if attributes.key?(:'FileName')
74
+ self.file_name = attributes[:'FileName']
75
+ end
76
+
77
+ if attributes.key?(:'ItemsPerPage')
78
+ self.items_per_page = attributes[:'ItemsPerPage']
79
+ end
80
+
63
81
  end
64
82
 
65
83
  # Show invalid properties with the reasons. Usually used together with valid?
66
84
  # @return Array for valid properies with the reasons
67
85
  def list_invalid_properties
68
86
  invalid_properties = []
87
+ if @items_per_page.nil?
88
+ invalid_properties.push("invalid value for 'items_per_page', items_per_page cannot be nil.")
89
+ end
90
+
69
91
  return invalid_properties
70
92
  end
71
93
 
72
94
  # Check to see if the all the properties in the model are valid
73
95
  # @return true if the model is valid
74
96
  def valid?
97
+ return false if @items_per_page.nil?
75
98
  return true
76
99
  end
77
100
 
@@ -80,7 +103,9 @@ module GroupDocsViewerCloud
80
103
  def ==(other)
81
104
  return true if self.equal?(other)
82
105
  self.class == other.class &&
83
- folder == other.folder
106
+ folder == other.folder &&
107
+ file_name == other.file_name &&
108
+ items_per_page == other.items_per_page
84
109
  end
85
110
 
86
111
  # @see the `==` method
@@ -92,7 +117,7 @@ module GroupDocsViewerCloud
92
117
  # Calculates hash code according to all attributes.
93
118
  # @return [Fixnum] Hash code
94
119
  def hash
95
- [folder].hash
120
+ [folder, file_name, items_per_page].hash
96
121
  end
97
122
 
98
123
  # Downcases first letter.
@@ -36,6 +36,12 @@ module GroupDocsViewerCloud
36
36
 
37
37
  # The list of supported email message field labels: 1. Field: \"Anniversary\" - default label is \"Anniversary\". 2. Field: \"Attachments\" - default label is \"Attachments\". 3. Field: \"Bcc\" - default label is \"Bcc\". 4. Field: \"Birthday\" - default label is \"Birthday\". 5. Field: \"Business\" - default label is \"Business\". 6. Field: \"BusinessAddress\" - default label is \"Business Address\". 7. Field: \"BusinessFax\" - default label is \"Business Fax\". 8. Field: \"BusinessHomepage\" - default label is \"BusinessHomePage\". 9. Field: \"Cc\" - default label is \"Cc\". 10. Field: \"Company\" - default label is \"Company\". 11. Field: \"Department\" - default label is \"Department\". 12. Field: \"Email\" - default label is \"Email\". 13. Field: \"EmailDisplayAs\" - default label is \"Email Display As\". 14. Field: \"Email2\" - default label is \"Email2\". 15. Field: \"Email2DisplayAs\" - default label is \"Email2 Display As\". 16. Field: \"Email3\" - default label is \"Email3\". 17. Field: \"Email3DisplayAs\" - default label is \"Email3 Display As\". 18. Field: \"End\" - default label is \"End\". 19. Field: \"FirstName\" - default label is \"First Name\". 20. Field: \"From\" - default label is \"From\". 21. Field: \"FullName\" - default label is \"Full Name\". 22. Field: \"Gender\" - default label is \"Gender\". 23. Field: \"Hobbies\" - default label is \"Hobbies\". 24. Field: \"Home\" - default label is \"Home\". 25. Field: \"HomeAddress\" - default label is \"Home Address\". 26. Field: \"Importance\" - default label is \"Importance\". 27. Field: \"JobTitle\" - default label is \"Job Title\". 28. Field: \"LastName\" - default label is \"Last Name\". 29. Field: \"Location\" - default label is \"Location\". 30. Field: \"MiddleName\" - default label is \"Middle Name\". 31. Field: \"Mobile\" - default label is \"Mobile\". 32. Field: \"Organizer\" - default label is \"Organizer\". 33. Field: \"OtherAddress\" - default label is \"Other Address\". 34. Field: \"PersonalHomepage\" - default label is \"PersonalHomePage\". 35. Field: \"Profession\" - default label is \"Profession\". 36. Field: \"Recurrence\" - default label is \"Recurrence\". 37. Field: \"RecurrencePattern\" - default label is \"Recurrence Pattern\". 38. Field: \"RequiredAttendees\" - default label is \"Required Attendees\". 39. Field: \"Sent\" - default label is \"Sent\". 40. Field: \"ShowTimeAs\" - default label is \"Show Time As\". 41. Field: \"SpousePartner\" - default label is \"Spouse/Partner\". 42. Field: \"Start\" - default label is \"Start\". 43. Field: \"Subject\" - default label is \"Subject\". 44. Field: \"To\" - default label is \"To\". 45. Field: \"UserField1\" - default label is \"User Field 1\". 46. Field: \"UserField2\" - default label is \"User Field 2\". 47. Field: \"UserField3\" - default label is \"User Field 3\". 48. Field: \"UserField4\" - default label is \"User Field 4\".
38
38
  attr_accessor :field_labels
39
+
40
+ # Time Format (can be include TimeZone) for example: 'MM d yyyy HH:mm tt', if not set - current system format is used
41
+ attr_accessor :date_time_format
42
+
43
+ # Message time zone offset. Format should be compatible with .net TimeSpan
44
+ attr_accessor :time_zone_offset
39
45
  class EnumAttributeValidator
40
46
  attr_reader :datatype
41
47
  attr_reader :allowable_values
@@ -62,7 +68,9 @@ module GroupDocsViewerCloud
62
68
  def self.attribute_map
63
69
  {
64
70
  :'page_size' => :'PageSize',
65
- :'field_labels' => :'FieldLabels'
71
+ :'field_labels' => :'FieldLabels',
72
+ :'date_time_format' => :'DateTimeFormat',
73
+ :'time_zone_offset' => :'TimeZoneOffset'
66
74
  }
67
75
  end
68
76
 
@@ -70,7 +78,9 @@ module GroupDocsViewerCloud
70
78
  def self.swagger_types
71
79
  {
72
80
  :'page_size' => :'String',
73
- :'field_labels' => :'Array<FieldLabel>'
81
+ :'field_labels' => :'Array<FieldLabel>',
82
+ :'date_time_format' => :'String',
83
+ :'time_zone_offset' => :'String'
74
84
  }
75
85
  end
76
86
 
@@ -92,6 +102,14 @@ module GroupDocsViewerCloud
92
102
  end
93
103
  end
94
104
 
105
+ if attributes.key?(:'DateTimeFormat')
106
+ self.date_time_format = attributes[:'DateTimeFormat']
107
+ end
108
+
109
+ if attributes.key?(:'TimeZoneOffset')
110
+ self.time_zone_offset = attributes[:'TimeZoneOffset']
111
+ end
112
+
95
113
  end
96
114
 
97
115
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -134,7 +152,9 @@ module GroupDocsViewerCloud
134
152
  return true if self.equal?(other)
135
153
  self.class == other.class &&
136
154
  page_size == other.page_size &&
137
- field_labels == other.field_labels
155
+ field_labels == other.field_labels &&
156
+ date_time_format == other.date_time_format &&
157
+ time_zone_offset == other.time_zone_offset
138
158
  end
139
159
 
140
160
  # @see the `==` method
@@ -146,7 +166,7 @@ module GroupDocsViewerCloud
146
166
  # Calculates hash code according to all attributes.
147
167
  # @return [Fixnum] Hash code
148
168
  def hash
149
- [page_size, field_labels].hash
169
+ [page_size, field_labels, date_time_format, time_zone_offset].hash
150
170
  end
151
171
 
152
172
  # Downcases first letter.
@@ -82,6 +82,15 @@ module GroupDocsViewerCloud
82
82
  # Rendering options for Archive source file formats
83
83
  attr_accessor :archive_options
84
84
 
85
+ # Rendering options for Text source file formats
86
+ attr_accessor :text_options
87
+
88
+ # Rendering options for Mail storage (Lotus Notes, MBox) data files.
89
+ attr_accessor :mail_storage_options
90
+
91
+ # Rendering options for Visio source file formats
92
+ attr_accessor :visio_rendering_options
93
+
85
94
  # Controls output HTML document resources (styles, images and fonts) linking. By default this option is disabled and all the resources are embedded into HTML document.
86
95
  attr_accessor :external_resources
87
96
 
@@ -100,6 +109,24 @@ module GroupDocsViewerCloud
100
109
  # This option is supported for presentations only. The list of font names, to exclude from HTML document
101
110
  attr_accessor :fonts_to_exclude
102
111
 
112
+ # Indicates whether to optimize output HTML for printing.
113
+ attr_accessor :for_printing
114
+
115
+ # The height of an output image in pixels. (When converting single image to HTML only)
116
+ attr_accessor :image_height
117
+
118
+ # The width of the output image in pixels. (When converting single image to HTML only)
119
+ attr_accessor :image_width
120
+
121
+ # Max height of an output image in pixels. (When converting single image to HTML only)
122
+ attr_accessor :image_max_height
123
+
124
+ # Max width of an output image in pixels. (When converting single image to HTML only)
125
+ attr_accessor :image_max_width
126
+
127
+ # Enables HTML content will be rendered to single page
128
+ attr_accessor :render_to_single_page
129
+
103
130
  # Attribute mapping from ruby-style variable name to JSON key.
104
131
  def self.attribute_map
105
132
  {
@@ -120,12 +147,21 @@ module GroupDocsViewerCloud
120
147
  :'word_processing_options' => :'WordProcessingOptions',
121
148
  :'outlook_options' => :'OutlookOptions',
122
149
  :'archive_options' => :'ArchiveOptions',
150
+ :'text_options' => :'TextOptions',
151
+ :'mail_storage_options' => :'MailStorageOptions',
152
+ :'visio_rendering_options' => :'VisioRenderingOptions',
123
153
  :'external_resources' => :'ExternalResources',
124
154
  :'resource_path' => :'ResourcePath',
125
155
  :'is_responsive' => :'IsResponsive',
126
156
  :'minify' => :'Minify',
127
157
  :'exclude_fonts' => :'ExcludeFonts',
128
- :'fonts_to_exclude' => :'FontsToExclude'
158
+ :'fonts_to_exclude' => :'FontsToExclude',
159
+ :'for_printing' => :'ForPrinting',
160
+ :'image_height' => :'ImageHeight',
161
+ :'image_width' => :'ImageWidth',
162
+ :'image_max_height' => :'ImageMaxHeight',
163
+ :'image_max_width' => :'ImageMaxWidth',
164
+ :'render_to_single_page' => :'RenderToSinglePage'
129
165
  }
130
166
  end
131
167
 
@@ -149,12 +185,21 @@ module GroupDocsViewerCloud
149
185
  :'word_processing_options' => :'WordProcessingOptions',
150
186
  :'outlook_options' => :'OutlookOptions',
151
187
  :'archive_options' => :'ArchiveOptions',
188
+ :'text_options' => :'TextOptions',
189
+ :'mail_storage_options' => :'MailStorageOptions',
190
+ :'visio_rendering_options' => :'VisioRenderingOptions',
152
191
  :'external_resources' => :'BOOLEAN',
153
192
  :'resource_path' => :'String',
154
193
  :'is_responsive' => :'BOOLEAN',
155
194
  :'minify' => :'BOOLEAN',
156
195
  :'exclude_fonts' => :'BOOLEAN',
157
- :'fonts_to_exclude' => :'Array<String>'
196
+ :'fonts_to_exclude' => :'Array<String>',
197
+ :'for_printing' => :'BOOLEAN',
198
+ :'image_height' => :'Integer',
199
+ :'image_width' => :'Integer',
200
+ :'image_max_height' => :'Integer',
201
+ :'image_max_width' => :'Integer',
202
+ :'render_to_single_page' => :'BOOLEAN'
158
203
  }
159
204
  end
160
205
 
@@ -238,6 +283,18 @@ module GroupDocsViewerCloud
238
283
  self.archive_options = attributes[:'ArchiveOptions']
239
284
  end
240
285
 
286
+ if attributes.key?(:'TextOptions')
287
+ self.text_options = attributes[:'TextOptions']
288
+ end
289
+
290
+ if attributes.key?(:'MailStorageOptions')
291
+ self.mail_storage_options = attributes[:'MailStorageOptions']
292
+ end
293
+
294
+ if attributes.key?(:'VisioRenderingOptions')
295
+ self.visio_rendering_options = attributes[:'VisioRenderingOptions']
296
+ end
297
+
241
298
  if attributes.key?(:'ExternalResources')
242
299
  self.external_resources = attributes[:'ExternalResources']
243
300
  end
@@ -264,6 +321,30 @@ module GroupDocsViewerCloud
264
321
  end
265
322
  end
266
323
 
324
+ if attributes.key?(:'ForPrinting')
325
+ self.for_printing = attributes[:'ForPrinting']
326
+ end
327
+
328
+ if attributes.key?(:'ImageHeight')
329
+ self.image_height = attributes[:'ImageHeight']
330
+ end
331
+
332
+ if attributes.key?(:'ImageWidth')
333
+ self.image_width = attributes[:'ImageWidth']
334
+ end
335
+
336
+ if attributes.key?(:'ImageMaxHeight')
337
+ self.image_max_height = attributes[:'ImageMaxHeight']
338
+ end
339
+
340
+ if attributes.key?(:'ImageMaxWidth')
341
+ self.image_max_width = attributes[:'ImageMaxWidth']
342
+ end
343
+
344
+ if attributes.key?(:'RenderToSinglePage')
345
+ self.render_to_single_page = attributes[:'RenderToSinglePage']
346
+ end
347
+
267
348
  end
268
349
 
269
350
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -306,6 +387,30 @@ module GroupDocsViewerCloud
306
387
  invalid_properties.push("invalid value for 'exclude_fonts', exclude_fonts cannot be nil.")
307
388
  end
308
389
 
390
+ if @for_printing.nil?
391
+ invalid_properties.push("invalid value for 'for_printing', for_printing cannot be nil.")
392
+ end
393
+
394
+ if @image_height.nil?
395
+ invalid_properties.push("invalid value for 'image_height', image_height cannot be nil.")
396
+ end
397
+
398
+ if @image_width.nil?
399
+ invalid_properties.push("invalid value for 'image_width', image_width cannot be nil.")
400
+ end
401
+
402
+ if @image_max_height.nil?
403
+ invalid_properties.push("invalid value for 'image_max_height', image_max_height cannot be nil.")
404
+ end
405
+
406
+ if @image_max_width.nil?
407
+ invalid_properties.push("invalid value for 'image_max_width', image_max_width cannot be nil.")
408
+ end
409
+
410
+ if @render_to_single_page.nil?
411
+ invalid_properties.push("invalid value for 'render_to_single_page', render_to_single_page cannot be nil.")
412
+ end
413
+
309
414
  return invalid_properties
310
415
  end
311
416
 
@@ -321,6 +426,12 @@ module GroupDocsViewerCloud
321
426
  return false if @is_responsive.nil?
322
427
  return false if @minify.nil?
323
428
  return false if @exclude_fonts.nil?
429
+ return false if @for_printing.nil?
430
+ return false if @image_height.nil?
431
+ return false if @image_width.nil?
432
+ return false if @image_max_height.nil?
433
+ return false if @image_max_width.nil?
434
+ return false if @render_to_single_page.nil?
324
435
  return true
325
436
  end
326
437
 
@@ -346,12 +457,21 @@ module GroupDocsViewerCloud
346
457
  word_processing_options == other.word_processing_options &&
347
458
  outlook_options == other.outlook_options &&
348
459
  archive_options == other.archive_options &&
460
+ text_options == other.text_options &&
461
+ mail_storage_options == other.mail_storage_options &&
462
+ visio_rendering_options == other.visio_rendering_options &&
349
463
  external_resources == other.external_resources &&
350
464
  resource_path == other.resource_path &&
351
465
  is_responsive == other.is_responsive &&
352
466
  minify == other.minify &&
353
467
  exclude_fonts == other.exclude_fonts &&
354
- fonts_to_exclude == other.fonts_to_exclude
468
+ fonts_to_exclude == other.fonts_to_exclude &&
469
+ for_printing == other.for_printing &&
470
+ image_height == other.image_height &&
471
+ image_width == other.image_width &&
472
+ image_max_height == other.image_max_height &&
473
+ image_max_width == other.image_max_width &&
474
+ render_to_single_page == other.render_to_single_page
355
475
  end
356
476
 
357
477
  # @see the `==` method
@@ -363,7 +483,7 @@ module GroupDocsViewerCloud
363
483
  # Calculates hash code according to all attributes.
364
484
  # @return [Fixnum] Hash code
365
485
  def hash
366
- [start_page_number, count_pages_to_render, pages_to_render, page_rotations, default_font_name, default_encoding, render_comments, render_notes, render_hidden_pages, spreadsheet_options, cad_options, email_options, project_management_options, pdf_document_options, word_processing_options, outlook_options, archive_options, external_resources, resource_path, is_responsive, minify, exclude_fonts, fonts_to_exclude].hash
486
+ [start_page_number, count_pages_to_render, pages_to_render, page_rotations, default_font_name, default_encoding, render_comments, render_notes, render_hidden_pages, spreadsheet_options, cad_options, email_options, project_management_options, pdf_document_options, word_processing_options, outlook_options, archive_options, text_options, mail_storage_options, visio_rendering_options, external_resources, resource_path, is_responsive, minify, exclude_fonts, fonts_to_exclude, for_printing, image_height, image_width, image_max_height, image_max_width, render_to_single_page].hash
367
487
  end
368
488
 
369
489
  # Downcases first letter.
@@ -82,6 +82,15 @@ module GroupDocsViewerCloud
82
82
  # Rendering options for Archive source file formats
83
83
  attr_accessor :archive_options
84
84
 
85
+ # Rendering options for Text source file formats
86
+ attr_accessor :text_options
87
+
88
+ # Rendering options for Mail storage (Lotus Notes, MBox) data files.
89
+ attr_accessor :mail_storage_options
90
+
91
+ # Rendering options for Visio source file formats
92
+ attr_accessor :visio_rendering_options
93
+
85
94
  # Allows to specify output image width. Specify image width in case when you want to change output image dimensions. When Width has value and Height value is 0 then Height value will be calculated to save image proportions.
86
95
  attr_accessor :width
87
96
 
@@ -94,6 +103,12 @@ module GroupDocsViewerCloud
94
103
  # Allows to specify quality when rendering as JPG. Valid values are between 1 and 100. Default value is 90.
95
104
  attr_accessor :jpeg_quality
96
105
 
106
+ # Max width of an output image in pixels
107
+ attr_accessor :max_width
108
+
109
+ # Max height of an output image in pixels
110
+ attr_accessor :max_height
111
+
97
112
  # Attribute mapping from ruby-style variable name to JSON key.
98
113
  def self.attribute_map
99
114
  {
@@ -114,10 +129,15 @@ module GroupDocsViewerCloud
114
129
  :'word_processing_options' => :'WordProcessingOptions',
115
130
  :'outlook_options' => :'OutlookOptions',
116
131
  :'archive_options' => :'ArchiveOptions',
132
+ :'text_options' => :'TextOptions',
133
+ :'mail_storage_options' => :'MailStorageOptions',
134
+ :'visio_rendering_options' => :'VisioRenderingOptions',
117
135
  :'width' => :'Width',
118
136
  :'height' => :'Height',
119
137
  :'extract_text' => :'ExtractText',
120
- :'jpeg_quality' => :'JpegQuality'
138
+ :'jpeg_quality' => :'JpegQuality',
139
+ :'max_width' => :'MaxWidth',
140
+ :'max_height' => :'MaxHeight'
121
141
  }
122
142
  end
123
143
 
@@ -141,10 +161,15 @@ module GroupDocsViewerCloud
141
161
  :'word_processing_options' => :'WordProcessingOptions',
142
162
  :'outlook_options' => :'OutlookOptions',
143
163
  :'archive_options' => :'ArchiveOptions',
164
+ :'text_options' => :'TextOptions',
165
+ :'mail_storage_options' => :'MailStorageOptions',
166
+ :'visio_rendering_options' => :'VisioRenderingOptions',
144
167
  :'width' => :'Integer',
145
168
  :'height' => :'Integer',
146
169
  :'extract_text' => :'BOOLEAN',
147
- :'jpeg_quality' => :'Integer'
170
+ :'jpeg_quality' => :'Integer',
171
+ :'max_width' => :'Integer',
172
+ :'max_height' => :'Integer'
148
173
  }
149
174
  end
150
175
 
@@ -228,6 +253,18 @@ module GroupDocsViewerCloud
228
253
  self.archive_options = attributes[:'ArchiveOptions']
229
254
  end
230
255
 
256
+ if attributes.key?(:'TextOptions')
257
+ self.text_options = attributes[:'TextOptions']
258
+ end
259
+
260
+ if attributes.key?(:'MailStorageOptions')
261
+ self.mail_storage_options = attributes[:'MailStorageOptions']
262
+ end
263
+
264
+ if attributes.key?(:'VisioRenderingOptions')
265
+ self.visio_rendering_options = attributes[:'VisioRenderingOptions']
266
+ end
267
+
231
268
  if attributes.key?(:'Width')
232
269
  self.width = attributes[:'Width']
233
270
  end
@@ -244,6 +281,14 @@ module GroupDocsViewerCloud
244
281
  self.jpeg_quality = attributes[:'JpegQuality']
245
282
  end
246
283
 
284
+ if attributes.key?(:'MaxWidth')
285
+ self.max_width = attributes[:'MaxWidth']
286
+ end
287
+
288
+ if attributes.key?(:'MaxHeight')
289
+ self.max_height = attributes[:'MaxHeight']
290
+ end
291
+
247
292
  end
248
293
 
249
294
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -286,6 +331,14 @@ module GroupDocsViewerCloud
286
331
  invalid_properties.push("invalid value for 'jpeg_quality', jpeg_quality cannot be nil.")
287
332
  end
288
333
 
334
+ if @max_width.nil?
335
+ invalid_properties.push("invalid value for 'max_width', max_width cannot be nil.")
336
+ end
337
+
338
+ if @max_height.nil?
339
+ invalid_properties.push("invalid value for 'max_height', max_height cannot be nil.")
340
+ end
341
+
289
342
  return invalid_properties
290
343
  end
291
344
 
@@ -301,6 +354,8 @@ module GroupDocsViewerCloud
301
354
  return false if @height.nil?
302
355
  return false if @extract_text.nil?
303
356
  return false if @jpeg_quality.nil?
357
+ return false if @max_width.nil?
358
+ return false if @max_height.nil?
304
359
  return true
305
360
  end
306
361
 
@@ -326,10 +381,15 @@ module GroupDocsViewerCloud
326
381
  word_processing_options == other.word_processing_options &&
327
382
  outlook_options == other.outlook_options &&
328
383
  archive_options == other.archive_options &&
384
+ text_options == other.text_options &&
385
+ mail_storage_options == other.mail_storage_options &&
386
+ visio_rendering_options == other.visio_rendering_options &&
329
387
  width == other.width &&
330
388
  height == other.height &&
331
389
  extract_text == other.extract_text &&
332
- jpeg_quality == other.jpeg_quality
390
+ jpeg_quality == other.jpeg_quality &&
391
+ max_width == other.max_width &&
392
+ max_height == other.max_height
333
393
  end
334
394
 
335
395
  # @see the `==` method
@@ -341,7 +401,7 @@ module GroupDocsViewerCloud
341
401
  # Calculates hash code according to all attributes.
342
402
  # @return [Fixnum] Hash code
343
403
  def hash
344
- [start_page_number, count_pages_to_render, pages_to_render, page_rotations, default_font_name, default_encoding, render_comments, render_notes, render_hidden_pages, spreadsheet_options, cad_options, email_options, project_management_options, pdf_document_options, word_processing_options, outlook_options, archive_options, width, height, extract_text, jpeg_quality].hash
404
+ [start_page_number, count_pages_to_render, pages_to_render, page_rotations, default_font_name, default_encoding, render_comments, render_notes, render_hidden_pages, spreadsheet_options, cad_options, email_options, project_management_options, pdf_document_options, word_processing_options, outlook_options, archive_options, text_options, mail_storage_options, visio_rendering_options, width, height, extract_text, jpeg_quality, max_width, max_height].hash
345
405
  end
346
406
 
347
407
  # Downcases first letter.