aspose_cells_cloud 23.10 → 23.12.0

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.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +23 -13
  3. data/lib/aspose_cells_cloud/api/cells_api.rb +234 -22899
  4. data/lib/aspose_cells_cloud/models/{value_type.rb → barcode_response.rb} +77 -20
  5. data/lib/aspose_cells_cloud/models/{total_request.rb → barcode_response_list.rb} +2 -2
  6. data/lib/aspose_cells_cloud/models/batch_convert_request.rb +13 -1
  7. data/lib/aspose_cells_cloud/models/batch_split_request.rb +13 -1
  8. data/lib/aspose_cells_cloud/models/convert_task_parameter.rb +13 -1
  9. data/lib/aspose_cells_cloud/models/{cells_error.rb → import_json_request.rb} +60 -55
  10. data/lib/aspose_cells_cloud/models/import_xml_request.rb +16 -4
  11. data/lib/aspose_cells_cloud/models/{spreadsheet_ml2003_save_options.rb → spreadsheet_m_l2003_save_options.rb} +134 -96
  12. data/lib/aspose_cells_cloud/requests/delete_metadata_request.rb +7 -0
  13. data/lib/aspose_cells_cloud/requests/get_workbook_request.rb +9 -2
  14. data/lib/aspose_cells_cloud/requests/post_assemble_request.rb +9 -2
  15. data/lib/aspose_cells_cloud/requests/post_clear_objects_request.rb +9 -2
  16. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_csv_request.rb +9 -2
  17. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_docx_request.rb +9 -2
  18. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_html_request.rb +9 -2
  19. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_json_request.rb +9 -2
  20. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_markdown_request.rb +9 -2
  21. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_pdf_request.rb +9 -2
  22. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_png_request.rb +9 -2
  23. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_pptx_request.rb +9 -2
  24. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_sql_request.rb +9 -2
  25. data/lib/aspose_cells_cloud/requests/post_export_request.rb +9 -2
  26. data/lib/aspose_cells_cloud/requests/post_import_data_request.rb +9 -2
  27. data/lib/aspose_cells_cloud/requests/post_import_request.rb +31 -2
  28. data/lib/aspose_cells_cloud/requests/post_merge_request.rb +15 -8
  29. data/lib/aspose_cells_cloud/requests/post_metadata_request.rb +16 -2
  30. data/lib/aspose_cells_cloud/requests/post_repair_request.rb +6 -6
  31. data/lib/aspose_cells_cloud/requests/post_reverse_request.rb +15 -8
  32. data/lib/aspose_cells_cloud/requests/post_rotate_request.rb +15 -8
  33. data/lib/aspose_cells_cloud/requests/post_split_request.rb +18 -11
  34. data/lib/aspose_cells_cloud/requests/post_watermark_request.rb +16 -2
  35. data/lib/aspose_cells_cloud/requests/post_workbook_export_xml_request.rb +9 -2
  36. data/lib/aspose_cells_cloud/requests/post_workbook_import_json_request.rb +163 -0
  37. data/lib/aspose_cells_cloud/requests/post_workbook_import_xml_request.rb +9 -2
  38. data/lib/aspose_cells_cloud/requests/post_workbook_save_as_request.rb +9 -2
  39. data/lib/aspose_cells_cloud/requests/put_convert_workbook_request.rb +9 -2
  40. data/lib/aspose_cells_cloud/version.rb +1 -1
  41. data/lib/aspose_cells_cloud.rb +7 -5
  42. data/spec/api/batch_controller_spec.rb +4 -4
  43. data/spec/api/folder_controller_spec.rb +1 -1
  44. data/spec/api/workbook_controller_spec.rb +3 -3
  45. data/spec/conversion/conversion_json_spec.rb +0 -242
  46. data/spec/conversion/conversion_png_spec.rb +0 -352
  47. data/spec/conversion/conversion_spec.rb +203 -1003
  48. data/spec/document/light_cells_spec.rb +86 -197
  49. metadata +9 -12
  50. data/lib/aspose_cells_cloud/api/light_cells_api.rb +0 -1304
  51. data/lib/aspose_cells_cloud/api/lite_cells_api.rb +0 -1179
  52. data/lib/aspose_cells_cloud/models/access_token_response.rb +0 -261
  53. data/spec/one_case_spec.rb +0 -26
