aspose_cells_cloud 23.6 → 23.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.
@@ -0,0 +1,498 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="ImageOrPrintOptionsrb.cs">
4
+ Copyright (c) 2023 Aspose.Cells Cloud
5
+ </copyright>
6
+ <summary>
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ SOFTWARE.
24
+ </summary>
25
+ --------------------------------------------------------------------------------------------------------------------
26
+ =end
27
+
28
+
29
+ require 'date'
30
+
31
+ module AsposeCellsCloud
32
+
33
+ class ImageOrPrintOptions
34
+ #
35
+ attr_accessor :text_cross_type
36
+ #
37
+ attr_accessor :gridline_type
38
+ #
39
+ attr_accessor :output_blank_page_when_nothing_to_print
40
+ #
41
+ attr_accessor :check_workbook_default_font
42
+ #
43
+ attr_accessor :default_font
44
+ #
45
+ attr_accessor :is_optimized
46
+ #
47
+ attr_accessor :page_count
48
+ #
49
+ attr_accessor :page_index
50
+ #
51
+ attr_accessor :is_font_substitution_char_granularity
52
+ #
53
+ attr_accessor :transparent
54
+ #
55
+ attr_accessor :only_area
56
+ #
57
+ attr_accessor :svg_fit_to_view_port
58
+ #
59
+ attr_accessor :embeded_image_name_in_svg
60
+ #
61
+ attr_accessor :all_columns_in_one_page_per_sheet
62
+ #
63
+ attr_accessor :print_with_status_dialog
64
+ #
65
+ attr_accessor :horizontal_resolution
66
+ #
67
+ attr_accessor :vertical_resolution
68
+ #
69
+ attr_accessor :default_edit_language
70
+ #
71
+ attr_accessor :tiff_color_depth
72
+ #
73
+ attr_accessor :tiff_compression
74
+ #
75
+ attr_accessor :printing_page
76
+ #
77
+ attr_accessor :quality
78
+ #
79
+ attr_accessor :image_type
80
+ #
81
+ attr_accessor :one_page_per_sheet
82
+ #
83
+ attr_accessor :tiff_binarization_method
84
+
85
+ # Attribute mapping from ruby-style variable name to JSON key.
86
+ def self.attribute_map
87
+ {
88
+ :'text_cross_type' => :'TextCrossType',
89
+ :'gridline_type' => :'GridlineType',
90
+ :'output_blank_page_when_nothing_to_print' => :'OutputBlankPageWhenNothingToPrint',
91
+ :'check_workbook_default_font' => :'CheckWorkbookDefaultFont',
92
+ :'default_font' => :'DefaultFont',
93
+ :'is_optimized' => :'IsOptimized',
94
+ :'page_count' => :'PageCount',
95
+ :'page_index' => :'PageIndex',
96
+ :'is_font_substitution_char_granularity' => :'IsFontSubstitutionCharGranularity',
97
+ :'transparent' => :'Transparent',
98
+ :'only_area' => :'OnlyArea',
99
+ :'svg_fit_to_view_port' => :'SVGFitToViewPort',
100
+ :'embeded_image_name_in_svg' => :'EmbededImageNameInSvg',
101
+ :'all_columns_in_one_page_per_sheet' => :'AllColumnsInOnePagePerSheet',
102
+ :'print_with_status_dialog' => :'PrintWithStatusDialog',
103
+ :'horizontal_resolution' => :'HorizontalResolution',
104
+ :'vertical_resolution' => :'VerticalResolution',
105
+ :'default_edit_language' => :'DefaultEditLanguage',
106
+ :'tiff_color_depth' => :'TiffColorDepth',
107
+ :'tiff_compression' => :'TiffCompression',
108
+ :'printing_page' => :'PrintingPage',
109
+ :'quality' => :'Quality',
110
+ :'image_type' => :'ImageType',
111
+ :'one_page_per_sheet' => :'OnePagePerSheet',
112
+ :'tiff_binarization_method' => :'TiffBinarizationMethod'
113
+ }
114
+ end
115
+
116
+ # Attribute type mapping.
117
+ def self.swagger_types
118
+ {
119
+ :'text_cross_type' => :'String',
120
+ :'gridline_type' => :'String',
121
+ :'output_blank_page_when_nothing_to_print' => :'BOOLEAN',
122
+ :'check_workbook_default_font' => :'BOOLEAN',
123
+ :'default_font' => :'String',
124
+ :'is_optimized' => :'BOOLEAN',
125
+ :'page_count' => :'Integer',
126
+ :'page_index' => :'Integer',
127
+ :'is_font_substitution_char_granularity' => :'BOOLEAN',
128
+ :'transparent' => :'BOOLEAN',
129
+ :'only_area' => :'BOOLEAN',
130
+ :'svg_fit_to_view_port' => :'BOOLEAN',
131
+ :'embeded_image_name_in_svg' => :'String',
132
+ :'all_columns_in_one_page_per_sheet' => :'BOOLEAN',
133
+ :'print_with_status_dialog' => :'BOOLEAN',
134
+ :'horizontal_resolution' => :'Integer',
135
+ :'vertical_resolution' => :'Integer',
136
+ :'default_edit_language' => :'String',
137
+ :'tiff_color_depth' => :'String',
138
+ :'tiff_compression' => :'String',
139
+ :'printing_page' => :'String',
140
+ :'quality' => :'Integer',
141
+ :'image_type' => :'String',
142
+ :'one_page_per_sheet' => :'BOOLEAN',
143
+ :'tiff_binarization_method' => :'String'
144
+ }
145
+ end
146
+
147
+ # Initializes the object
148
+ # @param [Hash] attributes Model attributes in the form of hash
149
+ def initialize(attributes = {})
150
+ return unless attributes.is_a?(Hash)
151
+
152
+ # convert string to symbol for hash key
153
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
154
+
155
+ if attributes.has_key?(:'TextCrossType')
156
+ self.text_cross_type = attributes[:'TextCrossType']
157
+ end
158
+ if attributes.has_key?(:'GridlineType')
159
+ self.gridline_type = attributes[:'GridlineType']
160
+ end
161
+ if attributes.has_key?(:'OutputBlankPageWhenNothingToPrint')
162
+ self.output_blank_page_when_nothing_to_print = attributes[:'OutputBlankPageWhenNothingToPrint']
163
+ end
164
+ if attributes.has_key?(:'CheckWorkbookDefaultFont')
165
+ self.check_workbook_default_font = attributes[:'CheckWorkbookDefaultFont']
166
+ end
167
+ if attributes.has_key?(:'DefaultFont')
168
+ self.default_font = attributes[:'DefaultFont']
169
+ end
170
+ if attributes.has_key?(:'IsOptimized')
171
+ self.is_optimized = attributes[:'IsOptimized']
172
+ end
173
+ if attributes.has_key?(:'PageCount')
174
+ self.page_count = attributes[:'PageCount']
175
+ end
176
+ if attributes.has_key?(:'PageIndex')
177
+ self.page_index = attributes[:'PageIndex']
178
+ end
179
+ if attributes.has_key?(:'IsFontSubstitutionCharGranularity')
180
+ self.is_font_substitution_char_granularity = attributes[:'IsFontSubstitutionCharGranularity']
181
+ end
182
+ if attributes.has_key?(:'Transparent')
183
+ self.transparent = attributes[:'Transparent']
184
+ end
185
+ if attributes.has_key?(:'OnlyArea')
186
+ self.only_area = attributes[:'OnlyArea']
187
+ end
188
+ if attributes.has_key?(:'SVGFitToViewPort')
189
+ self.svg_fit_to_view_port = attributes[:'SVGFitToViewPort']
190
+ end
191
+ if attributes.has_key?(:'EmbededImageNameInSvg')
192
+ self.embeded_image_name_in_svg = attributes[:'EmbededImageNameInSvg']
193
+ end
194
+ if attributes.has_key?(:'AllColumnsInOnePagePerSheet')
195
+ self.all_columns_in_one_page_per_sheet = attributes[:'AllColumnsInOnePagePerSheet']
196
+ end
197
+ if attributes.has_key?(:'PrintWithStatusDialog')
198
+ self.print_with_status_dialog = attributes[:'PrintWithStatusDialog']
199
+ end
200
+ if attributes.has_key?(:'HorizontalResolution')
201
+ self.horizontal_resolution = attributes[:'HorizontalResolution']
202
+ end
203
+ if attributes.has_key?(:'VerticalResolution')
204
+ self.vertical_resolution = attributes[:'VerticalResolution']
205
+ end
206
+ if attributes.has_key?(:'DefaultEditLanguage')
207
+ self.default_edit_language = attributes[:'DefaultEditLanguage']
208
+ end
209
+ if attributes.has_key?(:'TiffColorDepth')
210
+ self.tiff_color_depth = attributes[:'TiffColorDepth']
211
+ end
212
+ if attributes.has_key?(:'TiffCompression')
213
+ self.tiff_compression = attributes[:'TiffCompression']
214
+ end
215
+ if attributes.has_key?(:'PrintingPage')
216
+ self.printing_page = attributes[:'PrintingPage']
217
+ end
218
+ if attributes.has_key?(:'Quality')
219
+ self.quality = attributes[:'Quality']
220
+ end
221
+ if attributes.has_key?(:'ImageType')
222
+ self.image_type = attributes[:'ImageType']
223
+ end
224
+ if attributes.has_key?(:'OnePagePerSheet')
225
+ self.one_page_per_sheet = attributes[:'OnePagePerSheet']
226
+ end
227
+ if attributes.has_key?(:'TiffBinarizationMethod')
228
+ self.tiff_binarization_method = attributes[:'TiffBinarizationMethod']
229
+ end
230
+
231
+ end
232
+
233
+ # Show invalid properties with the reasons. Usually used together with valid?
234
+ # @return Array for valid properies with the reasons
235
+ def list_invalid_properties
236
+ invalid_properties = Array.new
237
+ if @text_cross_type.nil?
238
+ invalid_properties.push("invalid value for 'text_cross_type', text_cross_type cannot be nil.")
239
+ end
240
+ if @gridline_type.nil?
241
+ invalid_properties.push("invalid value for 'gridline_type', gridline_type cannot be nil.")
242
+ end
243
+ if @output_blank_page_when_nothing_to_print.nil?
244
+ invalid_properties.push("invalid value for 'output_blank_page_when_nothing_to_print', output_blank_page_when_nothing_to_print cannot be nil.")
245
+ end
246
+ if @check_workbook_default_font.nil?
247
+ invalid_properties.push("invalid value for 'check_workbook_default_font', check_workbook_default_font cannot be nil.")
248
+ end
249
+ if @default_font.nil?
250
+ invalid_properties.push("invalid value for 'default_font', default_font cannot be nil.")
251
+ end
252
+ if @is_optimized.nil?
253
+ invalid_properties.push("invalid value for 'is_optimized', is_optimized cannot be nil.")
254
+ end
255
+ if @page_count.nil?
256
+ invalid_properties.push("invalid value for 'page_count', page_count cannot be nil.")
257
+ end
258
+ if @page_index.nil?
259
+ invalid_properties.push("invalid value for 'page_index', page_index cannot be nil.")
260
+ end
261
+ if @is_font_substitution_char_granularity.nil?
262
+ invalid_properties.push("invalid value for 'is_font_substitution_char_granularity', is_font_substitution_char_granularity cannot be nil.")
263
+ end
264
+ if @transparent.nil?
265
+ invalid_properties.push("invalid value for 'transparent', transparent cannot be nil.")
266
+ end
267
+ if @only_area.nil?
268
+ invalid_properties.push("invalid value for 'only_area', only_area cannot be nil.")
269
+ end
270
+ if @svg_fit_to_view_port.nil?
271
+ invalid_properties.push("invalid value for 'svg_fit_to_view_port', svg_fit_to_view_port cannot be nil.")
272
+ end
273
+ if @embeded_image_name_in_svg.nil?
274
+ invalid_properties.push("invalid value for 'embeded_image_name_in_svg', embeded_image_name_in_svg cannot be nil.")
275
+ end
276
+ if @all_columns_in_one_page_per_sheet.nil?
277
+ invalid_properties.push("invalid value for 'all_columns_in_one_page_per_sheet', all_columns_in_one_page_per_sheet cannot be nil.")
278
+ end
279
+ if @print_with_status_dialog.nil?
280
+ invalid_properties.push("invalid value for 'print_with_status_dialog', print_with_status_dialog cannot be nil.")
281
+ end
282
+ if @horizontal_resolution.nil?
283
+ invalid_properties.push("invalid value for 'horizontal_resolution', horizontal_resolution cannot be nil.")
284
+ end
285
+ if @vertical_resolution.nil?
286
+ invalid_properties.push("invalid value for 'vertical_resolution', vertical_resolution cannot be nil.")
287
+ end
288
+ if @default_edit_language.nil?
289
+ invalid_properties.push("invalid value for 'default_edit_language', default_edit_language cannot be nil.")
290
+ end
291
+ if @tiff_color_depth.nil?
292
+ invalid_properties.push("invalid value for 'tiff_color_depth', tiff_color_depth cannot be nil.")
293
+ end
294
+ if @tiff_compression.nil?
295
+ invalid_properties.push("invalid value for 'tiff_compression', tiff_compression cannot be nil.")
296
+ end
297
+ if @printing_page.nil?
298
+ invalid_properties.push("invalid value for 'printing_page', printing_page cannot be nil.")
299
+ end
300
+ if @quality.nil?
301
+ invalid_properties.push("invalid value for 'quality', quality cannot be nil.")
302
+ end
303
+ if @image_type.nil?
304
+ invalid_properties.push("invalid value for 'image_type', image_type cannot be nil.")
305
+ end
306
+ if @one_page_per_sheet.nil?
307
+ invalid_properties.push("invalid value for 'one_page_per_sheet', one_page_per_sheet cannot be nil.")
308
+ end
309
+ if @tiff_binarization_method.nil?
310
+ invalid_properties.push("invalid value for 'tiff_binarization_method', tiff_binarization_method cannot be nil.")
311
+ end
312
+
313
+ return invalid_properties
314
+ end
315
+
316
+ # Check to see if the all the properties in the model are valid
317
+ # @return true if the model is valid
318
+ def valid?
319
+ return false if @text_cross_type.nil?
320
+ return false if @gridline_type.nil?
321
+ return false if @output_blank_page_when_nothing_to_print.nil?
322
+ return false if @check_workbook_default_font.nil?
323
+ return false if @default_font.nil?
324
+ return false if @is_optimized.nil?
325
+ return false if @page_count.nil?
326
+ return false if @page_index.nil?
327
+ return false if @is_font_substitution_char_granularity.nil?
328
+ return false if @transparent.nil?
329
+ return false if @only_area.nil?
330
+ return false if @svg_fit_to_view_port.nil?
331
+ return false if @embeded_image_name_in_svg.nil?
332
+ return false if @all_columns_in_one_page_per_sheet.nil?
333
+ return false if @print_with_status_dialog.nil?
334
+ return false if @horizontal_resolution.nil?
335
+ return false if @vertical_resolution.nil?
336
+ return false if @default_edit_language.nil?
337
+ return false if @tiff_color_depth.nil?
338
+ return false if @tiff_compression.nil?
339
+ return false if @printing_page.nil?
340
+ return false if @quality.nil?
341
+ return false if @image_type.nil?
342
+ return false if @one_page_per_sheet.nil?
343
+ return false if @tiff_binarization_method.nil?
344
+ return true
345
+ end
346
+
347
+ # Checks equality by comparing each attribute.
348
+ # @param [Object] Object to be compared
349
+ def ==(o)
350
+ return true if self.equal?(o)
351
+ self.class == o.class &&
352
+ text_cross_type == o.text_cross_type &&
353
+ gridline_type == o.gridline_type &&
354
+ output_blank_page_when_nothing_to_print == o.output_blank_page_when_nothing_to_print &&
355
+ check_workbook_default_font == o.check_workbook_default_font &&
356
+ default_font == o.default_font &&
357
+ is_optimized == o.is_optimized &&
358
+ page_count == o.page_count &&
359
+ page_index == o.page_index &&
360
+ is_font_substitution_char_granularity == o.is_font_substitution_char_granularity &&
361
+ transparent == o.transparent &&
362
+ only_area == o.only_area &&
363
+ svg_fit_to_view_port == o.svg_fit_to_view_port &&
364
+ embeded_image_name_in_svg == o.embeded_image_name_in_svg &&
365
+ all_columns_in_one_page_per_sheet == o.all_columns_in_one_page_per_sheet &&
366
+ print_with_status_dialog == o.print_with_status_dialog &&
367
+ horizontal_resolution == o.horizontal_resolution &&
368
+ vertical_resolution == o.vertical_resolution &&
369
+ default_edit_language == o.default_edit_language &&
370
+ tiff_color_depth == o.tiff_color_depth &&
371
+ tiff_compression == o.tiff_compression &&
372
+ printing_page == o.printing_page &&
373
+ quality == o.quality &&
374
+ image_type == o.image_type &&
375
+ one_page_per_sheet == o.one_page_per_sheet &&
376
+ tiff_binarization_method == o.tiff_binarization_method
377
+ std_dev == o.std_dev
378
+ end
379
+
380
+ # @see the `==` method
381
+ # @param [Object] Object to be compared
382
+ def eql?(o)
383
+ self == o
384
+ end
385
+
386
+ # Calculates hash code according to all attributes.
387
+ # @return [Fixnum] Hash code
388
+ def hash
389
+ [ text_cross_type , gridline_type , output_blank_page_when_nothing_to_print , check_workbook_default_font , default_font , is_optimized , page_count , page_index , is_font_substitution_char_granularity , transparent , only_area , svg_fit_to_view_port , embeded_image_name_in_svg , all_columns_in_one_page_per_sheet , print_with_status_dialog , horizontal_resolution , vertical_resolution , default_edit_language , tiff_color_depth , tiff_compression , printing_page , quality , image_type , one_page_per_sheet , tiff_binarization_method ].hash
390
+ end
391
+
392
+ # Builds the object from hash
393
+ # @param [Hash] attributes Model attributes in the form of hash
394
+ # @return [Object] Returns the model itself
395
+ def build_from_hash(attributes)
396
+ return nil unless attributes.is_a?(Hash)
397
+ self.class.swagger_types.each_pair do |key, type|
398
+ if type =~ /\AArray<(.*)>/i
399
+ # check to ensure the input is an array given that the the attribute
400
+ # is documented as an array but the input is not
401
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
402
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
403
+ end
404
+ elsif !attributes[self.class.attribute_map[key]].nil?
405
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
406
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
407
+ end
408
+
409
+ self
410
+ end
411
+
412
+ # Deserializes the data based on type
413
+ # @param string type Data type
414
+ # @param string value Value to be deserialized
415
+ # @return [Object] Deserialized data
416
+ def _deserialize(type, value)
417
+ case type.to_sym
418
+ when :DateTime
419
+ DateTime.parse(value)
420
+ when :Date
421
+ Date.parse(value)
422
+ when :String
423
+ value.to_s
424
+ when :Integer
425
+ value.to_i
426
+ when :Float
427
+ value.to_f
428
+ when :BOOLEAN
429
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
430
+ true
431
+ else
432
+ false
433
+ end
434
+ when :Object
435
+ # generic object (usually a Hash), return directly
436
+ value
437
+ when /\AArray<(?<inner_type>.+)>\z/
438
+ inner_type = Regexp.last_match[:inner_type]
439
+ value.map { |v| _deserialize(inner_type, v) }
440
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
441
+ k_type = Regexp.last_match[:k_type]
442
+ v_type = Regexp.last_match[:v_type]
443
+ {}.tap do |hash|
444
+ value.each do |k, v|
445
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
446
+ end
447
+ end
448
+ else # model
449
+ temp_model = AsposeCellsCloud.const_get(type).new
450
+ temp_model.build_from_hash(value)
451
+ end
452
+ end
453
+
454
+ # Returns the string representation of the object
455
+ # @return [String] String presentation of the object
456
+ def to_s
457
+ to_hash.to_s
458
+ end
459
+
460
+ # to_body is an alias to to_hash (backward compatibility)
461
+ # @return [Hash] Returns the object in the form of hash
462
+ def to_body
463
+ to_hash
464
+ end
465
+
466
+ # Returns the object in the form of hash
467
+ # @return [Hash] Returns the object in the form of hash
468
+ def to_hash
469
+ hash = {}
470
+ self.class.attribute_map.each_pair do |attr, param|
471
+ value = self.send(attr)
472
+ next if value.nil?
473
+ hash[param] = _to_hash(value)
474
+ end
475
+ hash
476
+ end
477
+
478
+ # Outputs non-array value in the form of hash
479
+ # For object, use to_hash. Otherwise, just return the value
480
+ # @param [Object] value Any valid value
481
+ # @return [Hash] Returns the value in the form of hash
482
+ def _to_hash(value)
483
+ if value.is_a?(Array)
484
+ value.compact.map{ |v| _to_hash(v) }
485
+ elsif value.is_a?(Hash)
486
+ {}.tap do |hash|
487
+ value.each { |k, v| hash[k] = _to_hash(v) }
488
+ end
489
+ elsif value.respond_to? :to_hash
490
+ value.to_hash
491
+ else
492
+ value
493
+ end
494
+ end
495
+
496
+ end
497
+
498
+ end
@@ -34,6 +34,14 @@ module AsposeCellsCloud
34
34
  #
