aspose_slides_cloud 19.9.0 → 20.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +51 -2
  4. data/lib/aspose_slides_cloud.rb +6 -0
  5. data/lib/aspose_slides_cloud/api/slides_api.rb +219 -194
  6. data/lib/aspose_slides_cloud/api/slides_api_requests.rb +178 -105
  7. data/lib/aspose_slides_cloud/api_client.rb +4 -1
  8. data/lib/aspose_slides_cloud/configuration.rb +6 -1
  9. data/lib/aspose_slides_cloud/models/arrow_head_properties.rb +0 -15
  10. data/lib/aspose_slides_cloud/models/axis.rb +0 -160
  11. data/lib/aspose_slides_cloud/models/box_and_whisker_series.rb +490 -0
  12. data/lib/aspose_slides_cloud/models/bubble_series.rb +2 -37
  13. data/lib/aspose_slides_cloud/models/chart.rb +14 -4
  14. data/lib/aspose_slides_cloud/models/chart_category.rb +237 -0
  15. data/lib/aspose_slides_cloud/models/chart_wall.rb +0 -10
  16. data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +205 -0
  17. data/lib/aspose_slides_cloud/models/document.rb +11 -1
  18. data/lib/aspose_slides_cloud/models/document_replace_result.rb +11 -1
  19. data/lib/aspose_slides_cloud/models/legend.rb +0 -30
  20. data/lib/aspose_slides_cloud/models/line_format.rb +0 -35
  21. data/lib/aspose_slides_cloud/models/normal_view_restored_properties.rb +205 -0
  22. data/lib/aspose_slides_cloud/models/one_value_series.rb +2 -37
  23. data/lib/aspose_slides_cloud/models/plot_area.rb +0 -25
  24. data/lib/aspose_slides_cloud/models/scatter_series.rb +2 -37
  25. data/lib/aspose_slides_cloud/models/series.rb +2 -37
  26. data/lib/aspose_slides_cloud/models/series_marker.rb +0 -10
  27. data/lib/aspose_slides_cloud/models/table.rb +0 -40
  28. data/lib/aspose_slides_cloud/models/table_cell.rb +0 -40
  29. data/lib/aspose_slides_cloud/models/view_properties.rb +367 -0
  30. data/lib/aspose_slides_cloud/models/waterfall_series.rb +438 -0
  31. data/lib/aspose_slides_cloud/version.rb +1 -1
  32. data/spec/api/slides_api_spec.rb +1445 -925
  33. data/spec/extra/extra_spec.rb +20 -2
  34. data/spec/spec_utils.rb +28 -6
  35. data/testRules.json +17 -3
  36. metadata +8 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf1b4cb669eba2fddcc93ab8dac5c6f03956cda9a998c8172fc82da04167d599
4
- data.tar.gz: b78a1d0e2d3f497d017b1a7a76b76913287b0a7f69e40b2787e8030e208ec0bc
3
+ metadata.gz: d394c014971ab16b4d564e83651a2bc4bc3ff866e52cbab7527dea50c42cbe5c
4
+ data.tar.gz: 42472ab0e95384b959de5cc882b6436c237ebf096e02eb6eb6705a7fd28fc7ad
5
5
  SHA512:
6
- metadata.gz: 2920f7ab7e039e47b80e48722930ece798ac1bfb021b25e2686cc03072994f107c813f25140db94e2c2e5ebfa375731a7d7507a9dcae720a54e98f24baaca77e
7
- data.tar.gz: b03feb82c137b28dca7751da7962e6c04de0a8b8f36d88228202dd790f08d56c37e11127ecd59a355729a1fde0fef92ecd411a8660c63462019a2159401eb054
6
+ metadata.gz: bd06d3e1c74c0181a286cbefb9f5a6bf5ff9f62793aee4ead386185cbc97c6edfb17107656d2adddbbda357def0e5134097d84edca3879c7cb09231d2cf782f7
7
+ data.tar.gz: 90e1bc5d4e2afd2fa0e9ca4e8aec841b0036bc3f7c03fb6f74bb9cc79a0b2e4fbf406fdf108abd72cabac122e650960dff8dfca9dfceb6065ab1244614af9444
data/Gemfile CHANGED
@@ -3,5 +3,5 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 12.0.0'
6
+ gem 'rake', '~> 12.3.3'
7
7
  end
data/README.md CHANGED
@@ -1,12 +1,61 @@
1
1
  # Aspose.Slides Cloud SDK for Ruby
2
2
  This repository contains Aspose.Slides Cloud SDK for Ruby source code. This SDK allows you to work with Aspose.Slides Cloud REST APIs in your Ruby applications.
3
3
 
4
+ ## Key Features
5
+ * Conversion between various document-related formats (20+ formats supported), including PDF<->PowerPoint conversion
6
+ * Download slides and shapes in various formats, including PDF and SVG
7
+ * Merge and split PowerPoint presentations
8
+ * Access PowerPoint presentation metadata and statistics
9
+ * Find and replace
10
+ * Full read & write access to Document Object Model, including slides, shapes, paragraphs, portions and many others
11
+ * Support of Aspose.Storage API
12
+
13
+ ## Licensing
14
+ All Aspose.Slides Cloud SDKs are licensed under MIT License.
15
+
4
16
  ## How to use the SDK?