@@ -1,88 +1,90 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2022 Aspose.Cells Cloud
4
- Permission is hereby granted, free of charge, to any person obtaining a copy
5
- of this software and associated documentation files (the "Software"), to deal
6
- in the Software without restriction, including without limitation the rights
7
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- copies of the Software, and to permit persons to whom the Software is
9
- furnished to do so, subject to the following conditions:
10
- The above copyright notice and this permission notice shall be included in all
11
- copies or substantial portions of the Software.
12
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
- SOFTWARE.
3
+ <copyright company="Aspose" file="SpreadsheetML2003SaveOptionsrb.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>
19
25
  --------------------------------------------------------------------------------------------------------------------
20
-
21
26
  =end
22
27
 
28
+
23
29
  require 'date'
24
30
 
25
31
  module AsposeCellsCloud
26
32
 
27
33
  class SpreadsheetML2003SaveOptions
28
- attr_accessor :enable_http_compression
29
-
30
- attr_accessor :save_format
31
-
32
- # Make the workbook empty after saving the file.
33
- attr_accessor :clear_data
34
-
35
- # The cached file folder is used to store some large data.
36
- attr_accessor :cached_file_folder
37
-
38
- # Indicates whether validate merged areas before saving the file. The default value is false.
39
- attr_accessor :validate_merged_areas
40
-
41
- attr_accessor :refresh_chart_cache
42
-
43
- # If true and the directory does not exist, the directory will be automatically created before saving the file.
44
- attr_accessor :create_directory
45
-
46
- attr_accessor :sort_names
47
-
48
- attr_accessor :export_column_index_of_cell
49
-
50
- attr_accessor :is_indented_formatting
51
-
52
- attr_accessor :limit_as_xls
53
-
34
+ #The default value is false, it means that column index will be ignored if the cell is contiguous to the previous cell.
35
+ attr_accessor :export_column_index_of_cell
36
+ #Causes child elements to be indented.The default value is true. If the value is false, it will reduce the size of the xml file
37
+ attr_accessor :is_indented_formatting
38
+ #Limit as xls, the max row index is 65535 and the max column index is 255.
39
+ attr_accessor :limit_as_xls
40
+ #
41
+ attr_accessor :save_format
42
+ #
43
+ attr_accessor :cached_file_folder
44
+ #
45
+ attr_accessor :clear_data
46
+ #
47
+ attr_accessor :create_directory
48
+ #
49
+ attr_accessor :enable_http_compression
50
+ #
51
+ attr_accessor :refresh_chart_cache
52
+ #
53
+ attr_accessor :sort_names
54
+ #
55
+ attr_accessor :validate_merged_areas
54
56
 
55
57
  # Attribute mapping from ruby-style variable name to JSON key.
56
58
  def self.attribute_map
57
59
  {
58
- :'enable_http_compression' => :'EnableHTTPCompression',
60
+ :'export_column_index_of_cell' => :'ExportColumnIndexOfCell',
61
+ :'is_indented_formatting' => :'IsIndentedFormatting',
62
+ :'limit_as_xls' => :'LimitAsXls',
59
63
  :'save_format' => :'SaveFormat',
60
- :'clear_data' => :'ClearData',
61
64
  :'cached_file_folder' => :'CachedFileFolder',
62
- :'validate_merged_areas' => :'ValidateMergedAreas',
63
- :'refresh_chart_cache' => :'RefreshChartCache',
65
+ :'clear_data' => :'ClearData',
64
66
  :'create_directory' => :'CreateDirectory',
67
+ :'enable_http_compression' => :'EnableHTTPCompression',
68
+ :'refresh_chart_cache' => :'RefreshChartCache',
65
69
  :'sort_names' => :'SortNames',
66
- :'export_column_index_of_cell' => :'ExportColumnIndexOfCell',
67
- :'is_indented_formatting' => :'IsIndentedFormatting',
68
- :'limit_as_xls' => :'LimitAsXls'
70
+ :'validate_merged_areas' => :'ValidateMergedAreas'
69
71
  }
