aspose_slides_cloud 21.6.0 → 21.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82fc614454b51c219f07b3d8f02dc89349d08b5f1f18512e516103554ca5eb3a
4
- data.tar.gz: 52f865f1e6b5f79d31aa9c92bbf8fca09a4dbfce8a89aff17e0a671b5f186732
3
+ metadata.gz: c08ad2cdcc17dd72c896058f6cb8ea5490e38c20636afe17178705812460d16a
4
+ data.tar.gz: b7bf4030b046c0656fe0e0801dd6b6596f311348235922b8d8397c1d16b7fee6
5
5
  SHA512:
6
- metadata.gz: e64583bfb97d183dd90034dc119f8abd53443fa94dabac4d1498241bed2d9595c827cf382717dbea4d53d8590c84e4f13686b8b99e100f8d206d25ad45389fbb
7
- data.tar.gz: 744935f2e75cd6eb083b91ef4caa1f3b91353f02b097daa08bd651c26858d148527d193623b2fb6586d637fdce74fa363ebee1a9e39d2cecf93daaeda21fcacc
6
+ metadata.gz: 543ba4f896a5741128f0bc556645d3e720f1e4ac696d62efe9dc0420d7c03c59629bff63a5d15dc4b8668bf5ac7e211e31f4abf2ec071ad7ced74f33d326f766
7
+ data.tar.gz: 61d2220fb92fcc72138e5f09fc2868bf9b2bd986580c40389ea50f9f23ee8b34e17ca0656ffb474b628086c9d7fd55f1ea3368004b85a9d04c63114a6194dde2
@@ -117,8 +117,9 @@ module AsposeSlidesCloud
117
117
  # @param password Document password.
118
118
  # @param storage Document storage.
119
119
  # @param fonts_folder Custom fonts folder.
120
- def convert(document, format, password = nil, storage = nil, fonts_folder = nil)
121
- data, _status_code, _headers = convert_with_http_info(document, format, password, storage, fonts_folder)
120
+ # @param slides The indices of the slides to be converted. If not specified, all slides are converted by default.
121
+ def convert(document, format, password = nil, storage = nil, fonts_folder = nil, slides = nil)
122
+ data, _status_code, _headers = convert_with_http_info(document, format, password, storage, fonts_folder, slides)
122
123
  data
123
124
  end
124
125
 
@@ -128,7 +129,8 @@ module AsposeSlidesCloud
128
129
  # @param password Document password.
129
130
  # @param storage Document storage.
130
131
  # @param fonts_folder Custom fonts folder.
131
- def convert_with_http_info(document, format, password = nil, storage = nil, fonts_folder = nil)
132
+ # @param slides The indices of the slides to be converted. If not specified, all slides are converted by default.
133
+ def convert_with_http_info(document, format, password = nil, storage = nil, fonts_folder = nil, slides = nil)
132
134
  if @api_client.config.debugging
133
135
  @api_client.config.logger.debug 'Calling API: SlidesApi.convert ...'
134
136
  end
@@ -153,6 +155,7 @@ module AsposeSlidesCloud
153
155
  query_params = {}
154
156
  query_params[:'storage'] = storage unless storage.nil?
155
157
  query_params[:'fontsFolder'] = fonts_folder unless fonts_folder.nil?
158
+ query_params[:'slides'] = slides unless slides.nil?
156
159
 
157
160
  # header parameters
158
161
  header_params = {}
@@ -188,8 +191,9 @@ module AsposeSlidesCloud
188
191
  # @param password Document password.
189
192
  # @param storage Document storage.
190
193
  # @param fonts_folder Custom fonts folder.
191
- def convert_and_save(document, format, out_path, password = nil, storage = nil, fonts_folder = nil)
192
- convert_and_save_with_http_info(document, format, out_path, password, storage, fonts_folder)
194
+ # @param slides The indices of the slides to be converted. If not specified, all slides are converted by default.
195
+ def convert_and_save(document, format, out_path, password = nil, storage = nil, fonts_folder = nil, slides = nil)
196
+ convert_and_save_with_http_info(document, format, out_path, password, storage, fonts_folder, slides)
193
197
  nil
194
198
  end
195
199
 
@@ -200,7 +204,8 @@ module AsposeSlidesCloud
200
204
  # @param password Document password.
201
205
  # @param storage Document storage.
202
206
  # @param fonts_folder Custom fonts folder.
203
- def convert_and_save_with_http_info(document, format, out_path, password = nil, storage = nil, fonts_folder = nil)
207
+ # @param slides The indices of the slides to be converted. If not specified, all slides are converted by default.
208
+ def convert_and_save_with_http_info(document, format, out_path, password = nil, storage = nil, fonts_folder = nil, slides = nil)
204
209
  if @api_client.config.debugging
205
210
  @api_client.config.logger.debug 'Calling API: SlidesApi.convert_and_save ...'
206
211
  end
@@ -230,6 +235,7 @@ module AsposeSlidesCloud
230
235
  query_params[:'outPath'] = out_path unless out_path.nil?
231
236
  query_params[:'storage'] = storage unless storage.nil?
232
237
  query_params[:'fontsFolder'] = fonts_folder unless fonts_folder.nil?
238
+ query_params[:'slides'] = slides unless slides.nil?
233
239
 
234
240
  # header parameters
235
241
  header_params = {}
@@ -5738,7 +5744,7 @@ module AsposeSlidesCloud
5738
5744
  # HTTP header 'Accept' (if needed)
5739
5745
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5740
5746
  # HTTP header 'Content-Type'
5741
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
5747
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5742
5748
  header_params[:'password'] = password unless password.nil?
5743
5749
 
5744
5750
  # http body (model)
@@ -6649,8 +6655,9 @@ module AsposeSlidesCloud
6649
6655
  # @param folder Document folder.
6650
6656
  # @param storage Document storage.
6651
6657
  # @param fonts_folder Custom fonts folder.
6652
- def download_presentation(name, format, options = nil, password = nil, folder = nil, storage = nil, fonts_folder = nil)
6653
- data, _status_code, _headers = download_presentation_with_http_info(name, format, options, password, folder, storage, fonts_folder)
6658
+ # @param slides The indices of the slides to be saved. If not specified, all slides are saved by default.
6659
+ def download_presentation(name, format, options = nil, password = nil, folder = nil, storage = nil, fonts_folder = nil, slides = nil)
6660
+ data, _status_code, _headers = download_presentation_with_http_info(name, format, options, password, folder, storage, fonts_folder, slides)
6654
6661
  data
6655
6662
  end
6656
6663
 
@@ -6662,7 +6669,8 @@ module AsposeSlidesCloud
6662
6669
  # @param folder Document folder.
6663
6670
  # @param storage Document storage.
6664
6671
  # @param fonts_folder Custom fonts folder.
6665
- def download_presentation_with_http_info(name, format, options = nil, password = nil, folder = nil, storage = nil, fonts_folder = nil)
6672
+ # @param slides The indices of the slides to be saved. If not specified, all slides are saved by default.
6673
+ def download_presentation_with_http_info(name, format, options = nil, password = nil, folder = nil, storage = nil, fonts_folder = nil, slides = nil)
6666
6674
  if @api_client.config.debugging
6667
6675
  @api_client.config.logger.debug 'Calling API: SlidesApi.download_presentation ...'
6668
6676
  end
@@ -6689,6 +6697,7 @@ module AsposeSlidesCloud
6689
6697
  query_params[:'folder'] = folder unless folder.nil?
6690
6698
  query_params[:'storage'] = storage unless storage.nil?
6691
6699
  query_params[:'fontsFolder'] = fonts_folder unless fonts_folder.nil?
6700
+ query_params[:'slides'] = slides unless slides.nil?
6692
6701
 