5
- The complete source code is available in this repository folder. You can either directly use it in your project via source code or get [Ruby gem] (recommended).
17
+ The complete source code is available in this repository folder. You can either directly use it in your project via source code or get [Ruby gem](https://rubygems.org/gems/aspose_slides_cloud) (recommended).
6
18
 
7
19
  ## Prerequisites
20
+ To use Aspose Slides Cloud SDK for Ruby you need to register an account with [Aspose Cloud](https://www.aspose.cloud/) and lookup/create App Key and SID at [Cloud Dashboard](https://dashboard.aspose.cloud/#/apps). There is free quota available. For more details, see [Aspose Cloud Pricing](https://purchase.aspose.cloud/pricing).
21
+
22
+ ### Installation
23
+
24
+ ```sh
25
+ gem install aspose_slides_cloud
26
+ ```
27
+
28
+ ### Sample usage
8
29
 
9
- To use Aspose Slides for Cloud Python SDK you need to register an account with [Aspose Cloud](https://www.aspose.cloud/) and lookup/create App Key and SID at [Cloud Dashboard](https://dashboard.aspose.cloud/#/apps). There is free quota available. For more details, see [Aspose Cloud Pricing](https://purchase.aspose.cloud/pricing).
30
+ The example code below converts a PowerPoint document to PDF format using aspose_slides_cloud library:
31
+ ```ruby
32
+ require 'aspose_slides_cloud'
33
+
34
+ configuration = AsposeSlidesCloud::Configuration.new
35
+ configuration.app_sid = "MyAppSid"
36
+ configuration.app_key = "MyAppKey"
37
+ api = AsposeSlidesCloud::SlidesApi.new(configuration)
38
+ requestParam = AsposeSlidesCloud::PostSlidesConvertRequest.new
39
+ requestParam.format = "pdf"
40
+ requestParam.document = File.binread("MyPresentation.pptx")
41
+ result = api.post_slides_convert(requestParam)
42
+ File.binwrite("MyPresentation.pdf", result)
43
+ ```
10
44
 
11
45
  ## Contact Us
46
+
12
47
  Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://forum.aspose.cloud/c/slides).
48
+
49
+ ## Resources
50
+
51
+ [Website](https://www.aspose.cloud/)
52
+ [Product Home](https://products.aspose.cloud/slides/family)
53
+ [API Reference](https://apireference.aspose.cloud/slides/)
54
+ [Documentation](https://docs.aspose.cloud/display/slidescloud/Home)
55
+ [Blog](https://blog.aspose.cloud/category/slides/)
56
+
57
+ ## Other languages
58
+
59
+ We generate our SDKs in different languages so you may check if yours is available in our [list](https://github.com/aspose-slides-cloud).
60
+
61
+ If you don't find your language in the list, feel free to request it from us, or use raw REST API requests as you can find it [here](https://products.aspose.cloud/slides/curl).
@@ -32,8 +32,10 @@ require 'aspose_slides_cloud/models/arrow_head_properties'
32
32
  require 'aspose_slides_cloud/models/axes'
33
33
  require 'aspose_slides_cloud/models/axis'
34
34
  require 'aspose_slides_cloud/models/blur_effect'
35
+ require 'aspose_slides_cloud/models/chart_category'
35
36
  require 'aspose_slides_cloud/models/chart_title'
36
37
  require 'aspose_slides_cloud/models/chart_wall'
38
+ require 'aspose_slides_cloud/models/common_slide_view_properties'
37
39
  require 'aspose_slides_cloud/models/custom_dash_pattern'
38
40
  require 'aspose_slides_cloud/models/disc_usage'
39
41
  require 'aspose_slides_cloud/models/effect'
@@ -59,6 +61,7 @@ require 'aspose_slides_cloud/models/interactive_sequence'
59
61
  require 'aspose_slides_cloud/models/legend'
60
62
  require 'aspose_slides_cloud/models/line_format'
61
63
  require 'aspose_slides_cloud/models/merging_source'
64
+ require 'aspose_slides_cloud/models/normal_view_restored_properties'
62
65
  require 'aspose_slides_cloud/models/notes_slide_export_format'
63
66
  require 'aspose_slides_cloud/models/object_exist'
64
67
  require 'aspose_slides_cloud/models/one_value_chart_data_point'
@@ -159,7 +162,9 @@ require 'aspose_slides_cloud/models/theme'
159
162
  require 'aspose_slides_cloud/models/tiff_export_options'
160
163
  require 'aspose_slides_cloud/models/update_background'
161
164
  require 'aspose_slides_cloud/models/update_shape'
165
+ require 'aspose_slides_cloud/models/view_properties'
162
166
  require 'aspose_slides_cloud/models/xps_export_options'
167
+ require 'aspose_slides_cloud/models/box_and_whisker_series'
163
168
  require 'aspose_slides_cloud/models/chart'
164
169
  require 'aspose_slides_cloud/models/document_replace_result'
165
170
  require 'aspose_slides_cloud/models/geometry_shape'
@@ -170,6 +175,7 @@ require 'aspose_slides_cloud/models/slide_replace_result'
170
175
  require 'aspose_slides_cloud/models/smart_art'
171
176
  require 'aspose_slides_cloud/models/smart_art_shape'
172
177
  require 'aspose_slides_cloud/models/table'
178
+ require 'aspose_slides_cloud/models/waterfall_series'
173
179
  require 'aspose_slides_cloud/models/audio_frame'
174
180
  require 'aspose_slides_cloud/models/connector'
175
181
  require 'aspose_slides_cloud/models/picture_frame'
@@ -26,9 +26,10 @@ module AsposeSlidesCloud
26
26
  class SlidesApi
27
27
  attr_accessor :api_client
28
28
 
29
- def initialize(api_client = ApiClient.default)
30
- @api_client = api_client
29
+ def initialize(configuration = Configuration.default)
30
+ @api_client = AsposeSlidesCloud::ApiClient.new(configuration)
31
31
  end
32
+
32
33
  # Copy file
33
34
  # @param request operation request
34
35
  def copy_file(request)
@@ -153,10 +154,6 @@ module AsposeSlidesCloud
153
154
  if @api_client.config.debugging
154
155
  @api_client.config.logger.debug 'Calling API: SlidesApi.create_folder ...'
155
156
  end
156
- # verify the required parameter 'path' is set
157
- if @api_client.config.client_side_validation && request.path.nil?
158
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.create_folder"
159
- end
160
157
  # resource path
161
158
  local_var_path = '/slides/storage/folder/{path}'
162
159
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
@@ -202,10 +199,6 @@ module AsposeSlidesCloud
202
199
  if @api_client.config.debugging
203
200
  @api_client.config.logger.debug 'Calling API: SlidesApi.delete_file ...'
204
201
  end
205
- # verify the required parameter 'path' is set
206
- if @api_client.config.client_side_validation && request.path.nil?
207
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_file"
208
- end
209
202
  # resource path
210
203
  local_var_path = '/slides/storage/file/{path}'
211
204
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
@@ -252,10 +245,6 @@ module AsposeSlidesCloud
252
245
  if @api_client.config.debugging
253
246
  @api_client.config.logger.debug 'Calling API: SlidesApi.delete_folder ...'
254
247
  end
255
- # verify the required parameter 'path' is set
256
- if @api_client.config.client_side_validation && request.path.nil?
257
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_folder"
258
- end
259
248
  # resource path
260
249
  local_var_path = '/slides/storage/folder/{path}'
261
250
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
@@ -367,10 +356,6 @@ module AsposeSlidesCloud
367
356
  if @api_client.config.client_side_validation && request.slide_index.nil?
368
357
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_notes_slide_paragraph"
369
358
  end
370
- # verify the required parameter 'path' is set
371
- if @api_client.config.client_side_validation && request.path.nil?
372
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_notes_slide_paragraph"
373
- end
374
359
  # verify the required parameter 'shape_index' is set
375
360
  if @api_client.config.client_side_validation && request.shape_index.nil?
376
361
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_notes_slide_paragraph"
@@ -439,10 +424,6 @@ module AsposeSlidesCloud
439
424
  if @api_client.config.client_side_validation && request.slide_index.nil?
440
425
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_notes_slide_paragraphs"
441
426
  end
442
- # verify the required parameter 'path' is set
443
- if @api_client.config.client_side_validation && request.path.nil?
444
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_notes_slide_paragraphs"
445
- end
446
427
  # verify the required parameter 'shape_index' is set
447
428
  if @api_client.config.client_side_validation && request.shape_index.nil?
448
429
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_notes_slide_paragraphs"
@@ -507,10 +488,6 @@ module AsposeSlidesCloud
507
488
  if @api_client.config.client_side_validation && request.slide_index.nil?
508
489
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_notes_slide_portion"
509
490
  end
510
- # verify the required parameter 'path' is set
511
- if @api_client.config.client_side_validation && request.path.nil?
512
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_notes_slide_portion"
513
- end
514
491
  # verify the required parameter 'shape_index' is set
515
492
  if @api_client.config.client_side_validation && request.shape_index.nil?
516
493
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_notes_slide_portion"
@@ -584,10 +561,6 @@ module AsposeSlidesCloud
584
561
  if @api_client.config.client_side_validation && request.slide_index.nil?
585
562
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_notes_slide_portions"
586
563
  end
587
- # verify the required parameter 'path' is set
588
- if @api_client.config.client_side_validation && request.path.nil?
589
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_notes_slide_portions"
590
- end
591
564
  # verify the required parameter 'shape_index' is set
592
565
  if @api_client.config.client_side_validation && request.shape_index.nil?
593
566
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_notes_slide_portions"
@@ -657,10 +630,6 @@ module AsposeSlidesCloud
657
630
  if @api_client.config.client_side_validation && request.slide_index.nil?
658
631
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_notes_slide_shape"
659
632
  end
660
- # verify the required parameter 'path' is set
661
- if @api_client.config.client_side_validation && request.path.nil?
662
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_notes_slide_shape"
663
- end
664
633
  # verify the required parameter 'shape_index' is set
665
634
  if @api_client.config.client_side_validation && request.shape_index.nil?
666
635
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_notes_slide_shape"
@@ -724,10 +693,6 @@ module AsposeSlidesCloud
724
693
  if @api_client.config.client_side_validation && request.slide_index.nil?
725
694
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_notes_slide_shapes"
726
695
  end
727
- # verify the required parameter 'path' is set
728
- if @api_client.config.client_side_validation && request.path.nil?
729
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_notes_slide_shapes"
730
- end
731
696
  # resource path
732
697
  local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}'
733
698
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
@@ -787,10 +752,6 @@ module AsposeSlidesCloud
787
752
  if @api_client.config.client_side_validation && request.slide_index.nil?
788
753
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_paragraph"
789
754
  end
790
- # verify the required parameter 'path' is set
791
- if @api_client.config.client_side_validation && request.path.nil?
792
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_paragraph"
793
- end
794
755
  # verify the required parameter 'shape_index' is set
795
756
  if @api_client.config.client_side_validation && request.shape_index.nil?
796
757
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_paragraph"
@@ -859,10 +820,6 @@ module AsposeSlidesCloud
859
820
  if @api_client.config.client_side_validation && request.slide_index.nil?
860
821
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_paragraphs"
861
822
  end
862
- # verify the required parameter 'path' is set
863
- if @api_client.config.client_side_validation && request.path.nil?
864
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_paragraphs"
865
- end
866
823
  # verify the required parameter 'shape_index' is set
867
824
  if @api_client.config.client_side_validation && request.shape_index.nil?
868
825
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_paragraphs"
@@ -927,10 +884,6 @@ module AsposeSlidesCloud
927
884
  if @api_client.config.client_side_validation && request.slide_index.nil?
928
885
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_portion"
929
886
  end
930
- # verify the required parameter 'path' is set
931
- if @api_client.config.client_side_validation && request.path.nil?
932
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_portion"
933
- end
934
887
  # verify the required parameter 'shape_index' is set
935
888
  if @api_client.config.client_side_validation && request.shape_index.nil?
936
889
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_portion"
@@ -1004,10 +957,6 @@ module AsposeSlidesCloud
1004
957
  if @api_client.config.client_side_validation && request.slide_index.nil?
1005
958
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_portions"
1006
959
  end
1007
- # verify the required parameter 'path' is set
1008
- if @api_client.config.client_side_validation && request.path.nil?
1009
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_portions"
1010
- end
1011
960
  # verify the required parameter 'shape_index' is set
1012
961
  if @api_client.config.client_side_validation && request.shape_index.nil?
1013
962
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_portions"
@@ -1496,10 +1445,6 @@ module AsposeSlidesCloud
1496
1445
  if @api_client.config.client_side_validation && request.slide_index.nil?
1497
1446
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_slide_shape"
1498
1447
  end
1499
- # verify the required parameter 'path' is set
1500
- if @api_client.config.client_side_validation && request.path.nil?
1501
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_slide_shape"
1502
- end
1503
1448
  # verify the required parameter 'shape_index' is set
1504
1449
  if @api_client.config.client_side_validation && request.shape_index.nil?
1505
1450
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_slide_shape"
@@ -1563,10 +1508,6 @@ module AsposeSlidesCloud
1563
1508
  if @api_client.config.client_side_validation && request.slide_index.nil?
1564
1509
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_slide_shapes"
1565
1510
  end
1566
- # verify the required parameter 'path' is set
1567
- if @api_client.config.client_side_validation && request.path.nil?
1568
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.delete_slide_shapes"
1569
- end
1570
1511
  # resource path
1571
1512
  local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}'
1572
1513
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
@@ -1837,10 +1778,6 @@ module AsposeSlidesCloud
1837
1778
  if @api_client.config.debugging
1838
1779
  @api_client.config.logger.debug 'Calling API: SlidesApi.download_file ...'
1839
1780
  end
1840
- # verify the required parameter 'path' is set
1841
- if @api_client.config.client_side_validation && request.path.nil?
1842
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.download_file"
1843
- end
1844
1781
  # resource path
1845
1782
  local_var_path = '/slides/storage/file/{path}'
1846
1783
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
@@ -1933,10 +1870,6 @@ module AsposeSlidesCloud
1933
1870
  if @api_client.config.debugging
1934
1871
  @api_client.config.logger.debug 'Calling API: SlidesApi.get_file_versions ...'
1935
1872
  end
1936
- # verify the required parameter 'path' is set
1937
- if @api_client.config.client_side_validation && request.path.nil?
1938
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_file_versions"
1939
- end
1940
1873
  # resource path
1941
1874
  local_var_path = '/slides/storage/version/{path}'
1942
1875
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
@@ -1983,10 +1916,6 @@ module AsposeSlidesCloud
1983
1916
  if @api_client.config.debugging
1984
1917
  @api_client.config.logger.debug 'Calling API: SlidesApi.get_files_list ...'
1985
1918
  end
1986
- # verify the required parameter 'path' is set
1987
- if @api_client.config.client_side_validation && request.path.nil?
1988
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_files_list"
1989
- end
1990
1919
  # resource path
1991
1920
  local_var_path = '/slides/storage/folder/{path}'
1992
1921
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
@@ -2316,10 +2245,6 @@ module AsposeSlidesCloud
2316
2245
  if @api_client.config.client_side_validation && request.slide_index.nil?
2317
2246
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shape"
2318
2247
  end
2319
- # verify the required parameter 'path' is set
2320
- if @api_client.config.client_side_validation && request.path.nil?
2321
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_notes_slide_shape"
2322
- end
2323
2248
  # verify the required parameter 'shape_index' is set
2324
2249
  if @api_client.config.client_side_validation && request.shape_index.nil?
2325
2250
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_notes_slide_shape"
@@ -2383,10 +2308,6 @@ module AsposeSlidesCloud
2383
2308
  if @api_client.config.client_side_validation && request.slide_index.nil?
2384
2309
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shape_paragraph"
2385
2310
  end
2386
- # verify the required parameter 'path' is set
2387
- if @api_client.config.client_side_validation && request.path.nil?
2388
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_notes_slide_shape_paragraph"
2389
- end
2390
2311
  # verify the required parameter 'shape_index' is set
2391
2312
  if @api_client.config.client_side_validation && request.shape_index.nil?
2392
2313
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_notes_slide_shape_paragraph"
@@ -2455,10 +2376,6 @@ module AsposeSlidesCloud
2455
2376
  if @api_client.config.client_side_validation && request.slide_index.nil?
2456
2377
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shape_paragraphs"
2457
2378
  end
2458
- # verify the required parameter 'path' is set
2459
- if @api_client.config.client_side_validation && request.path.nil?
2460
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_notes_slide_shape_paragraphs"
2461
- end
2462
2379
  # verify the required parameter 'shape_index' is set
2463
2380
  if @api_client.config.client_side_validation && request.shape_index.nil?
2464
2381
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_notes_slide_shape_paragraphs"
@@ -2522,10 +2439,6 @@ module AsposeSlidesCloud
2522
2439
  if @api_client.config.client_side_validation && request.slide_index.nil?
2523
2440
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shape_portion"
2524
2441
  end
2525
- # verify the required parameter 'path' is set
2526
- if @api_client.config.client_side_validation && request.path.nil?
2527
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_notes_slide_shape_portion"
2528
- end
2529
2442
  # verify the required parameter 'shape_index' is set
2530
2443
  if @api_client.config.client_side_validation && request.shape_index.nil?
2531
2444
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_notes_slide_shape_portion"
@@ -2599,10 +2512,6 @@ module AsposeSlidesCloud
2599
2512
  if @api_client.config.client_side_validation && request.slide_index.nil?
2600
2513
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shape_portions"
2601
2514
  end
2602
- # verify the required parameter 'path' is set
2603
- if @api_client.config.client_side_validation && request.path.nil?
2604
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_notes_slide_shape_portions"
2605
- end
2606
2515
  # verify the required parameter 'shape_index' is set
2607
2516
  if @api_client.config.client_side_validation && request.shape_index.nil?
2608
2517
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_notes_slide_shape_portions"
@@ -2671,10 +2580,6 @@ module AsposeSlidesCloud
2671
2580
  if @api_client.config.client_side_validation && request.slide_index.nil?
2672
2581
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_notes_slide_shapes"
2673
2582
  end
2674
- # verify the required parameter 'path' is set
2675
- if @api_client.config.client_side_validation && request.path.nil?
2676
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_notes_slide_shapes"
2677
- end
2678
2583
  # resource path
2679
2584
  local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}'
2680
2585
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
@@ -2802,10 +2707,6 @@ module AsposeSlidesCloud
2802
2707
  if @api_client.config.client_side_validation && request.slide_index.nil?
2803
2708
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_paragraph_portion"
2804
2709
  end
2805
- # verify the required parameter 'path' is set
2806
- if @api_client.config.client_side_validation && request.path.nil?
2807
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_paragraph_portion"
2808
- end
2809
2710
  # verify the required parameter 'shape_index' is set
2810
2711
  if @api_client.config.client_side_validation && request.shape_index.nil?
2811
2712
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_paragraph_portion"
@@ -2879,10 +2780,6 @@ module AsposeSlidesCloud
2879
2780
  if @api_client.config.client_side_validation && request.slide_index.nil?
2880
2781
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_paragraph_portions"
2881
2782
  end
2882
- # verify the required parameter 'path' is set
2883
- if @api_client.config.client_side_validation && request.path.nil?
2884
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_paragraph_portions"
2885
- end
2886
2783
  # verify the required parameter 'shape_index' is set
2887
2784
  if @api_client.config.client_side_validation && request.shape_index.nil?
2888
2785
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_paragraph_portions"
@@ -3013,10 +2910,6 @@ module AsposeSlidesCloud
3013
2910
  if @api_client.config.client_side_validation && request.slide_index.nil?
3014
2911
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_shape"
3015
2912
  end
3016
- # verify the required parameter 'path' is set
3017
- if @api_client.config.client_side_validation && request.path.nil?
3018
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_slide_shape"
3019
- end
3020
2913
  # verify the required parameter 'shape_index' is set
3021
2914
  if @api_client.config.client_side_validation && request.shape_index.nil?
3022
2915
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_shape"
@@ -3080,10 +2973,6 @@ module AsposeSlidesCloud
3080
2973
  if @api_client.config.client_side_validation && request.slide_index.nil?
3081
2974
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_shape_paragraph"
3082
2975
  end
3083
- # verify the required parameter 'path' is set
3084
- if @api_client.config.client_side_validation && request.path.nil?
3085
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_slide_shape_paragraph"
3086
- end
3087
2976
  # verify the required parameter 'shape_index' is set
3088
2977
  if @api_client.config.client_side_validation && request.shape_index.nil?
3089
2978
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_shape_paragraph"
@@ -3152,10 +3041,6 @@ module AsposeSlidesCloud
3152
3041
  if @api_client.config.client_side_validation && request.slide_index.nil?
3153
3042
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_shape_paragraphs"
3154
3043
  end
3155
- # verify the required parameter 'path' is set
3156
- if @api_client.config.client_side_validation && request.path.nil?
3157
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_slide_shape_paragraphs"
3158
- end
3159
3044
  # verify the required parameter 'shape_index' is set
3160
3045
  if @api_client.config.client_side_validation && request.shape_index.nil?
3161
3046
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_shape_paragraphs"
@@ -3219,10 +3104,6 @@ module AsposeSlidesCloud
3219
3104
  if @api_client.config.client_side_validation && request.slide_index.nil?
3220
3105
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_shapes"
3221
3106
  end
3222
- # verify the required parameter 'path' is set
3223
- if @api_client.config.client_side_validation && request.path.nil?
3224
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.get_slide_shapes"
3225
- end
3226
3107
  # resource path
3227
3108
  local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}'
3228
3109
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
@@ -4376,6 +4257,58 @@ module AsposeSlidesCloud
4376
4257
  :return_type => 'FormatScheme')
4377
4258
  return data, status_code, headers
4378
4259
  end
4260
+ # Read presentation document properties.
4261
+ # @param request operation request
4262
+ def get_slides_view_properties(request)
4263
+ data, _status_code, _headers = get_slides_view_properties_with_http_info(request)
4264
+ data
4265
+ end
4266
+
4267
+ # Read presentation document properties.
4268
+ # @param request operation request
4269
+ def get_slides_view_properties_with_http_info(request)
4270
+ if @api_client.config.debugging
4271
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_slides_view_properties ...'
4272
+ end
4273
+ # verify the required parameter 'name' is set
4274
+ if @api_client.config.client_side_validation && request.name.nil?
4275
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_slides_view_properties"
4276
+ end
4277
+ # resource path
4278
+ local_var_path = '/slides/{name}/viewProperties'
4279
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
4280
+
4281
+ # query parameters
4282
+ query_params = {}
4283
+ query_params[:'password'] = request.password unless request.password.nil?
4284
+ query_params[:'folder'] = request.folder unless request.folder.nil?
4285
+ query_params[:'storage'] = request.storage unless request.storage.nil?
4286
+
4287
+ # header parameters
4288
+ header_params = {}
4289
+ # HTTP header 'Accept' (if needed)
4290
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4291
+ # HTTP header 'Content-Type'
4292
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
4293
+
4294
+ # http body (model)
4295
+ post_body = nil
4296
+
4297
+ # form parameters
4298
+
4299
+ post_files = nil
4300
+
4301
+
4302
+ auth_names = ['JWT']
4303
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
4304
+ :header_params => header_params,
4305
+ :query_params => query_params,
4306
+ :body => post_body,
4307
+ :files => post_files,
4308
+ :auth_names => auth_names,
4309
+ :return_type => 'ViewProperties')
4310
+ return data, status_code, headers
4311
+ end
4379
4312
  # Move file
4380
4313
  # @param request operation request
4381
4314
  def move_file(request)
@@ -4500,10 +4433,6 @@ module AsposeSlidesCloud
4500
4433
  if @api_client.config.debugging
4501
4434
  @api_client.config.logger.debug 'Calling API: SlidesApi.object_exists ...'
4502
4435
  end
4503
- # verify the required parameter 'path' is set
4504
- if @api_client.config.client_side_validation && request.path.nil?
4505
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.object_exists"
4506
- end
4507
4436
  # resource path
4508
4437
  local_var_path = '/slides/storage/exist/{path}'
4509
4438
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'path', request.path)
@@ -4559,10 +4488,6 @@ module AsposeSlidesCloud
4559
4488
  if @api_client.config.client_side_validation && request.slide_index.nil?
4560
4489
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_paragraph"
4561
4490
  end
4562
- # verify the required parameter 'path' is set
4563
- if @api_client.config.client_side_validation && request.path.nil?
4564
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_add_new_paragraph"
4565
- end
4566
4491
  # verify the required parameter 'shape_index' is set
4567
4492
  if @api_client.config.client_side_validation && request.shape_index.nil?
4568
4493
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_add_new_paragraph"
@@ -4627,10 +4552,6 @@ module AsposeSlidesCloud
4627
4552
  if @api_client.config.client_side_validation && request.slide_index.nil?
4628
4553
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_portion"
4629
4554
  end
4630
- # verify the required parameter 'path' is set
4631
- if @api_client.config.client_side_validation && request.path.nil?
4632
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_add_new_portion"
4633
- end
4634
4555
  # verify the required parameter 'shape_index' is set
4635
4556
  if @api_client.config.client_side_validation && request.shape_index.nil?
4636
4557
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_add_new_portion"
@@ -4700,10 +4621,6 @@ module AsposeSlidesCloud
4700
4621
  if @api_client.config.client_side_validation && request.slide_index.nil?
4701
4622
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_add_new_shape"
4702
4623
  end
4703
- # verify the required parameter 'path' is set
4704
- if @api_client.config.client_side_validation && request.path.nil?
4705
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_add_new_shape"
4706
- end
4707
4624
  # resource path
4708
4625
  local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{path}'
4709
4626
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
@@ -4929,6 +4846,118 @@ module AsposeSlidesCloud
4929
4846
  :return_type => 'MasterSlide')
4930
4847
  return data, status_code, headers
4931
4848
  end
4849
+ # Read notes slide info.
4850
+ # @param request operation request
4851
+ def post_get_notes_slide(request)
4852
+ data, _status_code, _headers = post_get_notes_slide_with_http_info(request)
4853
+ data
4854
+ end
4855
+
4856
+ # Read notes slide info.
4857
+ # @param request operation request
4858
+ def post_get_notes_slide_with_http_info(request)
4859
+ if @api_client.config.debugging
4860
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_get_notes_slide ...'
4861
+ end
4862
+ # verify the required parameter 'slide_index' is set
4863
+ if @api_client.config.client_side_validation && request.slide_index.nil?
4864
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_get_notes_slide"
4865
+ end
4866
+ # resource path
4867
+ local_var_path = '/slides/slides/{slideIndex}/notesSlide'
4868
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
4869
+
4870
+ # query parameters
4871
+ query_params = {}
4872
+ query_params[:'password'] = request.password unless request.password.nil?
4873
+
4874
+ # header parameters
4875
+ header_params = {}
4876
+ # HTTP header 'Accept' (if needed)
4877
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4878
+ # HTTP header 'Content-Type'
4879
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/octet-stream', 'multipart/form-data'])
4880
+
4881
+ # http body (model)
4882
+ post_body = @api_client.object_to_http_body(request.document)
4883
+
4884
+ # form parameters
4885
+
4886
+ post_files = nil
4887
+
4888
+
4889
+ auth_names = ['JWT']
4890
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
4891
+ :header_params => header_params,
4892
+ :query_params => query_params,
4893
+ :body => post_body,
4894
+ :files => post_files,
4895
+ :auth_names => auth_names,
4896
+ :return_type => 'NotesSlide')
4897
+ return data, status_code, headers
4898
+ end
4899
+ # Convert notes slide to the specified image format.
4900
+ # @param request operation request
4901
+ def post_get_notes_slide_with_format(request)
4902
+ data, _status_code, _headers = post_get_notes_slide_with_format_with_http_info(request)
4903
+ data
4904
+ end
4905
+
4906
+ # Convert notes slide to the specified image format.
4907
+ # @param request operation request
4908
+ def post_get_notes_slide_with_format_with_http_info(request)
4909
+ if @api_client.config.debugging
4910
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_get_notes_slide_with_format ...'
4911
+ end
4912
+ # verify the required parameter 'slide_index' is set
4913
+ if @api_client.config.client_side_validation && request.slide_index.nil?
4914
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_get_notes_slide_with_format"
4915
+ end
4916
+ # verify the required parameter 'format' is set
4917
+ if @api_client.config.client_side_validation && request.format.nil?
4918
+ fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.post_get_notes_slide_with_format"
4919
+ end
4920
+ # verify enum value
4921
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff'].any?{ |s| s.casecmp(request.format)==0 }
4922
+ fail ArgumentError, "invalid value for 'format', must be one of Jpeg, Png, Gif, Bmp, Tiff"
4923
+ end
4924
+ # resource path
4925
+ local_var_path = '/slides/slides/{slideIndex}/notesSlide/{format}'
4926
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
4927
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', request.format)
4928
+
4929
+ # query parameters
4930
+ query_params = {}
4931
+ query_params[:'width'] = request.width unless request.width.nil?
4932
+ query_params[:'height'] = request.height unless request.height.nil?
4933
+ query_params[:'password'] = request.password unless request.password.nil?
4934
+ query_params[:'fontsFolder'] = request.fonts_folder unless request.fonts_folder.nil?
4935
+
4936
+ # header parameters
4937
+ header_params = {}
4938
+ # HTTP header 'Accept' (if needed)
4939
+ header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
4940
+ # HTTP header 'Content-Type'
4941
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/octet-stream', 'multipart/form-data'])
4942
+
4943
+ # http body (model)
4944
+ post_body = @api_client.object_to_http_body(request.document)
4945
+
4946
+ # form parameters
4947
+
4948
+ post_files = nil
4949
+
4950
+
4951
+ auth_names = ['JWT']
4952
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
4953
+ :header_params => header_params,
4954
+ :query_params => query_params,
4955
+ :body => post_body,
4956
+ :files => post_files,
4957
+ :auth_names => auth_names,
4958
+ :return_type => 'File')
4959
+ return data, status_code, headers
4960
+ end
4932
4961
  # Creates new paragraph.