70
72
  end
71
73
 
72
74
  # Attribute type mapping.
73
75
  def self.swagger_types
74
76
  {
75
- :'enable_http_compression' => :'BOOLEAN',
77
+ :'export_column_index_of_cell' => :'BOOLEAN',
78
+ :'is_indented_formatting' => :'BOOLEAN',
79
+ :'limit_as_xls' => :'BOOLEAN',
76
80
  :'save_format' => :'String',
77
- :'clear_data' => :'BOOLEAN',
78
81
  :'cached_file_folder' => :'String',
79
- :'validate_merged_areas' => :'BOOLEAN',
80
- :'refresh_chart_cache' => :'BOOLEAN',
82
+ :'clear_data' => :'BOOLEAN',
81
83
  :'create_directory' => :'BOOLEAN',
84
+ :'enable_http_compression' => :'BOOLEAN',
85
+ :'refresh_chart_cache' => :'BOOLEAN',
82
86
  :'sort_names' => :'BOOLEAN',
83
- :'export_column_index_of_cell' => :'BOOLEAN',
84
- :'is_indented_formatting' => :'BOOLEAN',
85
- :'limit_as_xls' => :'BOOLEAN'
87
+ :'validate_merged_areas' => :'BOOLEAN'
86
88
  }
87
89
  end
88
90
 
@@ -94,48 +96,38 @@ module AsposeCellsCloud
94
96
  # convert string to symbol for hash key
95
97
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
96
98
 
97
- if attributes.has_key?(:'EnableHTTPCompression')
98
- self.enable_http_compression = attributes[:'EnableHTTPCompression']
99
+ if attributes.has_key?(:'ExportColumnIndexOfCell')
100
+ self.export_column_index_of_cell = attributes[:'ExportColumnIndexOfCell']
99
101
  end
100
-
101
- if attributes.has_key?(:'SaveFormat')
102
- self.save_format = attributes[:'SaveFormat']
102
+ if attributes.has_key?(:'IsIndentedFormatting')
103
+ self.is_indented_formatting = attributes[:'IsIndentedFormatting']
103
104
  end
104
-
105
- if attributes.has_key?(:'ClearData')
106
- self.clear_data = attributes[:'ClearData']
105
+ if attributes.has_key?(:'LimitAsXls')
106
+ self.limit_as_xls = attributes[:'LimitAsXls']
107
107
  end
108
-
109
- if attributes.has_key?(:'CachedFileFolder')
110
- self.cached_file_folder = attributes[:'CachedFileFolder']
108
+ if attributes.has_key?(:'SaveFormat')
109
+ self.save_format = attributes[:'SaveFormat']
111
110
  end
112
-
113
- if attributes.has_key?(:'ValidateMergedAreas')
114
- self.validate_merged_areas = attributes[:'ValidateMergedAreas']
111
+ if attributes.has_key?(:'CachedFileFolder')
112
+ self.cached_file_folder = attributes[:'CachedFileFolder']
115
113
  end
116
-
117
- if attributes.has_key?(:'RefreshChartCache')
118
- self.refresh_chart_cache = attributes[:'RefreshChartCache']
114
+ if attributes.has_key?(:'ClearData')
115
+ self.clear_data = attributes[:'ClearData']
119
116
  end
120
-
121
117
  if attributes.has_key?(:'CreateDirectory')
