aspose_cells_cloud 23.11 → 23.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -5
  3. data/lib/aspose_cells_cloud/api/cells_api.rb +94 -88
  4. data/lib/aspose_cells_cloud/models/batch_convert_request.rb +13 -1
  5. data/lib/aspose_cells_cloud/models/batch_split_request.rb +13 -1
  6. data/lib/aspose_cells_cloud/models/convert_task_parameter.rb +13 -1
  7. data/lib/aspose_cells_cloud/models/import_json_request.rb +1 -1
  8. data/lib/aspose_cells_cloud/requests/delete_metadata_request.rb +7 -0
  9. data/lib/aspose_cells_cloud/requests/get_workbook_request.rb +9 -2
  10. data/lib/aspose_cells_cloud/requests/post_assemble_request.rb +9 -2
  11. data/lib/aspose_cells_cloud/requests/post_clear_objects_request.rb +9 -2
  12. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_csv_request.rb +9 -2
  13. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_docx_request.rb +9 -2
  14. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_html_request.rb +9 -2
  15. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_json_request.rb +9 -2
  16. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_markdown_request.rb +9 -2
  17. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_pdf_request.rb +9 -2
  18. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_png_request.rb +9 -2
  19. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_pptx_request.rb +9 -2
  20. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_sql_request.rb +9 -2
  21. data/lib/aspose_cells_cloud/requests/post_export_request.rb +9 -2
  22. data/lib/aspose_cells_cloud/requests/post_import_data_request.rb +9 -2
  23. data/lib/aspose_cells_cloud/requests/post_import_request.rb +31 -2
  24. data/lib/aspose_cells_cloud/requests/post_merge_request.rb +15 -8
  25. data/lib/aspose_cells_cloud/requests/post_metadata_request.rb +16 -2
  26. data/lib/aspose_cells_cloud/requests/post_repair_request.rb +6 -6
  27. data/lib/aspose_cells_cloud/requests/post_reverse_request.rb +15 -8
  28. data/lib/aspose_cells_cloud/requests/post_rotate_request.rb +15 -8
  29. data/lib/aspose_cells_cloud/requests/post_split_request.rb +18 -11
  30. data/lib/aspose_cells_cloud/requests/post_watermark_request.rb +16 -2
  31. data/lib/aspose_cells_cloud/requests/post_workbook_export_xml_request.rb +9 -2
  32. data/lib/aspose_cells_cloud/requests/post_workbook_import_json_request.rb +9 -2
  33. data/lib/aspose_cells_cloud/requests/post_workbook_import_xml_request.rb +9 -2
  34. data/lib/aspose_cells_cloud/requests/post_workbook_save_as_request.rb +9 -2
  35. data/lib/aspose_cells_cloud/requests/put_convert_workbook_request.rb +9 -2
  36. data/lib/aspose_cells_cloud/version.rb +1 -1
  37. data/lib/aspose_cells_cloud.rb +0 -2
  38. data/spec/api/batch_controller_spec.rb +4 -4
  39. data/spec/api/workbook_controller_spec.rb +1 -1
  40. data/spec/conversion/conversion_json_spec.rb +0 -44
  41. data/spec/conversion/conversion_png_spec.rb +0 -88
  42. data/spec/conversion/conversion_spec.rb +0 -239
  43. data/spec/document/light_cells_spec.rb +80 -192
  44. metadata +2 -2
@@ -43,6 +43,8 @@ module AsposeCellsCloud
43
43
  attr_accessor :out_folder
44
44
  #Aspose Cloud storage name.
45
45
  attr_accessor :out_storage
46
+ #The regional settings for workbook.
47
+ attr_accessor :region
46
48
  #Indicates save options.
47
49
  attr_accessor :save_options
48
50
 
@@ -55,6 +57,7 @@ module AsposeCellsCloud
55
57
  :'format' => :'Format',
56
58
  :'out_folder' => :'OutFolder',
57
59
  :'out_storage' => :'OutStorage',
60
+ :'region' => :'Region',
58
61
  :'save_options' => :'SaveOptions'
59
62
  }
60
63
  end
@@ -68,6 +71,7 @@ module AsposeCellsCloud
68
71
  :'format' => :'String',
69
72
  :'out_folder' => :'String',
70
73
  :'out_storage' => :'String',