4933
4962
  # @param request operation request
4934
4963
  def post_notes_slide_add_new_paragraph(request)
@@ -4950,10 +4979,6 @@ module AsposeSlidesCloud
4950
4979
  if @api_client.config.client_side_validation && request.slide_index.nil?
4951
4980
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_notes_slide_add_new_paragraph"
4952
4981
  end
4953
- # verify the required parameter 'path' is set
4954
- if @api_client.config.client_side_validation && request.path.nil?
4955
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_notes_slide_add_new_paragraph"
4956
- end
4957
4982
  # verify the required parameter 'shape_index' is set
4958
4983
  if @api_client.config.client_side_validation && request.shape_index.nil?
4959
4984
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_notes_slide_add_new_paragraph"
@@ -5018,10 +5043,6 @@ module AsposeSlidesCloud
5018
5043
  if @api_client.config.client_side_validation && request.slide_index.nil?
5019
5044
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_notes_slide_add_new_portion"
5020
5045
  end
5021
- # verify the required parameter 'path' is set
5022
- if @api_client.config.client_side_validation && request.path.nil?
5023
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_notes_slide_add_new_portion"
5024
- end
5025
5046
  # verify the required parameter 'shape_index' is set
5026
5047
  if @api_client.config.client_side_validation && request.shape_index.nil?