122
- self.create_directory = attributes[:'CreateDirectory']
118
+ self.create_directory = attributes[:'CreateDirectory']
123
119
  end
124
-
125
- if attributes.has_key?(:'SortNames')
126
- self.sort_names = attributes[:'SortNames']
120
+ if attributes.has_key?(:'EnableHTTPCompression')
121
+ self.enable_http_compression = attributes[:'EnableHTTPCompression']
127
122
  end
128
-
129
- if attributes.has_key?(:'ExportColumnIndexOfCell')
130
- self.export_column_index_of_cell = attributes[:'ExportColumnIndexOfCell']
123
+ if attributes.has_key?(:'RefreshChartCache')
124
+ self.refresh_chart_cache = attributes[:'RefreshChartCache']
131
125
  end
132
-
133
- if attributes.has_key?(:'IsIndentedFormatting')
134
- self.is_indented_formatting = attributes[:'IsIndentedFormatting']
126
+ if attributes.has_key?(:'SortNames')
127
+ self.sort_names = attributes[:'SortNames']
135
128
  end
136
-
137
- if attributes.has_key?(:'LimitAsXls')
138
- self.limit_as_xls = attributes[:'LimitAsXls']
129
+ if attributes.has_key?(:'ValidateMergedAreas')
130
+ self.validate_merged_areas = attributes[:'ValidateMergedAreas']
139
131
  end
140
132
 
141
133
  end
@@ -144,12 +136,57 @@ module AsposeCellsCloud
144
136
  # @return Array for valid properies with the reasons
145
137
  def list_invalid_properties
146
138
  invalid_properties = Array.new
139
+ if @export_column_index_of_cell.nil?
140
+ invalid_properties.push("invalid value for 'export_column_index_of_cell', export_column_index_of_cell cannot be nil.")
141
+ end
142
+ if @is_indented_formatting.nil?
143
+ invalid_properties.push("invalid value for 'is_indented_formatting', is_indented_formatting cannot be nil.")
144
+ end
145
+ if @limit_as_xls.nil?
146
+ invalid_properties.push("invalid value for 'limit_as_xls', limit_as_xls cannot be nil.")
147
+ end
148
+ if @save_format.nil?
149
+ invalid_properties.push("invalid value for 'save_format', save_format cannot be nil.")
150
+ end
151
+ if @cached_file_folder.nil?
152
+ invalid_properties.push("invalid value for 'cached_file_folder', cached_file_folder cannot be nil.")
153
+ end
154
+ if @clear_data.nil?
155
+ invalid_properties.push("invalid value for 'clear_data', clear_data cannot be nil.")
156
+ end
157
+ if @create_directory.nil?
158
+ invalid_properties.push("invalid value for 'create_directory', create_directory cannot be nil.")
159
+ end
160
+ if @enable_http_compression.nil?
161
+ invalid_properties.push("invalid value for 'enable_http_compression', enable_http_compression cannot be nil.")
162
+ end
163
+ if @refresh_chart_cache.nil?
164
+ invalid_properties.push("invalid value for 'refresh_chart_cache', refresh_chart_cache cannot be nil.")
165
+ end
166
+ if @sort_names.nil?
167
+ invalid_properties.push("invalid value for 'sort_names', sort_names cannot be nil.")
168
+ end
169
+ if @validate_merged_areas.nil?
170
+ invalid_properties.push("invalid value for 'validate_merged_areas', validate_merged_areas cannot be nil.")
171
+ end
172
+
147
173
  return invalid_properties
148
174
  end
149
175
 
150
176
  # Check to see if the all the properties in the model are valid
151
177
  # @return true if the model is valid
152
178
  def valid?
179
+ return false if @export_column_index_of_cell.nil?
180
+ return false if @is_indented_formatting.nil?
181
+ return false if @limit_as_xls.nil?
182
+ return false if @save_format.nil?
183
+ return false if @cached_file_folder.nil?
184
+ return false if @clear_data.nil?
185
+ return false if @create_directory.nil?
186
+ return false if @enable_http_compression.nil?
187
+ return false if @refresh_chart_cache.nil?
188
+ return false if @sort_names.nil?
189
+ return false if @validate_merged_areas.nil?
153
190
  return true