6693
6702
  # header parameters
6694
6703
  header_params = {}
@@ -11938,8 +11947,9 @@ module AsposeSlidesCloud
11938
11947
  # @param folder Document folder.
11939
11948
  # @param storage Document storage.
11940
11949
  # @param fonts_folder Custom fonts folder.
11941
- def save_presentation(name, format, out_path, options = nil, password = nil, folder = nil, storage = nil, fonts_folder = nil)
11942
- save_presentation_with_http_info(name, format, out_path, options, password, folder, storage, fonts_folder)
11950
+ # @param slides The indices of the slides to be saved. If not specified, all slides are saved by default.
11951
+ def save_presentation(name, format, out_path, options = nil, password = nil, folder = nil, storage = nil, fonts_folder = nil, slides = nil)
11952
+ save_presentation_with_http_info(name, format, out_path, options, password, folder, storage, fonts_folder, slides)
11943
11953
  nil
11944
11954
  end
11945
11955
 
@@ -11952,7 +11962,8 @@ module AsposeSlidesCloud
11952
11962
  # @param folder Document folder.
11953
11963
  # @param storage Document storage.
11954
11964
  # @param fonts_folder Custom fonts folder.
11955
- def save_presentation_with_http_info(name, format, out_path, options = nil, password = nil, folder = nil, storage = nil, fonts_folder = nil)
11965
+ # @param slides The indices of the slides to be saved. If not specified, all slides are saved by default.
11966
+ def save_presentation_with_http_info(name, format, out_path, options = nil, password = nil, folder = nil, storage = nil, fonts_folder = nil, slides = nil)
11956
11967
  if @api_client.config.debugging
11957
11968
  @api_client.config.logger.debug 'Calling API: SlidesApi.save_presentation ...'
11958
11969
  end
@@ -11984,6 +11995,7 @@ module AsposeSlidesCloud
11984
11995
  query_params[:'folder'] = folder unless folder.nil?
11985
11996
  query_params[:'storage'] = storage unless storage.nil?
11986
11997
  query_params[:'fontsFolder'] = fonts_folder unless fonts_folder.nil?
11998
+ query_params[:'slides'] = slides unless slides.nil?
11987
11999
 
11988
12000
  # header parameters
11989
12001
  header_params = {}
@@ -91,7 +91,7 @@ module AsposeSlidesCloud
91
91
  else
92
92
  fail ApiError.new(:code => response.status,
93
93
  :response_headers => response.headers,
94
- :response_body => response.body)
94
+ :response_body => response.body && !response.body.empty? ? response.body : response.reason_phrase)
95
95
  end
96
96
  end
97
97
 
@@ -21,5 +21,5 @@ SOFTWARE.
21
21
  =end
22
22
 
23
23
  module AsposeSlidesCloud
24
- VERSION = '21.6.0'
24
+ VERSION = '21.8.0'
25
25
  end
@@ -282,6 +282,7 @@ describe 'SlidesApi' do
282
282
  # @option opts [String] :password Document password.
283
283
  # @option opts [String] :storage Document storage.
284
284
  # @option opts [String] :fonts_folder Custom fonts folder.
285
+ # @option opts [String] :slides The indices of the slides to be converted. If not specified, all slides are converted by default.
285
286
  # @return [File]
286
287
  describe 'convert test' do
287
288
  it 'should work' do
@@ -290,8 +291,9 @@ describe 'SlidesApi' do
290
291
  parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'Convert', 'String')
291
292
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'Convert', 'String')
292
293
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'Convert', 'String')
294
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'Convert', 'String')
293
295
  AsposeSlidesCloud::SpecUtils.initialize('Convert', nil, nil)
294
- o, c, _h = AsposeSlidesCloud::SpecUtils.api.convert_with_http_info(paramdocument, paramformat, parampassword, paramstorage, paramfonts_folder)
296
+ o, c, _h = AsposeSlidesCloud::SpecUtils.api.convert_with_http_info(paramdocument, paramformat, parampassword, paramstorage, paramfonts_folder, paramslides)
295
297
  code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('Convert', nil, nil)
296
298
  expect(c).to eq(code)
297
299
  expect(o).not_to be_nil
@@ -303,10 +305,11 @@ describe 'SlidesApi' do
303
305
  parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'Convert', 'String')
304
306
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'Convert', 'String')
305
307
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'Convert', 'String')
308
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'Convert', 'String')
306
309
  paramdocument = AsposeSlidesCloud::SpecUtils.invalidize_param_value('document', 'Convert', paramdocument, 'File')
307
310
  AsposeSlidesCloud::SpecUtils.initialize('Convert', 'document', paramdocument)
308
311
  begin
309
- AsposeSlidesCloud::SpecUtils.api.convert_with_http_info(paramdocument, paramformat, parampassword, paramstorage, paramfonts_folder)
312
+ AsposeSlidesCloud::SpecUtils.api.convert_with_http_info(paramdocument, paramformat, parampassword, paramstorage, paramfonts_folder, paramslides)
310
313
  unless AsposeSlidesCloud::SpecUtils.no_exception?('Convert', 'document')
311
314
  fail "An exception expected"
312
315
  end
@@ -327,10 +330,11 @@ describe 'SlidesApi' do
327
330
  parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'Convert', 'String')
328
331
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'Convert', 'String')
329
332
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'Convert', 'String')
333
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'Convert', 'String')
330
334
  paramformat = AsposeSlidesCloud::SpecUtils.invalidize_param_value('format', 'Convert', paramformat, 'String')
331
335
  AsposeSlidesCloud::SpecUtils.initialize('Convert', 'format', paramformat)
332
336
  begin
333
- AsposeSlidesCloud::SpecUtils.api.convert_with_http_info(paramdocument, paramformat, parampassword, paramstorage, paramfonts_folder)
337
+ AsposeSlidesCloud::SpecUtils.api.convert_with_http_info(paramdocument, paramformat, parampassword, paramstorage, paramfonts_folder, paramslides)
334
338
  unless AsposeSlidesCloud::SpecUtils.no_exception?('Convert', 'format')
335
339
  fail "An exception expected"
336
340
  end
@@ -351,10 +355,11 @@ describe 'SlidesApi' do
351
355
  parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'Convert', 'String')
352
356
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'Convert', 'String')
353
357
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'Convert', 'String')
358
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'Convert', 'String')
354
359
  parampassword = AsposeSlidesCloud::SpecUtils.invalidize_param_value('password', 'Convert', parampassword, 'String')
355
360
  AsposeSlidesCloud::SpecUtils.initialize('Convert', 'password', parampassword)
356
361
  begin
357
- AsposeSlidesCloud::SpecUtils.api.convert_with_http_info(paramdocument, paramformat, parampassword, paramstorage, paramfonts_folder)
362
+ AsposeSlidesCloud::SpecUtils.api.convert_with_http_info(paramdocument, paramformat, parampassword, paramstorage, paramfonts_folder, paramslides)
358
363
  unless AsposeSlidesCloud::SpecUtils.no_exception?('Convert', 'password')
359
364
  fail "An exception expected"
360
365
  end
@@ -375,10 +380,11 @@ describe 'SlidesApi' do
375
380
  parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'Convert', 'String')
376
381
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'Convert', 'String')
377
382
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'Convert', 'String')
383
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'Convert', 'String')
378
384
  paramstorage = AsposeSlidesCloud::SpecUtils.invalidize_param_value('storage', 'Convert', paramstorage, 'String')
379
385
  AsposeSlidesCloud::SpecUtils.initialize('Convert', 'storage', paramstorage)
380
386
  begin