5027
5048
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_notes_slide_add_new_portion"
@@ -5091,10 +5112,6 @@ module AsposeSlidesCloud
5091
5112
  if @api_client.config.client_side_validation && request.slide_index.nil?
5092
5113
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_notes_slide_add_new_shape"
5093
5114
  end
5094
- # verify the required parameter 'path' is set
5095
- if @api_client.config.client_side_validation && request.path.nil?
5096
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_notes_slide_add_new_shape"
5097
- end
5098
5115
  # resource path
5099
5116
  local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/shapes/{path}'
5100
5117
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
@@ -5155,10 +5172,6 @@ module AsposeSlidesCloud
5155
5172
  if @api_client.config.client_side_validation && request.slide_index.nil?
5156
5173
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_notes_slide_shape_save_as"
5157
5174
  end
5158
- # verify the required parameter 'path' is set
5159
- if @api_client.config.client_side_validation && request.path.nil?
5160
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_notes_slide_shape_save_as"
5161
- end
5162
5175
  # verify the required parameter 'shape_index' is set
5163
5176
  if @api_client.config.client_side_validation && request.shape_index.nil?
5164
5177
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_notes_slide_shape_save_as"
@@ -5290,10 +5303,6 @@ module AsposeSlidesCloud
5290
5303
  if @api_client.config.client_side_validation && request.slide_index.nil?