154
191
  end
155
192
 
@@ -158,17 +195,18 @@ module AsposeCellsCloud
158
195
  def ==(o)
159
196
  return true if self.equal?(o)
160
197
  self.class == o.class &&
161
- enable_http_compression == o.enable_http_compression &&
198
+ export_column_index_of_cell == o.export_column_index_of_cell &&
199
+ is_indented_formatting == o.is_indented_formatting &&
200
+ limit_as_xls == o.limit_as_xls &&
162
201
  save_format == o.save_format &&
163
- clear_data == o.clear_data &&
164
202
  cached_file_folder == o.cached_file_folder &&
165
- validate_merged_areas == o.validate_merged_areas &&
166
- refresh_chart_cache == o.refresh_chart_cache &&
203
+ clear_data == o.clear_data &&
167
204
  create_directory == o.create_directory &&
205
+ enable_http_compression == o.enable_http_compression &&
206
+ refresh_chart_cache == o.refresh_chart_cache &&
168
207
  sort_names == o.sort_names &&
169
- export_column_index_of_cell == o.export_column_index_of_cell &&
170
- is_indented_formatting == o.is_indented_formatting &&
171
- limit_as_xls == o.limit_as_xls
208
+ validate_merged_areas == o.validate_merged_areas
209
+ std_dev == o.std_dev
172
210
  end
173
211
 
174
212
  # @see the `==` method
@@ -180,7 +218,7 @@ module AsposeCellsCloud
180
218
  # Calculates hash code according to all attributes.
181
219
  # @return [Fixnum] Hash code
182
220
  def hash
183
- [enable_http_compression, save_format, clear_data, cached_file_folder, validate_merged_areas, refresh_chart_cache, create_directory, sort_names, export_column_index_of_cell, is_indented_formatting, limit_as_xls].hash
221
+ [ export_column_index_of_cell , is_indented_formatting , limit_as_xls , save_format , cached_file_folder , clear_data , create_directory , enable_http_compression , refresh_chart_cache , sort_names , validate_merged_areas ].hash
184
222
  end
185
223
 
186
224
  # Builds the object from hash
@@ -33,6 +33,7 @@ module AsposeCellsCloud
33
33
 
34
34
  attr_accessor :file
35
35
  attr_accessor :type
36
+ attr_accessor :out_format
36
37
  attr_accessor :password
37
38
  attr_accessor :check_excel_restriction
38
39
 
@@ -48,6 +49,9 @@ module AsposeCellsCloud
48
49
  if attributes.has_key?(:'type')
49
50
  self.type = attributes[:'type']
50
51
  end
52
+ if attributes.has_key?(:'outFormat')
53
+ self.out_format = attributes[:'outFormat']
54
+ end
51
55
  if attributes.has_key?(:'password')
52
56
  self.password = attributes[:'password']
53
57
  end
@@ -61,6 +65,7 @@ module AsposeCellsCloud
61
65
  {
62
66
  :'file' => :'File',
63
67
  :'type' => :'type',
68
+ :'out_format' => :'outFormat',
64
69
  :'password' => :'password',
65
70
  :'check_excel_restriction' => :'checkExcelRestriction'
66
71
  }
@@ -71,6 +76,7 @@ module AsposeCellsCloud
71
76
  {
72
77
  :'file' => :'Hash',
73
78
  :'type' => :'String',
79
+ :'out_format' => :'String',
74
80
  :'password' => :'String',
75
81
  :'check_excel_restriction' => :'BOOLEAN'
76
82
  }
@@ -91,6 +97,7 @@ module AsposeCellsCloud
91
97
  # query parameters
92
98
  query_params = {}