381
- AsposeSlidesCloud::SpecUtils.api.convert_with_http_info(paramdocument, paramformat, parampassword, paramstorage, paramfonts_folder)
387
+ AsposeSlidesCloud::SpecUtils.api.convert_with_http_info(paramdocument, paramformat, parampassword, paramstorage, paramfonts_folder, paramslides)
382
388
  unless AsposeSlidesCloud::SpecUtils.no_exception?('Convert', 'storage')
383
389
  fail "An exception expected"
384
390
  end
@@ -399,10 +405,11 @@ describe 'SlidesApi' do
399
405
  parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'Convert', 'String')
400
406
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'Convert', 'String')
401
407
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'Convert', 'String')
408
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'Convert', 'String')
402
409
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.invalidize_param_value('fontsFolder', 'Convert', paramfonts_folder, 'String')
403
410
  AsposeSlidesCloud::SpecUtils.initialize('Convert', 'fontsFolder', paramfonts_folder)
404
411
  begin
405
- AsposeSlidesCloud::SpecUtils.api.convert_with_http_info(paramdocument, paramformat, parampassword, paramstorage, paramfonts_folder)
412
+ AsposeSlidesCloud::SpecUtils.api.convert_with_http_info(paramdocument, paramformat, parampassword, paramstorage, paramfonts_folder, paramslides)
406
413
  unless AsposeSlidesCloud::SpecUtils.no_exception?('Convert', 'fontsFolder')
407
414
  fail "An exception expected"
408
415
  end
@@ -416,6 +423,31 @@ describe 'SlidesApi' do
416
423
  expect(e.message).to include(message)
417
424
  end
418
425
  end
426
+
427
+ it 'invalid slides' do
428
+ paramdocument = AsposeSlidesCloud::SpecUtils.get_param_value('document', 'Convert', 'File')
429
+ paramformat = AsposeSlidesCloud::SpecUtils.get_param_value('format', 'Convert', 'String')
430
+ parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'Convert', 'String')
431
+ paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'Convert', 'String')
432
+ paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'Convert', 'String')
433
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'Convert', 'String')
434
+ paramslides = AsposeSlidesCloud::SpecUtils.invalidize_param_value('slides', 'Convert', paramslides, 'String')
435
+ AsposeSlidesCloud::SpecUtils.initialize('Convert', 'slides', paramslides)
436
+ begin
437
+ AsposeSlidesCloud::SpecUtils.api.convert_with_http_info(paramdocument, paramformat, parampassword, paramstorage, paramfonts_folder, paramslides)
438
+ unless AsposeSlidesCloud::SpecUtils.no_exception?('Convert', 'slides')
439
+ fail "An exception expected"
440
+ end
441
+ rescue AsposeSlidesCloud::ApiError => e
442
+ code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('Convert', 'slides', paramslides)
443
+ expect(e.code).to eq(code)
444
+ expect(e.response_body).to include(message)
445
+ rescue ArgumentError => e
446
+ code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('Convert', 'slides', paramslides)
447
+ expect(400).to eq(code)
448
+ expect(e.message).to include(message)
449
+ end
450
+ end
419
451
  end
420
452
 
421
453
  # unit tests for convert_and_save
@@ -427,6 +459,7 @@ describe 'SlidesApi' do
427
459
  # @option opts [String] :password Document password.
428
460
  # @option opts [String] :storage Document storage.
429
461
  # @option opts [String] :fonts_folder Custom fonts folder.
462
+ # @option opts [String] :slides The indices of the slides to be converted. If not specified, all slides are converted by default.
430
463
  # @return [nil]
431
464
  describe 'convert_and_save test' do
432
465
  it 'should work' do
@@ -436,8 +469,9 @@ describe 'SlidesApi' do
436
469
  parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'ConvertAndSave', 'String')
437
470
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'ConvertAndSave', 'String')
438
471
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'ConvertAndSave', 'String')
472
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'ConvertAndSave', 'String')
439
473
  AsposeSlidesCloud::SpecUtils.initialize('ConvertAndSave', nil, nil)
440
- o, c, _h = AsposeSlidesCloud::SpecUtils.api.convert_and_save_with_http_info(paramdocument, paramformat, paramout_path, parampassword, paramstorage, paramfonts_folder)
474
+ o, c, _h = AsposeSlidesCloud::SpecUtils.api.convert_and_save_with_http_info(paramdocument, paramformat, paramout_path, parampassword, paramstorage, paramfonts_folder, paramslides)
441
475
  code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('ConvertAndSave', nil, nil)
442
476
  expect(c).to eq(code)
443
477
  end
@@ -449,10 +483,11 @@ describe 'SlidesApi' do
449
483
  parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'ConvertAndSave', 'String')
450
484
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'ConvertAndSave', 'String')
451
485
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'ConvertAndSave', 'String')
486
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'ConvertAndSave', 'String')
452
487
  paramdocument = AsposeSlidesCloud::SpecUtils.invalidize_param_value('document', 'ConvertAndSave', paramdocument, 'File')
453
488
  AsposeSlidesCloud::SpecUtils.initialize('ConvertAndSave', 'document', paramdocument)
454
489
  begin
455
- AsposeSlidesCloud::SpecUtils.api.convert_and_save_with_http_info(paramdocument, paramformat, paramout_path, parampassword, paramstorage, paramfonts_folder)
490
+ AsposeSlidesCloud::SpecUtils.api.convert_and_save_with_http_info(paramdocument, paramformat, paramout_path, parampassword, paramstorage, paramfonts_folder, paramslides)
456
491
  unless AsposeSlidesCloud::SpecUtils.no_exception?('ConvertAndSave', 'document')
457
492
  fail "An exception expected"
458
493
  end
@@ -474,10 +509,11 @@ describe 'SlidesApi' do
474
509
  parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'ConvertAndSave', 'String')
475
510
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'ConvertAndSave', 'String')
476
511
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'ConvertAndSave', 'String')
512
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'ConvertAndSave', 'String')
477
513
  paramformat = AsposeSlidesCloud::SpecUtils.invalidize_param_value('format', 'ConvertAndSave', paramformat, 'String')
478
514
  AsposeSlidesCloud::SpecUtils.initialize('ConvertAndSave', 'format', paramformat)
479
515
  begin
480
- AsposeSlidesCloud::SpecUtils.api.convert_and_save_with_http_info(paramdocument, paramformat, paramout_path, parampassword, paramstorage, paramfonts_folder)
516
+ AsposeSlidesCloud::SpecUtils.api.convert_and_save_with_http_info(paramdocument, paramformat, paramout_path, parampassword, paramstorage, paramfonts_folder, paramslides)
481
517
  unless AsposeSlidesCloud::SpecUtils.no_exception?('ConvertAndSave', 'format')
482
518
  fail "An exception expected"
483
519
  end
@@ -499,10 +535,11 @@ describe 'SlidesApi' do
499
535
  parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'ConvertAndSave', 'String')
500
536
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'ConvertAndSave', 'String')
501
537
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'ConvertAndSave', 'String')
538
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'ConvertAndSave', 'String')
502
539
  paramout_path = AsposeSlidesCloud::SpecUtils.invalidize_param_value('outPath', 'ConvertAndSave', paramout_path, 'String')
503
540
  AsposeSlidesCloud::SpecUtils.initialize('ConvertAndSave', 'outPath', paramout_path)
504
541
  begin
505
- AsposeSlidesCloud::SpecUtils.api.convert_and_save_with_http_info(paramdocument, paramformat, paramout_path, parampassword, paramstorage, paramfonts_folder)
542
+ AsposeSlidesCloud::SpecUtils.api.convert_and_save_with_http_info(paramdocument, paramformat, paramout_path, parampassword, paramstorage, paramfonts_folder, paramslides)
506
543
  unless AsposeSlidesCloud::SpecUtils.no_exception?('ConvertAndSave', 'outPath')