5291
5304
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_shape_save_as"
5292
5305
  end
5293
- # verify the required parameter 'path' is set
5294
- if @api_client.config.client_side_validation && request.path.nil?
5295
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.post_shape_save_as"
5296
- end
5297
5306
  # verify the required parameter 'shape_index' is set
5298
5307
  if @api_client.config.client_side_validation && request.shape_index.nil?
5299
5308
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_shape_save_as"
@@ -6533,10 +6542,6 @@ module AsposeSlidesCloud
6533
6542
  if @api_client.config.client_side_validation && request.slide_index.nil?
6534
6543
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_notes_slide_shape_save_as"
6535
6544
  end
6536
- # verify the required parameter 'path' is set
6537
- if @api_client.config.client_side_validation && request.path.nil?
6538
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_notes_slide_shape_save_as"
6539
- end
6540
6545
  # verify the required parameter 'shape_index' is set
6541
6546
  if @api_client.config.client_side_validation && request.shape_index.nil?
6542
6547
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_notes_slide_shape_save_as"
@@ -6672,10 +6677,6 @@ module AsposeSlidesCloud
6672
6677
  if @api_client.config.client_side_validation && request.slide_index.nil?
6673
6678
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_set_paragraph_portion_properties"
6674
6679
  end
6675
- # verify the required parameter 'path' is set
6676
- if @api_client.config.client_side_validation && request.path.nil?
6677
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_set_paragraph_portion_properties"
6678
- end
6679
6680
  # verify the required parameter 'shape_index' is set