93
99
  query_params[:'type'] = self.type if !self.type.nil?
100
+ query_params[:'outFormat'] = self.out_format if !self.out_format.nil?
94
101
  query_params[:'password'] = self.password if !self.password.nil?
95
102
  query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
96
103
 
@@ -41,6 +41,7 @@ module AsposeCellsCloud
41
41
  attr_accessor :storage_name
42
42
  attr_accessor :out_storage_name
43
43
  attr_accessor :check_excel_restriction
44
+ attr_accessor :region
44
45
 
45
46
  def initialize(attributes = {})
46
47
  return unless attributes.is_a?(Hash)
@@ -78,6 +79,9 @@ module AsposeCellsCloud
78
79
  if attributes.has_key?(:'checkExcelRestriction')
79
80
  self.check_excel_restriction = attributes[:'checkExcelRestriction']
80
81
  end
82
+ if attributes.has_key?(:'region')
83
+ self.region = attributes[:'region']
84
+ end
81
85
 
82
86
  end
83
87
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -92,7 +96,8 @@ module AsposeCellsCloud
92
96
  :'out_path' => :'outPath',
93
97
  :'storage_name' => :'storageName',
94
98
  :'out_storage_name' => :'outStorageName',
95
- :'check_excel_restriction' => :'checkExcelRestriction'
99
+ :'check_excel_restriction' => :'checkExcelRestriction',
100
+ :'region' => :'region'
96
101
  }
97
102
  end
98
103
 
@@ -108,7 +113,8 @@ module AsposeCellsCloud
108
113
  :'out_path' => :'String',
109
114
  :'storage_name' => :'String',
110
115
  :'out_storage_name' => :'String',
111
- :'check_excel_restriction' => :'BOOLEAN'
116
+ :'check_excel_restriction' => :'BOOLEAN',
117
+ :'region' => :'String'
112
118
  }
113
119
  end
114
120
 
@@ -135,6 +141,7 @@ module AsposeCellsCloud
135
141
  query_params[:'storageName'] = self.storage_name if !self.storage_name.nil?
136
142
  query_params[:'outStorageName'] = self.out_storage_name if !self.out_storage_name.nil?
137
143
  query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
144
+ query_params[:'region'] = self.region if !self.region.nil?
138
145
 
139
146
  # header parameters
140
147
  header_params = {}
@@ -36,6 +36,7 @@ module AsposeCellsCloud
36
36
  attr_accessor :format
37
37
  attr_accessor :password
38
38
  attr_accessor :check_excel_restriction
39
+ attr_accessor :region
39
40
 
40
41
  def initialize(attributes = {})
41
42
  return unless attributes.is_a?(Hash)
@@ -58,6 +59,9 @@ module AsposeCellsCloud
58
59
  if attributes.has_key?(:'checkExcelRestriction')
59
60
  self.check_excel_restriction = attributes[:'checkExcelRestriction']
60
61
  end
62
+ if attributes.has_key?(:'region')
63
+ self.region = attributes[:'region']
64
+ end
61
65
 
62
66
  end
63
67
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -67,7 +71,8 @@ module AsposeCellsCloud
67
71
  :'datasource' => :'datasource',
68
72
  :'format' => :'format',
69
73
  :'password' => :'password',
70
- :'check_excel_restriction' => :'checkExcelRestriction'
74
+ :'check_excel_restriction' => :'checkExcelRestriction',
75
+ :'region' => :'region'
71
76
  }
72
77
  end
73
78
 
@@ -78,7 +83,8 @@ module AsposeCellsCloud
78
83
  :'datasource' => :'String',
79
84
  :'format' => :'String',
80
85
  :'password' => :'String',
81
- :'check_excel_restriction' => :'BOOLEAN'
86
+ :'check_excel_restriction' => :'BOOLEAN',
87
+ :'region' => :'String'
82
88
  }
83
89
  end
84
90
 