74
+ :'region' => :'String',
71
75
  :'save_options' => :'SaveOptions'
72
76
  }
73
77
  end
@@ -98,6 +102,9 @@ module AsposeCellsCloud
98
102
  if attributes.has_key?(:'OutStorage')
99
103
  self.out_storage = attributes[:'OutStorage']
100
104
  end
105
+ if attributes.has_key?(:'Region')
106
+ self.region = attributes[:'Region']
107
+ end
101
108
  if attributes.has_key?(:'SaveOptions')
102
109
  self.save_options = attributes[:'SaveOptions']
103
110
  end
@@ -126,6 +133,9 @@ module AsposeCellsCloud
126
133
  if @out_storage.nil?
127
134
  invalid_properties.push("invalid value for 'out_storage', out_storage cannot be nil.")
128
135
  end
136
+ if @region.nil?
137
+ invalid_properties.push("invalid value for 'region', region cannot be nil.")
138
+ end
129
139
  if @save_options.nil?
130
140
  invalid_properties.push("invalid value for 'save_options', save_options cannot be nil.")
131
141
  end
@@ -142,6 +152,7 @@ module AsposeCellsCloud
142
152
  return false if @format.nil?
143
153
  return false if @out_folder.nil?
144
154
  return false if @out_storage.nil?
155
+ return false if @region.nil?
145
156
  return false if @save_options.nil?
146
157
  return true
147
158
  end
@@ -157,6 +168,7 @@ module AsposeCellsCloud
157
168
  format == o.format &&
158
169
  out_folder == o.out_folder &&
159
170
  out_storage == o.out_storage &&
171
+ region == o.region &&
160
172
  save_options == o.save_options
161
173
  std_dev == o.std_dev
162
174
  end
@@ -170,7 +182,7 @@ module AsposeCellsCloud
170
182
  # Calculates hash code according to all attributes.
171
183
  # @return [Fixnum] Hash code
172
184
  def hash
173
- [ source_folder , source_storage , match_condition , format , out_folder , out_storage , save_options ].hash
185
+ [ source_folder , source_storage , match_condition , format , out_folder , out_storage , region , save_options ].hash
174
186
  end
175
187
 
176
188
  # Builds the object from hash
@@ -47,6 +47,8 @@ module AsposeCellsCloud
47
47
  attr_accessor :out_folder
48
48
  #Aspose Cloud storage name.
49
49
  attr_accessor :out_storage
50
+ #The regional settings for workbook.
51
+ attr_accessor :region
50
52
  #Indicates save options.
51
53
  attr_accessor :save_options
52
54
 
@@ -61,6 +63,7 @@ module AsposeCellsCloud
61
63
  :'to_index' => :'ToIndex',
62
64
  :'out_folder' => :'OutFolder',
63
65
  :'out_storage' => :'OutStorage',
66
+ :'region' => :'Region',
64
67
  :'save_options' => :'SaveOptions'
65
68
  }
66
69
  end
@@ -76,6 +79,7 @@ module AsposeCellsCloud
76
79
  :'to_index' => :'Integer',
77
80
  :'out_folder' => :'String',
78
81
  :'out_storage' => :'String',
82
+ :'region' => :'String',
79
83
  :'save_options' => :'SaveOptions'
80
84
  }
81
85
  end
@@ -112,6 +116,9 @@ module AsposeCellsCloud
112
116
  if attributes.has_key?(:'OutStorage')
113
117
  self.out_storage = attributes[:'OutStorage']
114
118
  end
119
+ if attributes.has_key?(:'Region')
120
+ self.region = attributes[:'Region']
121
+ end
115
122
  if attributes.has_key?(:'SaveOptions')
116
123
  self.save_options = attributes[:'SaveOptions']
117
124
  end
@@ -146,6 +153,9 @@ module AsposeCellsCloud
146
153
  if @out_storage.nil?
147
154
  invalid_properties.push("invalid value for 'out_storage', out_storage cannot be nil.")
148
155
  end
156
+ if @region.nil?
157
+ invalid_properties.push("invalid value for 'region', region cannot be nil.")
158
+ end
149
159
  if @save_options.nil?
150
160
  invalid_properties.push("invalid value for 'save_options', save_options cannot be nil.")
151
161
  end