6680
6681
  if @api_client.config.client_side_validation && request.shape_index.nil?
6681
6682
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_set_paragraph_portion_properties"
@@ -6749,10 +6750,6 @@ module AsposeSlidesCloud
6749
6750
  if @api_client.config.client_side_validation && request.slide_index.nil?
6750
6751
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_set_paragraph_properties"
6751
6752
  end
6752
- # verify the required parameter 'path' is set
6753
- if @api_client.config.client_side_validation && request.path.nil?
6754
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_set_paragraph_properties"
6755
- end
6756
6753
  # verify the required parameter 'shape_index' is set
6757
6754
  if @api_client.config.client_side_validation && request.shape_index.nil?
6758
6755
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_set_paragraph_properties"
@@ -6821,10 +6818,6 @@ module AsposeSlidesCloud
6821
6818
  if @api_client.config.client_side_validation && request.slide_index.nil?
6822
6819
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_shape_save_as"
6823
6820
  end
6824
- # verify the required parameter 'path' is set
6825
- if @api_client.config.client_side_validation && request.path.nil?
6826
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_shape_save_as"
6827
- end
6828
6821
  # verify the required parameter 'shape_index' is set
6829
6822
  if @api_client.config.client_side_validation && request.shape_index.nil?
6830
6823
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_shape_save_as"
@@ -7167,10 +7160,6 @@ module AsposeSlidesCloud
7167
7160
  if @api_client.config.client_side_validation && request.slide_index.nil?