507
544
  fail "An exception expected"
508
545
  end
@@ -524,10 +561,11 @@ describe 'SlidesApi' do
524
561
  parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'ConvertAndSave', 'String')
525
562
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'ConvertAndSave', 'String')
526
563
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'ConvertAndSave', 'String')
564
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'ConvertAndSave', 'String')
527
565
  parampassword = AsposeSlidesCloud::SpecUtils.invalidize_param_value('password', 'ConvertAndSave', parampassword, 'String')
528
566
  AsposeSlidesCloud::SpecUtils.initialize('ConvertAndSave', 'password', parampassword)
529
567
  begin
530
- AsposeSlidesCloud::SpecUtils.api.convert_and_save_with_http_info(paramdocument, paramformat, paramout_path, parampassword, paramstorage, paramfonts_folder)
568
+ AsposeSlidesCloud::SpecUtils.api.convert_and_save_with_http_info(paramdocument, paramformat, paramout_path, parampassword, paramstorage, paramfonts_folder, paramslides)
531
569
  unless AsposeSlidesCloud::SpecUtils.no_exception?('ConvertAndSave', 'password')
532
570
  fail "An exception expected"
533
571
  end
@@ -549,10 +587,11 @@ describe 'SlidesApi' do
549
587
  parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'ConvertAndSave', 'String')
550
588
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'ConvertAndSave', 'String')
551
589
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'ConvertAndSave', 'String')
590
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'ConvertAndSave', 'String')
552
591
  paramstorage = AsposeSlidesCloud::SpecUtils.invalidize_param_value('storage', 'ConvertAndSave', paramstorage, 'String')
553
592
  AsposeSlidesCloud::SpecUtils.initialize('ConvertAndSave', 'storage', paramstorage)
554
593
  begin
555
- AsposeSlidesCloud::SpecUtils.api.convert_and_save_with_http_info(paramdocument, paramformat, paramout_path, parampassword, paramstorage, paramfonts_folder)
594
+ AsposeSlidesCloud::SpecUtils.api.convert_and_save_with_http_info(paramdocument, paramformat, paramout_path, parampassword, paramstorage, paramfonts_folder, paramslides)
556
595
  unless AsposeSlidesCloud::SpecUtils.no_exception?('ConvertAndSave', 'storage')
557
596
  fail "An exception expected"
558
597
  end
@@ -574,10 +613,11 @@ describe 'SlidesApi' do
574
613
  parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'ConvertAndSave', 'String')
575
614
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'ConvertAndSave', 'String')
576
615
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'ConvertAndSave', 'String')
616
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'ConvertAndSave', 'String')
577
617
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.invalidize_param_value('fontsFolder', 'ConvertAndSave', paramfonts_folder, 'String')
578
618
  AsposeSlidesCloud::SpecUtils.initialize('ConvertAndSave', 'fontsFolder', paramfonts_folder)
579
619
  begin
580
- AsposeSlidesCloud::SpecUtils.api.convert_and_save_with_http_info(paramdocument, paramformat, paramout_path, parampassword, paramstorage, paramfonts_folder)
620
+ AsposeSlidesCloud::SpecUtils.api.convert_and_save_with_http_info(paramdocument, paramformat, paramout_path, parampassword, paramstorage, paramfonts_folder, paramslides)
581
621
  unless AsposeSlidesCloud::SpecUtils.no_exception?('ConvertAndSave', 'fontsFolder')
582
622
  fail "An exception expected"
583
623
  end
@@ -591,6 +631,32 @@ describe 'SlidesApi' do
591
631
  expect(e.message).to include(message)
592
632
  end
593
633
  end
634
+
635
+ it 'invalid slides' do
636
+ paramdocument = AsposeSlidesCloud::SpecUtils.get_param_value('document', 'ConvertAndSave', 'File')
637
+ paramformat = AsposeSlidesCloud::SpecUtils.get_param_value('format', 'ConvertAndSave', 'String')
638
+ paramout_path = AsposeSlidesCloud::SpecUtils.get_param_value('outPath', 'ConvertAndSave', 'String')
639
+ parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'ConvertAndSave', 'String')
640
+ paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'ConvertAndSave', 'String')
641
+ paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'ConvertAndSave', 'String')
642
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'ConvertAndSave', 'String')
643
+ paramslides = AsposeSlidesCloud::SpecUtils.invalidize_param_value('slides', 'ConvertAndSave', paramslides, 'String')
644
+ AsposeSlidesCloud::SpecUtils.initialize('ConvertAndSave', 'slides', paramslides)
645
+ begin
646
+ AsposeSlidesCloud::SpecUtils.api.convert_and_save_with_http_info(paramdocument, paramformat, paramout_path, parampassword, paramstorage, paramfonts_folder, paramslides)
647
+ unless AsposeSlidesCloud::SpecUtils.no_exception?('ConvertAndSave', 'slides')
648
+ fail "An exception expected"
649
+ end
650
+ rescue AsposeSlidesCloud::ApiError => e
651
+ code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('ConvertAndSave', 'slides', paramslides)
652
+ expect(e.code).to eq(code)
653
+ expect(e.response_body).to include(message)
654
+ rescue ArgumentError => e
655
+ code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('ConvertAndSave', 'slides', paramslides)
656
+ expect(400).to eq(code)
657
+ expect(e.message).to include(message)
658
+ end
659
+ end
594
660
  end
595
661
 
596
662
  # unit tests for copy_file
@@ -17531,6 +17597,7 @@ describe 'SlidesApi' do
17531
17597
  # @option opts [String] :folder Document folder.
17532
17598
  # @option opts [String] :storage Document storage.
17533
17599
  # @option opts [String] :fonts_folder Custom fonts folder.
17600
+ # @option opts [String] :slides The indices of the slides to be saved. If not specified, all slides are saved by default.
17534
17601
  # @return [File]
17535
17602
  describe 'download_presentation test' do
17536
17603
  it 'should work' do
@@ -17541,8 +17608,9 @@ describe 'SlidesApi' do
17541
17608
  paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'DownloadPresentation', 'String')
17542
17609
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'DownloadPresentation', 'String')
17543
17610
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'DownloadPresentation', 'String')
17611
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'DownloadPresentation', 'String')
17544
17612
  AsposeSlidesCloud::SpecUtils.initialize('DownloadPresentation', nil, nil)
17545
- o, c, _h = AsposeSlidesCloud::SpecUtils.api.download_presentation_with_http_info(paramname, paramformat, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder)
17613
+ o, c, _h = AsposeSlidesCloud::SpecUtils.api.download_presentation_with_http_info(paramname, paramformat, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder, paramslides)
17546
17614
  code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('DownloadPresentation', nil, nil)
17547
17615
  expect(c).to eq(code)
17548
17616
  expect(o).not_to be_nil
@@ -17556,10 +17624,11 @@ describe 'SlidesApi' do
17556
17624
  paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'DownloadPresentation', 'String')
17557
17625
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'DownloadPresentation', 'String')
17558
17626
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'DownloadPresentation', 'String')
17627
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'DownloadPresentation', 'String')
17559
17628
  paramname = AsposeSlidesCloud::SpecUtils.invalidize_param_value('name', 'DownloadPresentation', paramname, 'String')
17560
17629
  AsposeSlidesCloud::SpecUtils.initialize('DownloadPresentation', 'name', paramname)
17561
17630
  begin
17562
- AsposeSlidesCloud::SpecUtils.api.download_presentation_with_http_info(paramname, paramformat, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder)
17631
+ AsposeSlidesCloud::SpecUtils.api.download_presentation_with_http_info(paramname, paramformat, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder, paramslides)
17563
17632
  unless AsposeSlidesCloud::SpecUtils.no_exception?('DownloadPresentation', 'name')