@@ -164,6 +174,7 @@ module AsposeCellsCloud
164
174
  return false if @to_index.nil?
165
175
  return false if @out_folder.nil?
166
176
  return false if @out_storage.nil?
177
+ return false if @region.nil?
167
178
  return false if @save_options.nil?
168
179
  return true
169
180
  end
@@ -181,6 +192,7 @@ module AsposeCellsCloud
181
192
  to_index == o.to_index &&
182
193
  out_folder == o.out_folder &&
183
194
  out_storage == o.out_storage &&
195
+ region == o.region &&
184
196
  save_options == o.save_options
185
197
  std_dev == o.std_dev
186
198
  end
@@ -194,7 +206,7 @@ module AsposeCellsCloud
194
206
  # Calculates hash code according to all attributes.
195
207
  # @return [Fixnum] Hash code
196
208
  def hash
197
- [ source_folder , source_storage , match_condition , format , from_index , to_index , out_folder , out_storage , save_options ].hash
209
+ [ source_folder , source_storage , match_condition , format , from_index , to_index , out_folder , out_storage , region , save_options ].hash
198
210
  end
199
211
 
200
212
  # Builds the object from hash
@@ -36,6 +36,8 @@ module AsposeCellsCloud
36
36
  #
37
37
  attr_accessor :destination_file
38
38
  #
39
+ attr_accessor :region
40
+ #
39
41
  attr_accessor :save_options
40
42
 
41
43
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -43,6 +45,7 @@ module AsposeCellsCloud
43
45
  {
44
46
  :'workbook' => :'Workbook',
45
47
  :'destination_file' => :'DestinationFile',
48
+ :'region' => :'Region',
46
49
  :'save_options' => :'SaveOptions'
47
50
  }
48
51
  end
@@ -52,6 +55,7 @@ module AsposeCellsCloud
52
55
  {
53
56
  :'workbook' => :'FileSource',
54
57
  :'destination_file' => :'String',
58
+ :'region' => :'String',
55
59
  :'save_options' => :'SaveOptions'
56
60
  }
57
61
  end
@@ -70,6 +74,9 @@ module AsposeCellsCloud
70
74
  if attributes.has_key?(:'DestinationFile')
71
75
  self.destination_file = attributes[:'DestinationFile']
72
76
  end
77
+ if attributes.has_key?(:'Region')
78
+ self.region = attributes[:'Region']
79
+ end
73
80
  if attributes.has_key?(:'SaveOptions')
74
81
  self.save_options = attributes[:'SaveOptions']
75
82
  end
@@ -86,6 +93,9 @@ module AsposeCellsCloud
86
93
  if @destination_file.nil?
87
94
  invalid_properties.push("invalid value for 'destination_file', destination_file cannot be nil.")
88
95
  end
96
+ if @region.nil?
97
+ invalid_properties.push("invalid value for 'region', region cannot be nil.")
98
+ end
89
99
  if @save_options.nil?
90
100
  invalid_properties.push("invalid value for 'save_options', save_options cannot be nil.")
91
101
  end
@@ -98,6 +108,7 @@ module AsposeCellsCloud
98
108
  def valid?
99
109
  return false if @workbook.nil?
100
110
  return false if @destination_file.nil?
111
+ return false if @region.nil?
101
112
  return false if @save_options.nil?
102
113
  return true
103
114
  end
@@ -109,6 +120,7 @@ module AsposeCellsCloud
109
120
  self.class == o.class &&
110
121
  workbook == o.workbook &&
111
122
  destination_file == o.destination_file &&
123
+ region == o.region &&
112
124
  save_options == o.save_options
113
125
  std_dev == o.std_dev
114
126
  end
@@ -122,7 +134,7 @@ module AsposeCellsCloud
122
134
  # Calculates hash code according to all attributes.
123
135
  # @return [Fixnum] Hash code
124
136
  def hash
125
- [ workbook , destination_file , save_options ].hash
137
+ [ workbook , destination_file , region , save_options ].hash
126
138
  end
127
139
 
128
140
  # Builds the object from hash
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class ImportJsonRequest
34
- #XML file source
34
+ #Json file source
35
35
  attr_accessor :json_file_source
36
36
  #Import position description.
37
37
  attr_accessor :import_position
@@ -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 = {}
@@ -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 = {}