@@ -104,6 +110,7 @@ module AsposeCellsCloud
104
110
  query_params[:'format'] = self.format if !self.format.nil?
105
111
  query_params[:'password'] = self.password if !self.password.nil?
106
112
  query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
113
+ query_params[:'region'] = self.region if !self.region.nil?
107
114
 
108
115
  # header parameters
109
116
  header_params = {}
@@ -37,6 +37,7 @@ module AsposeCellsCloud
37
37
  attr_accessor :out_format
38
38
  attr_accessor :password
39
39
  attr_accessor :check_excel_restriction
40
+ attr_accessor :region
40
41
 
41
42
  def initialize(attributes = {})
42
43
  return unless attributes.is_a?(Hash)
@@ -62,6 +63,9 @@ module AsposeCellsCloud
62
63
  if attributes.has_key?(:'checkExcelRestriction')
63
64
  self.check_excel_restriction = attributes[:'checkExcelRestriction']
64
65
  end
66
+ if attributes.has_key?(:'region')
67
+ self.region = attributes[:'region']
68
+ end
65
69
 
66
70
  end
67
71
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -72,7 +76,8 @@ module AsposeCellsCloud
72
76
  :'sheetname' => :'sheetname',
73
77
  :'out_format' => :'outFormat',
74
78
  :'password' => :'password',
75
- :'check_excel_restriction' => :'checkExcelRestriction'
79
+ :'check_excel_restriction' => :'checkExcelRestriction',
80
+ :'region' => :'region'
76
81
  }
77
82
  end
78
83
 
@@ -84,7 +89,8 @@ module AsposeCellsCloud
84
89
  :'sheetname' => :'String',
85
90
  :'out_format' => :'String',
86
91
  :'password' => :'String',
87
- :'check_excel_restriction' => :'BOOLEAN'
92
+ :'check_excel_restriction' => :'BOOLEAN',
93
+ :'region' => :'String'
88
94
  }
89
95
  end
90
96
 
@@ -111,6 +117,7 @@ module AsposeCellsCloud
111
117
  query_params[:'outFormat'] = self.out_format if !self.out_format.nil?
112
118
  query_params[:'password'] = self.password if !self.password.nil?
113
119
  query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
120
+ query_params[:'region'] = self.region if !self.region.nil?
114
121
 
115
122
  # header parameters
116
123
  header_params = {}
@@ -34,6 +34,7 @@ module AsposeCellsCloud
34
34
  attr_accessor :file
35
35
  attr_accessor :password
36
36
  attr_accessor :check_excel_restriction
37
+ attr_accessor :region
37
38
 
38
39
  def initialize(attributes = {})
39
40
  return unless attributes.is_a?(Hash)
@@ -50,6 +51,9 @@ module AsposeCellsCloud
50
51
  if attributes.has_key?(:'checkExcelRestriction')
51
52
  self.check_excel_restriction = attributes[:'checkExcelRestriction']
52
53
  end
54
+ if attributes.has_key?(:'region')
55
+ self.region = attributes[:'region']
56
+ end
53
57
 
54
58
  end
55
59
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -57,7 +61,8 @@ module AsposeCellsCloud
57
61
  {
58
62
  :'file' => :'File',
59
63
  :'password' => :'password',
60
- :'check_excel_restriction' => :'checkExcelRestriction'
64
+ :'check_excel_restriction' => :'checkExcelRestriction',
65
+ :'region' => :'region'
61
66
  }
62
67
  end
63
68
 
@@ -66,7 +71,8 @@ module AsposeCellsCloud
66
71
  {
67
72
  :'file' => :'Hash',
68
73
  :'password' => :'String',
69
- :'check_excel_restriction' => :'BOOLEAN'
74
+ :'check_excel_restriction' => :'BOOLEAN',
75
+ :'region' => :'String'
70
76
  }
71
77
  end
72
78
 
@@ -86,6 +92,7 @@ module AsposeCellsCloud
86
92
  query_params = {}