17564
17633
  fail "An exception expected"
17565
17634
  end
@@ -17582,10 +17651,11 @@ describe 'SlidesApi' do
17582
17651
  paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'DownloadPresentation', 'String')
17583
17652
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'DownloadPresentation', 'String')
17584
17653
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'DownloadPresentation', 'String')
17654
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'DownloadPresentation', 'String')
17585
17655
  paramformat = AsposeSlidesCloud::SpecUtils.invalidize_param_value('format', 'DownloadPresentation', paramformat, 'String')
17586
17656
  AsposeSlidesCloud::SpecUtils.initialize('DownloadPresentation', 'format', paramformat)
17587
17657
  begin
17588
- AsposeSlidesCloud::SpecUtils.api.download_presentation_with_http_info(paramname, paramformat, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder)
17658
+ AsposeSlidesCloud::SpecUtils.api.download_presentation_with_http_info(paramname, paramformat, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder, paramslides)
17589
17659
  unless AsposeSlidesCloud::SpecUtils.no_exception?('DownloadPresentation', 'format')
17590
17660
  fail "An exception expected"
17591
17661
  end
@@ -17608,10 +17678,11 @@ describe 'SlidesApi' do
17608
17678
  paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'DownloadPresentation', 'String')
17609
17679
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'DownloadPresentation', 'String')
17610
17680
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'DownloadPresentation', 'String')
17681
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'DownloadPresentation', 'String')
17611
17682
  paramoptions = AsposeSlidesCloud::SpecUtils.invalidize_param_value('options', 'DownloadPresentation', paramoptions, 'ExportOptions')
17612
17683
  AsposeSlidesCloud::SpecUtils.initialize('DownloadPresentation', 'options', paramoptions)
17613
17684
  begin
17614
- AsposeSlidesCloud::SpecUtils.api.download_presentation_with_http_info(paramname, paramformat, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder)
17685
+ AsposeSlidesCloud::SpecUtils.api.download_presentation_with_http_info(paramname, paramformat, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder, paramslides)
17615
17686
  unless AsposeSlidesCloud::SpecUtils.no_exception?('DownloadPresentation', 'options')
17616
17687
  fail "An exception expected"
17617
17688
  end
@@ -17634,10 +17705,11 @@ describe 'SlidesApi' do
17634
17705
  paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'DownloadPresentation', 'String')
17635
17706
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'DownloadPresentation', 'String')
17636
17707
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'DownloadPresentation', 'String')
17708
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'DownloadPresentation', 'String')
17637
17709
  parampassword = AsposeSlidesCloud::SpecUtils.invalidize_param_value('password', 'DownloadPresentation', parampassword, 'String')
17638
17710
  AsposeSlidesCloud::SpecUtils.initialize('DownloadPresentation', 'password', parampassword)
17639
17711
  begin
17640
- AsposeSlidesCloud::SpecUtils.api.download_presentation_with_http_info(paramname, paramformat, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder)
17712
+ AsposeSlidesCloud::SpecUtils.api.download_presentation_with_http_info(paramname, paramformat, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder, paramslides)
17641
17713
  unless AsposeSlidesCloud::SpecUtils.no_exception?('DownloadPresentation', 'password')
17642
17714
  fail "An exception expected"
17643
17715
  end
@@ -17660,10 +17732,11 @@ describe 'SlidesApi' do
17660
17732
  paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'DownloadPresentation', 'String')
17661
17733
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'DownloadPresentation', 'String')
17662
17734
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'DownloadPresentation', 'String')
17735
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'DownloadPresentation', 'String')
17663
17736
  paramfolder = AsposeSlidesCloud::SpecUtils.invalidize_param_value('folder', 'DownloadPresentation', paramfolder, 'String')
17664
17737
  AsposeSlidesCloud::SpecUtils.initialize('DownloadPresentation', 'folder', paramfolder)
17665
17738
  begin
17666
- AsposeSlidesCloud::SpecUtils.api.download_presentation_with_http_info(paramname, paramformat, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder)
17739
+ AsposeSlidesCloud::SpecUtils.api.download_presentation_with_http_info(paramname, paramformat, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder, paramslides)
17667
17740
  unless AsposeSlidesCloud::SpecUtils.no_exception?('DownloadPresentation', 'folder')
17668
17741
  fail "An exception expected"
17669
17742
  end
@@ -17686,10 +17759,11 @@ describe 'SlidesApi' do
17686
17759
  paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'DownloadPresentation', 'String')
17687
17760
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'DownloadPresentation', 'String')
17688
17761
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'DownloadPresentation', 'String')
17762
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'DownloadPresentation', 'String')
17689
17763
  paramstorage = AsposeSlidesCloud::SpecUtils.invalidize_param_value('storage', 'DownloadPresentation', paramstorage, 'String')
17690
17764
  AsposeSlidesCloud::SpecUtils.initialize('DownloadPresentation', 'storage', paramstorage)
17691
17765
  begin
17692
- AsposeSlidesCloud::SpecUtils.api.download_presentation_with_http_info(paramname, paramformat, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder)
17766
+ AsposeSlidesCloud::SpecUtils.api.download_presentation_with_http_info(paramname, paramformat, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder, paramslides)
17693
17767
  unless AsposeSlidesCloud::SpecUtils.no_exception?('DownloadPresentation', 'storage')
17694
17768
  fail "An exception expected"
17695
17769
  end
@@ -17712,10 +17786,11 @@ describe 'SlidesApi' do
17712
17786
  paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'DownloadPresentation', 'String')
17713
17787
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'DownloadPresentation', 'String')
17714
17788
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'DownloadPresentation', 'String')
17789
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'DownloadPresentation', 'String')
17715
17790
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.invalidize_param_value('fontsFolder', 'DownloadPresentation', paramfonts_folder, 'String')
17716
17791
  AsposeSlidesCloud::SpecUtils.initialize('DownloadPresentation', 'fontsFolder', paramfonts_folder)
17717
17792
  begin
17718
- AsposeSlidesCloud::SpecUtils.api.download_presentation_with_http_info(paramname, paramformat, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder)
17793
+ AsposeSlidesCloud::SpecUtils.api.download_presentation_with_http_info(paramname, paramformat, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder, paramslides)
17719
17794
  unless AsposeSlidesCloud::SpecUtils.no_exception?('DownloadPresentation', 'fontsFolder')
17720
17795
  fail "An exception expected"
17721
17796
  end
@@ -17729,6 +17804,33 @@ describe 'SlidesApi' do
17729
17804
  expect(e.message).to include(message)
17730
17805
  end
17731
17806
  end
17807
+
17808
+ it 'invalid slides' do
17809
+ paramname = AsposeSlidesCloud::SpecUtils.get_param_value('name', 'DownloadPresentation', 'String')
17810
+ paramformat = AsposeSlidesCloud::SpecUtils.get_param_value('format', 'DownloadPresentation', 'String')
17811
+ paramoptions = AsposeSlidesCloud::SpecUtils.get_param_value('options', 'DownloadPresentation', 'ExportOptions')
17812
+ parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'DownloadPresentation', 'String')
17813
+ paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'DownloadPresentation', 'String')
17814
+ paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'DownloadPresentation', 'String')
17815
+ paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'DownloadPresentation', 'String')
17816
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'DownloadPresentation', 'String')
17817
+ paramslides = AsposeSlidesCloud::SpecUtils.invalidize_param_value('slides', 'DownloadPresentation', paramslides, 'String')
17818
+ AsposeSlidesCloud::SpecUtils.initialize('DownloadPresentation', 'slides', paramslides)
17819
+ begin
17820
+ AsposeSlidesCloud::SpecUtils.api.download_presentation_with_http_info(paramname, paramformat, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder, paramslides)
17821
+ unless AsposeSlidesCloud::SpecUtils.no_exception?('DownloadPresentation', 'slides')
17822
+ fail "An exception expected"
17823
+ end
17824
+ rescue AsposeSlidesCloud::ApiError => e
17825
+ code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('DownloadPresentation', 'slides', paramslides)
17826
+ expect(e.code).to eq(code)
17827
+ expect(e.response_body).to include(message)
17828
+ rescue ArgumentError => e
17829
+ code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('DownloadPresentation', 'slides', paramslides)
17830
+ expect(400).to eq(code)
17831
+ expect(e.message).to include(message)
17832
+ end
17833
+ end
17732
17834
  end