7168
7161
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_slide_shape_info"
7169
7162
  end
7170
- # verify the required parameter 'path' is set
7171
- if @api_client.config.client_side_validation && request.path.nil?
7172
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_slide_shape_info"
7173
- end
7174
7163
  # verify the required parameter 'shape_index' is set
7175
7164
  if @api_client.config.client_side_validation && request.shape_index.nil?
7176
7165
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_slide_shape_info"
@@ -7685,6 +7674,58 @@ module AsposeSlidesCloud
7685
7674
  :return_type => 'Document')
7686
7675
  return data, status_code, headers
7687
7676
  end
7677
+ # Update presentation document properties.
7678
+ # @param request operation request
7679
+ def put_slides_view_properties(request)
7680
+ data, _status_code, _headers = put_slides_view_properties_with_http_info(request)
7681
+ data
7682
+ end
7683
+
7684
+ # Update presentation document properties.
7685
+ # @param request operation request
7686
+ def put_slides_view_properties_with_http_info(request)
7687
+ if @api_client.config.debugging
7688
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_slides_view_properties ...'
7689
+ end
7690
+ # verify the required parameter 'name' is set
7691
+ if @api_client.config.client_side_validation && request.name.nil?
7692
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_slides_view_properties"
7693
+ end
7694
+ # resource path
7695
+ local_var_path = '/slides/{name}/viewProperties'
7696
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
7697
+
7698
+ # query parameters
7699
+ query_params = {}
7700
+ query_params[:'password'] = request.password unless request.password.nil?
7701
+ query_params[:'folder'] = request.folder unless request.folder.nil?
7702
+ query_params[:'storage'] = request.storage unless request.storage.nil?
7703
+
7704
+ # header parameters
7705
+ header_params = {}
7706
+ # HTTP header 'Accept' (if needed)
7707
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
7708
+ # HTTP header 'Content-Type'
7709
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
7710
+
7711
+ # http body (model)
7712
+ post_body = @api_client.object_to_http_body(request.dto)
7713
+
7714
+ # form parameters
7715
+
7716
+ post_files = nil
7717
+
7718
+
7719
+ auth_names = ['JWT']
7720
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
7721
+ :header_params => header_params,
7722
+ :query_params => query_params,
7723
+ :body => post_body,
7724
+ :files => post_files,
7725
+ :auth_names => auth_names,
7726
+ :return_type => 'ViewProperties')
7727
+ return data, status_code, headers
7728
+ end
7688
7729
  # Update notes slide properties.