87
93
  query_params[:'password'] = self.password if !self.password.nil?
88
94
  query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
95
+ query_params[:'region'] = self.region if !self.region.nil?
89
96
 
90
97
  # header parameters
91
98
  header_params = {}
@@ -34,6 +34,7 @@ module AsposeCellsCloud
34
34
  attr_accessor :file
35
35
  attr_accessor :password
36
36
  attr_accessor :check_excel_restriction
37
+ attr_accessor :region
37
38
 
38
39
  def initialize(attributes = {})
39
40
  return unless attributes.is_a?(Hash)
@@ -50,6 +51,9 @@ module AsposeCellsCloud
50
51
  if attributes.has_key?(:'checkExcelRestriction')
51
52
  self.check_excel_restriction = attributes[:'checkExcelRestriction']
52
53
  end
54
+ if attributes.has_key?(:'region')
55
+ self.region = attributes[:'region']
56
+ end
53
57
 
54
58
  end
55
59
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -57,7 +61,8 @@ module AsposeCellsCloud
57
61
  {
58
62
  :'file' => :'File',
59
63
  :'password' => :'password',
60
- :'check_excel_restriction' => :'checkExcelRestriction'
64
+ :'check_excel_restriction' => :'checkExcelRestriction',
65
+ :'region' => :'region'
61
66
  }
62
67
  end
63
68
 
@@ -66,7 +71,8 @@ module AsposeCellsCloud
66
71
  {
67
72
  :'file' => :'Hash',
68
73
  :'password' => :'String',
69
- :'check_excel_restriction' => :'BOOLEAN'
74
+ :'check_excel_restriction' => :'BOOLEAN',
75
+ :'region' => :'String'
70
76
  }
71
77
  end
72
78
 
@@ -86,6 +92,7 @@ module AsposeCellsCloud
86
92
  query_params = {}
87
93
  query_params[:'password'] = self.password if !self.password.nil?
88
94
  query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
95
+ query_params[:'region'] = self.region if !self.region.nil?
89
96
 
90
97
  # header parameters
91
98
  header_params = {}
@@ -34,6 +34,7 @@ module AsposeCellsCloud
34
34
  attr_accessor :file
35
35
  attr_accessor :password
36
36
  attr_accessor :check_excel_restriction
37
+ attr_accessor :region
37
38
 
38
39
  def initialize(attributes = {})
39
40
  return unless attributes.is_a?(Hash)
@@ -50,6 +51,9 @@ module AsposeCellsCloud
50
51
  if attributes.has_key?(:'checkExcelRestriction')
51
52
  self.check_excel_restriction = attributes[:'checkExcelRestriction']
52
53
  end
54
+ if attributes.has_key?(:'region')
55
+ self.region = attributes[:'region']
56
+ end
53
57
 
54
58
  end
55
59
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -57,7 +61,8 @@ module AsposeCellsCloud
57
61
  {
58
62
  :'file' => :'File',
59
63
  :'password' => :'password',
60
- :'check_excel_restriction' => :'checkExcelRestriction'
64
+ :'check_excel_restriction' => :'checkExcelRestriction',
65
+ :'region' => :'region'
61
66
  }
62
67
  end
63
68
 
@@ -66,7 +71,8 @@ module AsposeCellsCloud
66
71
  {
67
72
  :'file' => :'Hash',
68
73
  :'password' => :'String',
69
- :'check_excel_restriction' => :'BOOLEAN'
74
+ :'check_excel_restriction' => :'BOOLEAN',
75
+ :'region' => :'String'
70
76
  }
71
77
  end
72
78
 
@@ -86,6 +92,7 @@ module AsposeCellsCloud
86
92
  query_params = {}
87
93
  query_params[:'password'] = self.password if !self.password.nil?
88
94
  query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
95
+ query_params[:'region'] = self.region if !self.region.nil?
89
96
 
90
97
  # header parameters
91
98
  header_params = {}