17733
17835
 
17734
17836
  # unit tests for download_shape
@@ -30590,6 +30692,7 @@ describe 'SlidesApi' do
30590
30692
  # @option opts [String] :folder Document folder.
30591
30693
  # @option opts [String] :storage Document storage.
30592
30694
  # @option opts [String] :fonts_folder Custom fonts folder.
30695
+ # @option opts [String] :slides The indices of the slides to be saved. If not specified, all slides are saved by default.
30593
30696
  # @return [nil]
30594
30697
  describe 'save_presentation test' do
30595
30698
  it 'should work' do
@@ -30601,8 +30704,9 @@ describe 'SlidesApi' do
30601
30704
  paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'SavePresentation', 'String')
30602
30705
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'SavePresentation', 'String')
30603
30706
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'SavePresentation', 'String')
30707
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'SavePresentation', 'String')
30604
30708
  AsposeSlidesCloud::SpecUtils.initialize('SavePresentation', nil, nil)
30605
- o, c, _h = AsposeSlidesCloud::SpecUtils.api.save_presentation_with_http_info(paramname, paramformat, paramout_path, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder)
30709
+ o, c, _h = AsposeSlidesCloud::SpecUtils.api.save_presentation_with_http_info(paramname, paramformat, paramout_path, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder, paramslides)
30606
30710
  code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('SavePresentation', nil, nil)
30607
30711
  expect(c).to eq(code)
30608
30712
  end
@@ -30616,10 +30720,11 @@ describe 'SlidesApi' do
30616
30720
  paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'SavePresentation', 'String')
30617
30721
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'SavePresentation', 'String')
30618
30722
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'SavePresentation', 'String')
30723
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'SavePresentation', 'String')
30619
30724
  paramname = AsposeSlidesCloud::SpecUtils.invalidize_param_value('name', 'SavePresentation', paramname, 'String')
30620
30725
  AsposeSlidesCloud::SpecUtils.initialize('SavePresentation', 'name', paramname)
30621
30726
  begin
30622
- AsposeSlidesCloud::SpecUtils.api.save_presentation_with_http_info(paramname, paramformat, paramout_path, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder)
30727
+ AsposeSlidesCloud::SpecUtils.api.save_presentation_with_http_info(paramname, paramformat, paramout_path, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder, paramslides)
30623
30728
  unless AsposeSlidesCloud::SpecUtils.no_exception?('SavePresentation', 'name')
30624
30729
  fail "An exception expected"
30625
30730
  end
@@ -30643,10 +30748,11 @@ describe 'SlidesApi' do
30643
30748
  paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'SavePresentation', 'String')
30644
30749
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'SavePresentation', 'String')
30645
30750
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'SavePresentation', 'String')
30751
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'SavePresentation', 'String')
30646
30752
  paramformat = AsposeSlidesCloud::SpecUtils.invalidize_param_value('format', 'SavePresentation', paramformat, 'String')
30647
30753
  AsposeSlidesCloud::SpecUtils.initialize('SavePresentation', 'format', paramformat)
30648
30754
  begin
30649
- AsposeSlidesCloud::SpecUtils.api.save_presentation_with_http_info(paramname, paramformat, paramout_path, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder)
30755
+ AsposeSlidesCloud::SpecUtils.api.save_presentation_with_http_info(paramname, paramformat, paramout_path, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder, paramslides)
30650
30756
  unless AsposeSlidesCloud::SpecUtils.no_exception?('SavePresentation', 'format')
30651
30757
  fail "An exception expected"
30652
30758
  end
@@ -30670,10 +30776,11 @@ describe 'SlidesApi' do
30670
30776
  paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'SavePresentation', 'String')
30671
30777
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'SavePresentation', 'String')
30672
30778
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'SavePresentation', 'String')
30779
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'SavePresentation', 'String')
30673
30780
  paramout_path = AsposeSlidesCloud::SpecUtils.invalidize_param_value('outPath', 'SavePresentation', paramout_path, 'String')
30674
30781
  AsposeSlidesCloud::SpecUtils.initialize('SavePresentation', 'outPath', paramout_path)
30675
30782
  begin
30676
- AsposeSlidesCloud::SpecUtils.api.save_presentation_with_http_info(paramname, paramformat, paramout_path, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder)
30783
+ AsposeSlidesCloud::SpecUtils.api.save_presentation_with_http_info(paramname, paramformat, paramout_path, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder, paramslides)
30677
30784
  unless AsposeSlidesCloud::SpecUtils.no_exception?('SavePresentation', 'outPath')
30678
30785
  fail "An exception expected"
30679
30786
  end
@@ -30697,10 +30804,11 @@ describe 'SlidesApi' do
30697
30804
  paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'SavePresentation', 'String')
30698
30805
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'SavePresentation', 'String')
30699
30806
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'SavePresentation', 'String')
30807
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'SavePresentation', 'String')
30700
30808
  paramoptions = AsposeSlidesCloud::SpecUtils.invalidize_param_value('options', 'SavePresentation', paramoptions, 'ExportOptions')
30701
30809
  AsposeSlidesCloud::SpecUtils.initialize('SavePresentation', 'options', paramoptions)
30702
30810
  begin
30703
- AsposeSlidesCloud::SpecUtils.api.save_presentation_with_http_info(paramname, paramformat, paramout_path, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder)
30811
+ AsposeSlidesCloud::SpecUtils.api.save_presentation_with_http_info(paramname, paramformat, paramout_path, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder, paramslides)
30704
30812
  unless AsposeSlidesCloud::SpecUtils.no_exception?('SavePresentation', 'options')
30705
30813
  fail "An exception expected"
30706
30814
  end
@@ -30724,10 +30832,11 @@ describe 'SlidesApi' do
30724
30832
  paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'SavePresentation', 'String')
30725
30833
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'SavePresentation', 'String')
30726
30834
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'SavePresentation', 'String')
30835
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'SavePresentation', 'String')
30727
30836
  parampassword = AsposeSlidesCloud::SpecUtils.invalidize_param_value('password', 'SavePresentation', parampassword, 'String')
30728
30837
  AsposeSlidesCloud::SpecUtils.initialize('SavePresentation', 'password', parampassword)
30729
30838
  begin
30730
- AsposeSlidesCloud::SpecUtils.api.save_presentation_with_http_info(paramname, paramformat, paramout_path, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder)
30839
+ AsposeSlidesCloud::SpecUtils.api.save_presentation_with_http_info(paramname, paramformat, paramout_path, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder, paramslides)
30731
30840
  unless AsposeSlidesCloud::SpecUtils.no_exception?('SavePresentation', 'password')
30732
30841
  fail "An exception expected"
30733
30842
  end
@@ -30751,10 +30860,11 @@ describe 'SlidesApi' do
30751
30860
  paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'SavePresentation', 'String')