7689
7730
  # @param request operation request
7690
7731
  def put_update_notes_slide(request)
@@ -7763,10 +7804,6 @@ module AsposeSlidesCloud
7763
7804
  if @api_client.config.client_side_validation && request.slide_index.nil?
7764
7805
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_update_notes_slide_shape"
7765
7806
  end
7766
- # verify the required parameter 'path' is set
7767
- if @api_client.config.client_side_validation && request.path.nil?
7768
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_update_notes_slide_shape"
7769
- end
7770
7807
  # verify the required parameter 'shape_index' is set
7771
7808
  if @api_client.config.client_side_validation && request.shape_index.nil?
7772
7809
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_update_notes_slide_shape"
@@ -7830,10 +7867,6 @@ module AsposeSlidesCloud
7830
7867
  if @api_client.config.client_side_validation && request.slide_index.nil?
7831
7868
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_update_notes_slide_shape_paragraph"
7832
7869
  end
7833
- # verify the required parameter 'path' is set
7834
- if @api_client.config.client_side_validation && request.path.nil?
7835
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_update_notes_slide_shape_paragraph"
7836
- end
7837
7870
  # verify the required parameter 'shape_index' is set
7838
7871
  if @api_client.config.client_side_validation && request.shape_index.nil?
7839
7872
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_update_notes_slide_shape_paragraph"
@@ -7902,10 +7935,6 @@ module AsposeSlidesCloud
7902
7935
  if @api_client.config.client_side_validation && request.slide_index.nil?
7903
7936
  fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_update_notes_slide_shape_portion"
7904
7937
  end
7905
- # verify the required parameter 'path' is set
7906
- if @api_client.config.client_side_validation && request.path.nil?
7907
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.put_update_notes_slide_shape_portion"
7908
- end
7909
7938
  # verify the required parameter 'shape_index' is set
7910
7939
  if @api_client.config.client_side_validation && request.shape_index.nil?
7911
7940
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_update_notes_slide_shape_portion"
@@ -8020,10 +8049,6 @@ module AsposeSlidesCloud
8020
8049
  if @api_client.config.debugging
8021
8050
  @api_client.config.logger.debug 'Calling API: SlidesApi.upload_file ...'
8022
8051
  end
8023
- # verify the required parameter 'path' is set
8024
- if @api_client.config.client_side_validation && request.path.nil?
8025
- fail ArgumentError, "Missing the required parameter 'path' when calling SlidesApi.upload_file"
8026
- end
8027
8052
  # verify the required parameter 'file' is set
8028
8053
  if @api_client.config.client_side_validation && request.file.nil?
8029
8054
  fail ArgumentError, "Missing the required parameter 'file' when calling SlidesApi.upload_file"