35
35
  attr_accessor :export_cell_name
36
36
  #
37
+ attr_accessor :update_zoom
38
+ #
39
+ attr_accessor :enable_zip64
40
+ #
41
+ attr_accessor :embed_ooxml_as_ole_object
42
+ #
43
+ attr_accessor :compression_type
44
+ #
37
45
  attr_accessor :save_format
38
46
  #
39
47
  attr_accessor :cached_file_folder
@@ -54,6 +62,10 @@ module AsposeCellsCloud
54
62
  def self.attribute_map
55
63
  {
56
64
  :'export_cell_name' => :'ExportCellName',
65
+ :'update_zoom' => :'UpdateZoom',
66
+ :'enable_zip64' => :'EnableZip64',
67
+ :'embed_ooxml_as_ole_object' => :'EmbedOoxmlAsOleObject',
68
+ :'compression_type' => :'CompressionType',
57
69
  :'save_format' => :'SaveFormat',
58
70
  :'cached_file_folder' => :'CachedFileFolder',
59
71
  :'clear_data' => :'ClearData',
@@ -69,6 +81,10 @@ module AsposeCellsCloud
69
81
  def self.swagger_types
70
82
  {
71
83
  :'export_cell_name' => :'BOOLEAN',
84
+ :'update_zoom' => :'BOOLEAN',
85
+ :'enable_zip64' => :'BOOLEAN',
86
+ :'embed_ooxml_as_ole_object' => :'BOOLEAN',
87
+ :'compression_type' => :'String',
72
88
  :'save_format' => :'String',
73
89
  :'cached_file_folder' => :'String',
74
90
  :'clear_data' => :'BOOLEAN',
@@ -91,6 +107,18 @@ module AsposeCellsCloud
91
107
  if attributes.has_key?(:'ExportCellName')
92
108
  self.export_cell_name = attributes[:'ExportCellName']
93
109
  end
110
+ if attributes.has_key?(:'UpdateZoom')
111
+ self.update_zoom = attributes[:'UpdateZoom']
112
+ end
113
+ if attributes.has_key?(:'EnableZip64')
114
+ self.enable_zip64 = attributes[:'EnableZip64']
115
+ end
116
+ if attributes.has_key?(:'EmbedOoxmlAsOleObject')
117
+ self.embed_ooxml_as_ole_object = attributes[:'EmbedOoxmlAsOleObject']
118
+ end
119
+ if attributes.has_key?(:'CompressionType')
120
+ self.compression_type = attributes[:'CompressionType']
121
+ end
94
122
  if attributes.has_key?(:'SaveFormat')
95
123
  self.save_format = attributes[:'SaveFormat']
96
124
  end
@@ -125,6 +153,18 @@ module AsposeCellsCloud
125
153
  if @export_cell_name.nil?
126
154
  invalid_properties.push("invalid value for 'export_cell_name', export_cell_name cannot be nil.")
127
155
  end
156
+ if @update_zoom.nil?
157
+ invalid_properties.push("invalid value for 'update_zoom', update_zoom cannot be nil.")
158
+ end
159
+ if @enable_zip64.nil?
160
+ invalid_properties.push("invalid value for 'enable_zip64', enable_zip64 cannot be nil.")
161
+ end
162
+ if @embed_ooxml_as_ole_object.nil?
163
+ invalid_properties.push("invalid value for 'embed_ooxml_as_ole_object', embed_ooxml_as_ole_object cannot be nil.")
164
+ end
165
+ if @compression_type.nil?
166
+ invalid_properties.push("invalid value for 'compression_type', compression_type cannot be nil.")
167
+ end
128
168
  if @save_format.nil?
129
169
  invalid_properties.push("invalid value for 'save_format', save_format cannot be nil.")
130
170
  end
@@ -157,6 +197,10 @@ module AsposeCellsCloud
157
197
  # @return true if the model is valid
158
198
  def valid?
159
199
  return false if @export_cell_name.nil?
200
+ return false if @update_zoom.nil?
201
+ return false if @enable_zip64.nil?
202
+ return false if @embed_ooxml_as_ole_object.nil?
203
+ return false if @compression_type.nil?
160
204
  return false if @save_format.nil?
161
205
  return false if @cached_file_folder.nil?
162
206
  return false if @clear_data.nil?
@@ -174,6 +218,10 @@ module AsposeCellsCloud
174
218
  return true if self.equal?(o)
175
219
  self.class == o.class &&
176
220
  export_cell_name == o.export_cell_name &&
221
+ update_zoom == o.update_zoom &&
222
+ enable_zip64 == o.enable_zip64 &&
223
+ embed_ooxml_as_ole_object == o.embed_ooxml_as_ole_object &&
224
+ compression_type == o.compression_type &&
177
225
  save_format == o.save_format &&
178
226
  cached_file_folder == o.cached_file_folder &&
179
227
  clear_data == o.clear_data &&
@@ -194,7 +242,7 @@ module AsposeCellsCloud
194
242
  # Calculates hash code according to all attributes.
195
243
  # @return [Fixnum] Hash code
196
244
  def hash
197
- [ export_cell_name , save_format , cached_file_folder , clear_data , create_directory , enable_http_compression , refresh_chart_cache , sort_names , validate_merged_areas ].hash
245
+ [ export_cell_name , update_zoom , enable_zip64 , embed_ooxml_as_ole_object , compression_type , save_format , cached_file_folder , clear_data , create_directory , enable_http_compression , refresh_chart_cache , sort_names , validate_merged_areas ].hash
198
246
  end
199
247
 
200
248
  # Builds the object from hash