30752
30861
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'SavePresentation', 'String')
30753
30862
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'SavePresentation', 'String')
30863
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'SavePresentation', 'String')
30754
30864
  paramfolder = AsposeSlidesCloud::SpecUtils.invalidize_param_value('folder', 'SavePresentation', paramfolder, 'String')
30755
30865
  AsposeSlidesCloud::SpecUtils.initialize('SavePresentation', 'folder', paramfolder)
30756
30866
  begin
30757
- AsposeSlidesCloud::SpecUtils.api.save_presentation_with_http_info(paramname, paramformat, paramout_path, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder)
30867
+ AsposeSlidesCloud::SpecUtils.api.save_presentation_with_http_info(paramname, paramformat, paramout_path, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder, paramslides)
30758
30868
  unless AsposeSlidesCloud::SpecUtils.no_exception?('SavePresentation', 'folder')
30759
30869
  fail "An exception expected"
30760
30870
  end
@@ -30778,10 +30888,11 @@ describe 'SlidesApi' do
30778
30888
  paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'SavePresentation', 'String')
30779
30889
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'SavePresentation', 'String')
30780
30890
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'SavePresentation', 'String')
30891
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'SavePresentation', 'String')
30781
30892
  paramstorage = AsposeSlidesCloud::SpecUtils.invalidize_param_value('storage', 'SavePresentation', paramstorage, 'String')
30782
30893
  AsposeSlidesCloud::SpecUtils.initialize('SavePresentation', 'storage', paramstorage)
30783
30894
  begin
30784
- AsposeSlidesCloud::SpecUtils.api.save_presentation_with_http_info(paramname, paramformat, paramout_path, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder)
30895
+ AsposeSlidesCloud::SpecUtils.api.save_presentation_with_http_info(paramname, paramformat, paramout_path, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder, paramslides)
30785
30896
  unless AsposeSlidesCloud::SpecUtils.no_exception?('SavePresentation', 'storage')
30786
30897
  fail "An exception expected"
30787
30898
  end
@@ -30805,10 +30916,11 @@ describe 'SlidesApi' do
30805
30916
  paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'SavePresentation', 'String')
30806
30917
  paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'SavePresentation', 'String')
30807
30918
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'SavePresentation', 'String')
30919
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'SavePresentation', 'String')
30808
30920
  paramfonts_folder = AsposeSlidesCloud::SpecUtils.invalidize_param_value('fontsFolder', 'SavePresentation', paramfonts_folder, 'String')
30809
30921
  AsposeSlidesCloud::SpecUtils.initialize('SavePresentation', 'fontsFolder', paramfonts_folder)
30810
30922
  begin
30811
- AsposeSlidesCloud::SpecUtils.api.save_presentation_with_http_info(paramname, paramformat, paramout_path, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder)
30923
+ AsposeSlidesCloud::SpecUtils.api.save_presentation_with_http_info(paramname, paramformat, paramout_path, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder, paramslides)
30812
30924
  unless AsposeSlidesCloud::SpecUtils.no_exception?('SavePresentation', 'fontsFolder')
30813
30925
  fail "An exception expected"
30814
30926
  end
@@ -30822,6 +30934,34 @@ describe 'SlidesApi' do
30822
30934
  expect(e.message).to include(message)
30823
30935
  end
30824
30936
  end
30937
+
30938
+ it 'invalid slides' do
30939
+ paramname = AsposeSlidesCloud::SpecUtils.get_param_value('name', 'SavePresentation', 'String')
30940
+ paramformat = AsposeSlidesCloud::SpecUtils.get_param_value('format', 'SavePresentation', 'String')
30941
+ paramout_path = AsposeSlidesCloud::SpecUtils.get_param_value('outPath', 'SavePresentation', 'String')
30942
+ paramoptions = AsposeSlidesCloud::SpecUtils.get_param_value('options', 'SavePresentation', 'ExportOptions')
30943
+ parampassword = AsposeSlidesCloud::SpecUtils.get_param_value('password', 'SavePresentation', 'String')
30944
+ paramfolder = AsposeSlidesCloud::SpecUtils.get_param_value('folder', 'SavePresentation', 'String')
30945
+ paramstorage = AsposeSlidesCloud::SpecUtils.get_param_value('storage', 'SavePresentation', 'String')
30946
+ paramfonts_folder = AsposeSlidesCloud::SpecUtils.get_param_value('fontsFolder', 'SavePresentation', 'String')
30947
+ paramslides = AsposeSlidesCloud::SpecUtils.get_param_value('slides', 'SavePresentation', 'String')
30948
+ paramslides = AsposeSlidesCloud::SpecUtils.invalidize_param_value('slides', 'SavePresentation', paramslides, 'String')
30949
+ AsposeSlidesCloud::SpecUtils.initialize('SavePresentation', 'slides', paramslides)
30950
+ begin
30951
+ AsposeSlidesCloud::SpecUtils.api.save_presentation_with_http_info(paramname, paramformat, paramout_path, paramoptions, parampassword, paramfolder, paramstorage, paramfonts_folder, paramslides)
30952
+ unless AsposeSlidesCloud::SpecUtils.no_exception?('SavePresentation', 'slides')
30953
+ fail "An exception expected"
30954
+ end
30955
+ rescue AsposeSlidesCloud::ApiError => e
30956
+ code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('SavePresentation', 'slides', paramslides)
30957
+ expect(e.code).to eq(code)
30958
+ expect(e.response_body).to include(message)
30959
+ rescue ArgumentError => e
30960
+ code, message = AsposeSlidesCloud::SpecUtils.get_expected_error('SavePresentation', 'slides', paramslides)
30961
+ expect(400).to eq(code)
30962
+ expect(e.message).to include(message)
30963
+ end
30964
+ end
30825
30965
  end
30826
30966
 
30827
30967
  # unit tests for save_shape
data/testRules.json CHANGED
@@ -137,6 +137,7 @@
137
137
  { "Value": { "Presentations": [{ "Path": "file1", "Password": "password" }, { "Path": "file2" }] }, "InvalidValue": null, "Type": "OrderedMergeRequest", "Parameter": "Request", "Language": "Go" },
138
138
  { "Value": { "Presentations": [{ "Path": "file1", "Password": "password" }, { "Path": "file2" }] }, "InvalidValue": null, "Type": "OrderedMergeRequest", "Parameter": "Request", "Language": "Ruby" },
139
139
  { "Value": { "Presentations": [{ "Path": "file1", "Password": "password" }, { "Path": "file2" }] }, "InvalidValue": null, "Type": "OrderedMergeRequest", "Parameter": "Request", "Language": "Perl" },
140
+ { "Value": { "Presentations": [{ "Path": "file1", "Password": "password" }, { "Path": "file2" }] }, "InvalidValue": null, "Type": "OrderedMergeRequest", "Parameter": "Request", "Language": "Swift" },
140
141
  { "Value": { "Presentations": [{ "Path": "file1", "Password": "password" }, { "Path": "file2" }] }, "InvalidValue": null, "Type": "OrderedMergeRequest", "Parameter": "Request", "Language": "CPP" },
141
142
  { "Value": {}, "InvalidValue": null, "Type": "OrderedMergeRequest", "Parameter": "Request", "Method": "OrderedMerge" },
142
143
  { "Value": {}, "InvalidValue": null, "Type": "Pipeline", "Parameter": "Pipeline" },
@@ -355,7 +356,7 @@
355
356
  { "Code": 404, "Message" : "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "Folder" },
356
357
  { "Code": 404, "Message" : "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "CloneFrom" },
357
358
  { "Code": 404, "Message" : "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "Source" },
358
- { "Code": 404, "Message" : "AmazonS3 Storage exception: The specified key does not exist.", "Parameter": "Path", "Method": "DownloadFile" },
359
+ { "Code": 404, "Message" : "Not Found", "Parameter": "Path" },
359
360
  { "Code": 404, "Message": "The storage %v was not found or is not associated with the application.", "Parameter": "Storage" },
360
361
  { "Code": 404, "Message": "The storage %v was not found or is not associated with the application.", "Parameter": "StorageName" },
361
362
  { "Code": 404, "Message": "The storage %v was not found or is not associated with the application.", "Parameter": "SrcStorageName" },
@@ -401,7 +402,6 @@
401
402
  { "Message": "Invalid version id specified", "Parameter": "VersionId", "Method": "DeleteFile" },
402
403
  { "Message": "Invalid version id specified", "Parameter": "VersionId", "Method": "DownloadFile" },
403
404
  { "Message": "AmazonS3 Storage exception", "Parameter": "VersionId", "Method": "ObjectExists" },
404
- { "Message": "The HTTP resource that matches the request URI", "Parameter": "Path" },
405
405
  { "Message": "Specified cast is not valid", "Parameter": "Path", "Method": "GetShapes" },
406
406
  { "Message": "Specified cast is not valid", "Parameter": "Path", "Method": "GetNotesSlideShapes" },
407
407
  { "Message": "Specified cast is not valid", "Parameter": "Path", "Method": "DeleteShapes" },
@@ -415,65 +415,69 @@
415
415
  { "Message": " is not supported", "Parameter": "Format" },
416
416
  { "Message": " is not supported", "Parameter": "OutPath" },
417
417
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImage", "Language": "NodeJS" },
418
+ { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImage", "Language": "PHP" },
418
419
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImage", "Language": "Go" },
419
420
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImage", "Language": "Python" },
420
421
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImage", "Language": "Perl" },
421
422
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImage", "Language": "Swift" },
422
423
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImage", "Language": "CPP" },
423
424
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImageOnline", "Language": "NodeJS" },
425
+ { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImageOnline", "Language": "PHP" },
424
426
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImageOnline", "Language": "Go" },
425
427
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImageOnline", "Language": "Python" },
426
428
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImageOnline", "Language": "Perl" },
427
429
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImageOnline", "Language": "Swift" },
428
430
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImageOnline", "Language": "CPP" },
429
431
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImages", "Language": "NodeJS" },
432
+ { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImages", "Language": "PHP" },
430
433
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImages", "Language": "Go" },
431
434
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImages", "Language": "Python" },
432
435
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImages", "Language": "Perl" },
433
436
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImages", "Language": "Swift" },
434
437
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImages", "Language": "CPP" },
435
438
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImagesOnline", "Language": "NodeJS" },
439
+ { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImagesOnline", "Language": "PHP" },
436
440
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImagesOnline", "Language": "Go" },
437
441
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImagesOnline", "Language": "Python" },
438
442
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImagesOnline", "Language": "Perl" },
439
443
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImagesOnline", "Language": "Swift" },
440
444
  { "Message": " is not valid", "Parameter": "Format", "Method": "DownloadImagesOnline", "Language": "CPP" },
441
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "DownloadShape", "Language": "NodeJS" },
442
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "DownloadSubshape", "Language": "NodeJS" },
443
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "SaveShape", "Language": "NodeJS" },
444
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "SaveSubshape", "Language": "NodeJS" },
445
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "DownloadShapeOnline", "Language": "NodeJS" },
446
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "SaveShapeOnline", "Language": "NodeJS" },
447
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "DownloadShape", "Language": "Python" },
448
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "DownloadSubshape", "Language": "Python" },
449
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "SaveShape", "Language": "Python" },
450
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "SaveSubshape", "Language": "Python" },
451
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "DownloadShapeOnline", "Language": "Python" },
452
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "SaveShapeOnline", "Language": "Python" },
453
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "DownloadShape", "Language": "Go" },
454
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "DownloadSubshape", "Language": "Go" },
455
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "SaveShape", "Language": "Go" },
456
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "SaveSubshape", "Language": "Go" },
457
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "DownloadShapeOnline", "Language": "Go" },
458
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "SaveShapeOnline", "Language": "Go" },
459
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "DownloadShape", "Language": "Perl" },
460
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "DownloadSubshape", "Language": "Perl" },
461
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "SaveShape", "Language": "Perl" },
462
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "SaveSubshape", "Language": "Perl" },
463
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "DownloadShapeOnline", "Language": "Perl" },
464
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "SaveShapeOnline", "Language": "Perl" },
465
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "DownloadShape", "Language": "Swift" },
466
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "DownloadSubshape", "Language": "Swift" },
467
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "SaveShape", "Language": "Swift" },
468
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "SaveSubshape", "Language": "Swift" },
469
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "DownloadShapeOnline", "Language": "Swift" },
470
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "SaveShapeOnline", "Language": "Swift" },
471
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "DownloadShape", "Language": "CPP" },
472
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "DownloadSubshape", "Language": "CPP" },
473
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "SaveShape", "Language": "CPP" },
474
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "SaveSubshape", "Language": "CPP" },
475
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "DownloadShapeOnline", "Language": "CPP" },
476
- { "Message": "does not support the API version", "Parameter": "Format", "Method": "SaveShapeOnline", "Language": "CPP" },
445
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadShape", "Language": "NodeJS" },
446
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadSubshape", "Language": "NodeJS" },
447
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "SaveShape", "Language": "NodeJS" },
448
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "SaveSubshape", "Language": "NodeJS" },
449
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadShapeOnline", "Language": "NodeJS" },
450
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadShape", "Language": "PHP" },
451
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadSubshape", "Language": "PHP" },
452
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "SaveShape", "Language": "PHP" },
453
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "SaveSubshape", "Language": "PHP" },
454
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadShapeOnline", "Language": "PHP" },
455
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadShape", "Language": "Python" },
456
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadSubshape", "Language": "Python" },
457
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "SaveShape", "Language": "Python" },
458
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "SaveSubshape", "Language": "Python" },
459
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadShapeOnline", "Language": "Python" },
460
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadShape", "Language": "Go" },
461
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadSubshape", "Language": "Go" },
462
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "SaveShape", "Language": "Go" },
463
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "SaveSubshape", "Language": "Go" },
464
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadShapeOnline", "Language": "Go" },
465
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadShape", "Language": "Perl" },
466
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadSubshape", "Language": "Perl" },
467
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "SaveShape", "Language": "Perl" },
468
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "SaveSubshape", "Language": "Perl" },
469
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadShapeOnline", "Language": "Perl" },
470
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadShape", "Language": "Swift" },
471
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadSubshape", "Language": "Swift" },
472
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "SaveShape", "Language": "Swift" },
473
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "SaveSubshape", "Language": "Swift" },
474
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadShapeOnline", "Language": "Swift" },
475
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadShape", "Language": "CPP" },
476
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadSubshape", "Language": "CPP" },
477
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "SaveShape", "Language": "CPP" },
478
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "SaveSubshape", "Language": "CPP" },
479
+ { "Code": 404, "Message": "Not Found", "Parameter": "Format", "Method": "DownloadShapeOnline", "Language": "CPP" },
480
+ { "Message": " is not supported for this operation", "Parameter": "Format", "Method": "SaveShapeOnline", "Language": "CPP" },
477
481
  { "Message": "Color must be in format #FF000000", "Parameter": "Color" },
478
482
  { "Code": 404, "Message": "Property %v does not exist.", "Parameter": "PropertyName" },
479
483
  { "Message": "Error parsing XML template data", "Parameter": "Data" },
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspose_slides_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 21.6.0
4
+ version: 21.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Putrov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-07 00:00:00.000000000 Z
11
+ date: 2021-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday