aspose_slides_cloud 24.1.0 → 24.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +17 -15
  3. data/README.md +17 -0
  4. data/lib/aspose_slides_cloud/api/slides_api.rb +157 -22
  5. data/lib/aspose_slides_cloud/api/slides_async_api.rb +8 -8
  6. data/lib/aspose_slides_cloud/models/audio_frame.rb +2 -1
  7. data/lib/aspose_slides_cloud/models/chart.rb +2 -1
  8. data/lib/aspose_slides_cloud/models/comment_author.rb +101 -0
  9. data/lib/aspose_slides_cloud/models/comment_authors.rb +93 -0
  10. data/lib/aspose_slides_cloud/models/connector.rb +2 -1
  11. data/lib/aspose_slides_cloud/models/effect.rb +23 -1
  12. data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
  13. data/lib/aspose_slides_cloud/models/geometry_shape.rb +2 -1
  14. data/lib/aspose_slides_cloud/models/graphical_object.rb +2 -1
  15. data/lib/aspose_slides_cloud/models/group_shape.rb +2 -1
  16. data/lib/aspose_slides_cloud/models/handout_layouting_options.rb +133 -0
  17. data/lib/aspose_slides_cloud/models/html5_export_options.rb +22 -2
  18. data/lib/aspose_slides_cloud/models/html_export_options.rb +8 -72
  19. data/lib/aspose_slides_cloud/models/image_export_options.rb +12 -66
  20. data/lib/aspose_slides_cloud/models/notes_comments_layouting_options.rb +155 -0
  21. data/lib/aspose_slides_cloud/models/ole_object_frame.rb +2 -1
  22. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +8 -72
  23. data/lib/aspose_slides_cloud/models/picture_frame.rb +2 -1
  24. data/lib/aspose_slides_cloud/models/save.rb +2 -2
  25. data/lib/aspose_slides_cloud/models/save_slide.rb +2 -2
  26. data/lib/aspose_slides_cloud/models/section_zoom_frame.rb +2 -1
  27. data/lib/aspose_slides_cloud/models/shape.rb +2 -1
  28. data/lib/aspose_slides_cloud/models/shape_base.rb +11 -1
  29. data/lib/aspose_slides_cloud/models/slide_export_format.rb +1 -0
  30. data/lib/aspose_slides_cloud/models/slide_show_properties.rb +11 -1
  31. data/lib/aspose_slides_cloud/models/slides_layout_options.rb +102 -0
  32. data/lib/aspose_slides_cloud/models/smart_art.rb +2 -1
  33. data/lib/aspose_slides_cloud/models/smart_art_shape.rb +2 -1
  34. data/lib/aspose_slides_cloud/models/summary_zoom_frame.rb +2 -1
  35. data/lib/aspose_slides_cloud/models/summary_zoom_section.rb +2 -1
  36. data/lib/aspose_slides_cloud/models/table.rb +2 -1
  37. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +23 -65
  38. data/lib/aspose_slides_cloud/models/video_frame.rb +2 -1
  39. data/lib/aspose_slides_cloud/models/zoom_frame.rb +2 -1
  40. data/lib/aspose_slides_cloud/models/zoom_object.rb +2 -1
  41. data/lib/aspose_slides_cloud/type_registry.rb +8 -0
  42. data/lib/aspose_slides_cloud/version.rb +1 -1
  43. data/lib/aspose_slides_cloud.rb +5 -0
  44. data/spec/api/slides_api_spec.rb +289 -0
  45. data/spec/use_cases/comment_spec.rb +8 -0
  46. data/spec/use_cases/image_spec.rb +27 -0
  47. data/testRules.json +2 -0
  48. metadata +7 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40a1105135d6041814dd5fd4f682884ff7d9db51953de7dab2458223275cafdf
4
- data.tar.gz: e8fc4120b3fd0db9e7ab51464e393b94bd7abc6942d4a4f0572753f75243ac36
3
+ metadata.gz: b94e6425ee7b47026a371cf4c4311fd413d8a9fcd0d50ab644bacbbecce5a908
4
+ data.tar.gz: 4b85491caa7b74545b956d1375e8f9ad61ff35210dec4b7ca8e96986799fbac7
5
5
  SHA512:
6
- metadata.gz: 282f00a5a458fe4d80f863f29a54ee1ca7dfb2ba23996c3f553b508fb0ab340c0eede4799b2aa6d05a91fe43198024748f9680668cac00a362f726013f2e64f1
7
- data.tar.gz: 6bce261732ef6d320fb082d3b5a0fe3f6b8776dcb14c2ac8a9fe9941ad73d8d6a54799b86cae85b9672734d8e096546608961a72d6ec537610c590fc9b64ec52
6
+ metadata.gz: c4b7983df49c75fa1f8a06e2c678222a249d224033f1fa4df0c36330d7ef117592fdcbadf30e7994e813effc05571f2ec68cb19ece9055c3880f4e8da0d75f07
7
+ data.tar.gz: bf948f3a53a7058f19560d9e86be7254bb6c3721b52d4810ae87f316db14b94e77d2276a77dc9449a25d4a25f77b5d4c9ad923b1e2213b738e1994e62f350ab1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aspose_slides_cloud (24.1.0)
4
+ aspose_slides_cloud (24.3.0)
5
5
  faraday (~> 1.0, >= 1.0.0)
6
6
  faraday-httpclient (~> 1.0, >= 1.0.0)
7
7
  httpclient (~> 2.2, >= 2.2.0)
@@ -17,9 +17,11 @@ GEM
17
17
  ZenTest (>= 4.4.1)
18
18
  autotest-growl (0.2.16)
19
19
  autotest-rails-pure (4.1.2)
20
- crack (0.4.5)
20
+ bigdecimal (3.1.7)
21
+ crack (1.0.0)
22
+ bigdecimal
21
23
  rexml
22
- diff-lcs (1.5.0)
24
+ diff-lcs (1.5.1)
23
25
  faraday (1.10.3)
24
26
  faraday-em_http (~> 1.0)
25
27
  faraday-em_synchrony (~> 1.0)
@@ -46,23 +48,23 @@ GEM
46
48
  hashdiff (1.1.0)
47
49
  httpclient (2.8.3)
48
50
  json (2.7.1)
49
- multipart-post (2.3.0)
51
+ multipart-post (2.4.0)
50
52
  public_suffix (5.0.4)
51
53
  rake (12.3.3)
52
54
  rexml (3.2.6)
53
- rspec (3.12.0)
54
- rspec-core (~> 3.12.0)
55
- rspec-expectations (~> 3.12.0)
56
- rspec-mocks (~> 3.12.0)
57
- rspec-core (3.12.2)
58
- rspec-support (~> 3.12.0)
59
- rspec-expectations (3.12.3)
55
+ rspec (3.13.0)
56
+ rspec-core (~> 3.13.0)
57
+ rspec-expectations (~> 3.13.0)
58
+ rspec-mocks (~> 3.13.0)
59
+ rspec-core (3.13.0)
60
+ rspec-support (~> 3.13.0)
61
+ rspec-expectations (3.13.0)
60
62
  diff-lcs (>= 1.2.0, < 2.0)
61
- rspec-support (~> 3.12.0)
62
- rspec-mocks (3.12.6)
63
+ rspec-support (~> 3.13.0)
64
+ rspec-mocks (3.13.0)
63
65
  diff-lcs (>= 1.2.0, < 2.0)
64
- rspec-support (~> 3.12.0)
65
- rspec-support (3.12.1)
66
+ rspec-support (~> 3.13.0)
67
+ rspec-support (3.13.1)
66
68
  rspec_junit_formatter (0.6.0)
67
69
  rspec-core (>= 2, < 4, != 2.12.0)
68
70
  ruby2_keywords (0.0.5)
data/README.md CHANGED
@@ -27,6 +27,23 @@ You may want to check out Aspose free [Powerpoint to PDF](https://products.aspos
27
27
  **Web:** HTML/HTML5
28
28
  **Other:** MPEG4, SWF (export whole presentations)
29
29
 
30
+ ## Enhancements in Version 24.3
31
+
32
+ * Added Markdown (**Md**) to the list of allowed export formats.
33
+ * Added **DeletePictureCroppedAreas** method to delete cropped areas of pictures.
34
+ * Added **SlidesLayoutOptions** property to **PdfExportOptions**, **HtmlExportOptions**, **TiffExportOptions** and **ImageExportOptions** classes. You can use it to specify handout or notes/comments layouting options.
35
+ * Added **AnimateTextType** enum property to **Effect** class.
36
+ * Added **NotesCommentsLayouting** property to **Html5ExportOptions** class.
37
+ * Added **BwConversionMode** property to **TiffExportOptions** class.
38
+ * Added **EmbedImages** boolean property to **Html5ExportOptions** class.
39
+ * Added **ShowMediaControls** boolean property to **SlideShowProperties** class.
40
+ * Added **IsDecorative** boolean property to **ShapeBase** class.
41
+
42
+
43
+ ## Enhancements in Version 24.2
44
+
45
+ * Added **GetCommentAuthors** method to get list of comment authors.
46
+
30
47
  ## Enhancements in Version 24.1
31
48
 
32
49
  * Added **GetAvailableFonts** method to get list of installed system & custom fonts.
@@ -353,8 +353,8 @@ module AsposeSlidesCloud
353
353
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.convert"
354
354
  end
355
355
  # verify enum value
356
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4'].any?{ |s| s.casecmp(format)==0 }
357
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4"
356
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md'].any?{ |s| s.casecmp(format)==0 }
357
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md"
358
358
  end
359
359
  # resource path
360
360
  local_var_path = '/slides/convert/{format}'
@@ -430,8 +430,8 @@ module AsposeSlidesCloud
430
430
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.convert_and_save"
431
431
  end
432
432
  # verify enum value
433
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4'].any?{ |s| s.casecmp(format)==0 }
434
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4"
433
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md'].any?{ |s| s.casecmp(format)==0 }
434
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md"
435
435
  end
436
436
  # verify the required parameter 'out_path' is set
437
437
  if @api_client.config.client_side_validation && out_path.nil?
@@ -4747,6 +4747,84 @@ module AsposeSlidesCloud
4747
4747
  :return_type => 'Paragraphs')
4748
4748
  return data, status_code, headers
4749
4749
  end
4750
+ # Deletes cropped areas of a pictire.
4751
+ # @param name Document name.
4752
+ # @param slide_index Slide index.
4753
+ # @param shape_index Shape index (must refer to a picture frame).
4754
+ # @param password Document password.
4755
+ # @param folder Document folder.
4756
+ # @param storage Presentation storage.
4757
+ def delete_picture_cropped_areas(name, slide_index, shape_index, password, folder, storage = nil)
4758
+ delete_picture_cropped_areas_with_http_info(name, slide_index, shape_index, password, folder, storage)
4759
+ nil
4760
+ end
4761
+
4762
+ # Deletes cropped areas of a pictire.
4763
+ # @param name Document name.
4764
+ # @param slide_index Slide index.
4765
+ # @param shape_index Shape index (must refer to a picture frame).
4766
+ # @param password Document password.
4767
+ # @param folder Document folder.
4768
+ # @param storage Presentation storage.
4769
+ def delete_picture_cropped_areas_with_http_info(name, slide_index, shape_index, password, folder, storage = nil)
4770
+ if @api_client.config.debugging
4771
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_picture_cropped_areas ...'
4772
+ end
4773
+
4774
+ # verify the required parameter 'name' is set
4775
+ if @api_client.config.client_side_validation && name.nil?
4776
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_picture_cropped_areas"
4777
+ end
4778
+ # verify the required parameter 'slide_index' is set
4779
+ if @api_client.config.client_side_validation && slide_index.nil?
4780
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_picture_cropped_areas"
4781
+ end
4782
+ # verify the required parameter 'shape_index' is set
4783
+ if @api_client.config.client_side_validation && shape_index.nil?
4784
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_picture_cropped_areas"
4785
+ end
4786
+ # verify the required parameter 'password' is set
4787
+ if @api_client.config.client_side_validation && password.nil?
4788
+ fail ArgumentError, "Missing the required parameter 'password' when calling SlidesApi.delete_picture_cropped_areas"
4789
+ end
4790
+ # verify the required parameter 'folder' is set
4791
+ if @api_client.config.client_side_validation && folder.nil?
4792
+ fail ArgumentError, "Missing the required parameter 'folder' when calling SlidesApi.delete_picture_cropped_areas"
4793
+ end
4794
+ # resource path
4795
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/pictureCroppedAreas'
4796
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
4797
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
4798
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
4799
+
4800
+ # query parameters
4801
+ query_params = {}
4802
+ query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
4803
+ query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
4804
+
4805
+ # header parameters
4806
+ header_params = {}
4807
+ # HTTP header 'Accept' (if needed)
4808
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4809
+ # HTTP header 'Content-Type'
4810
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
4811
+ header_params[:'password'] = password
4812
+
4813
+ # http body (model)
4814
+ post_body = nil
4815
+
4816
+ # form parameters
4817
+ post_files = []
4818
+
4819
+ auth_names = ['JWT']
4820
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
4821
+ :header_params => header_params,
4822
+ :query_params => query_params,
4823
+ :body => post_body,
4824
+ :files => post_files,
4825
+ :auth_names => auth_names)
4826
+ return data, status_code, headers
4827
+ end
4750
4828
  # Remove a portion.
4751
4829
  # @param name Document name.
4752
4830
  # @param slide_index Slide index.
@@ -8185,8 +8263,8 @@ module AsposeSlidesCloud
8185
8263
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_presentation"
8186
8264
  end
8187
8265
  # verify enum value
8188
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4'].any?{ |s| s.casecmp(format)==0 }
8189
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4"
8266
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md'].any?{ |s| s.casecmp(format)==0 }
8267
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md"
8190
8268
  end
8191
8269
  # resource path
8192
8270
  local_var_path = '/slides/{name}/{format}'
@@ -8527,8 +8605,8 @@ module AsposeSlidesCloud
8527
8605
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_slide"
8528
8606
  end
8529
8607
  # verify enum value
8530
- if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5'].any?{ |s| s.casecmp(format)==0 }
8531
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5"
8608
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md'].any?{ |s| s.casecmp(format)==0 }
8609
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5, Md"
8532
8610
  end
8533
8611
  # resource path
8534
8612
  local_var_path = '/slides/{name}/slides/{slideIndex}/{format}'
@@ -8611,8 +8689,8 @@ module AsposeSlidesCloud
8611
8689
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_slide_online"
8612
8690
  end
8613
8691
  # verify enum value
8614
- if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5'].any?{ |s| s.casecmp(format)==0 }
8615
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5"
8692
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md'].any?{ |s| s.casecmp(format)==0 }
8693
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5, Md"
8616
8694
  end
8617
8695
  # resource path
8618
8696
  local_var_path = '/slides/slides/{slideIndex}/{format}'
@@ -9052,6 +9130,63 @@ module AsposeSlidesCloud
9052
9130
  :return_type => 'ColorScheme')
9053
9131
  return data, status_code, headers
9054
9132
  end
9133
+ # Lists comment authors.
9134
+ # @param name Document name.
9135
+ # @param password Document password.
9136
+ # @param folder Document folder.
9137
+ # @param storage Document storage.
9138
+ def get_comment_authors(name, password = nil, folder = nil, storage = nil)
9139
+ data, _status_code, _headers = get_comment_authors_with_http_info(name, password, folder, storage)
9140
+ data
9141
+ end
9142
+
9143
+ # Lists comment authors.
9144
+ # @param name Document name.
9145
+ # @param password Document password.
9146
+ # @param folder Document folder.
9147
+ # @param storage Document storage.
9148
+ def get_comment_authors_with_http_info(name, password = nil, folder = nil, storage = nil)
9149
+ if @api_client.config.debugging
9150
+ @api_client.config.logger.debug 'Calling API: SlidesApi.get_comment_authors ...'
9151
+ end
9152
+
9153
+ # verify the required parameter 'name' is set
9154
+ if @api_client.config.client_side_validation && name.nil?
9155
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.get_comment_authors"
9156
+ end
9157
+ # resource path
9158
+ local_var_path = '/slides/{name}/comments/authors'
9159
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
9160
+
9161
+ # query parameters
9162
+ query_params = {}
9163
+ query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
9164
+ query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
9165
+
9166
+ # header parameters
9167
+ header_params = {}
9168
+ # HTTP header 'Accept' (if needed)
9169
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
9170
+ # HTTP header 'Content-Type'
9171
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
9172
+ header_params[:'password'] = password unless password.nil?
9173
+
9174
+ # http body (model)
9175
+ post_body = nil
9176
+
9177
+ # form parameters
9178
+ post_files = []
9179
+
9180
+ auth_names = ['JWT']
9181
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
9182
+ :header_params => header_params,
9183
+ :query_params => query_params,
9184
+ :body => post_body,
9185
+ :files => post_files,
9186
+ :auth_names => auth_names,
9187
+ :return_type => 'CommentAuthors')
9188
+ return data, status_code, headers
9189
+ end
9055
9190
  # Get disc usage
9056
9191
  # @param storage_name Storage name
9057
9192
  def get_disc_usage(storage_name = nil)
@@ -15134,8 +15269,8 @@ module AsposeSlidesCloud
15134
15269
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_presentation"
15135
15270
  end
15136
15271
  # verify enum value
15137
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4'].any?{ |s| s.casecmp(format)==0 }
15138
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4"
15272
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md'].any?{ |s| s.casecmp(format)==0 }
15273
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md"
15139
15274
  end
15140
15275
  # verify the required parameter 'out_path' is set
15141
15276
  if @api_client.config.client_side_validation && out_path.nil?
@@ -15436,8 +15571,8 @@ module AsposeSlidesCloud
15436
15571
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_slide"
15437
15572
  end
15438
15573
  # verify enum value
15439
- if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5'].any?{ |s| s.casecmp(format)==0 }
15440
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5"
15574
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md'].any?{ |s| s.casecmp(format)==0 }
15575
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5, Md"
15441
15576
  end
15442
15577
  # verify the required parameter 'out_path' is set
15443
15578
  if @api_client.config.client_side_validation && out_path.nil?
@@ -15526,8 +15661,8 @@ module AsposeSlidesCloud
15526
15661
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_slide_online"
15527
15662
  end
15528
15663
  # verify enum value
15529
- if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5'].any?{ |s| s.casecmp(format)==0 }
15530
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5"
15664
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md'].any?{ |s| s.casecmp(format)==0 }
15665
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5, Md"
15531
15666
  end
15532
15667
  # verify the required parameter 'out_path' is set
15533
15668
  if @api_client.config.client_side_validation && out_path.nil?
@@ -17417,8 +17552,8 @@ module AsposeSlidesCloud
17417
17552
  if @api_client.config.client_side_validation && name.nil?
17418
17553
  fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.split"
17419
17554
  end
17420
- if @api_client.config.client_side_validation && format && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5'].any?{ |s| s.casecmp(format)==0 }
17421
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5"
17555
+ if @api_client.config.client_side_validation && format && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md'].any?{ |s| s.casecmp(format)==0 }
17556
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5, Md"
17422
17557
  end
17423
17558
  # resource path
17424
17559
  local_var_path = '/slides/{name}/split'
@@ -17503,8 +17638,8 @@ module AsposeSlidesCloud
17503
17638
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.split_and_save_online"
17504
17639
  end
17505
17640
  # verify enum value
17506
- if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5'].any?{ |s| s.casecmp(format)==0 }
17507
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5"
17641
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md'].any?{ |s| s.casecmp(format)==0 }
17642
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5, Md"
17508
17643
  end
17509
17644
  # resource path
17510
17645
  local_var_path = '/slides/split/{format}'
@@ -17588,8 +17723,8 @@ module AsposeSlidesCloud
17588
17723
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.split_online"
17589
17724
  end
17590
17725
  # verify enum value
17591
- if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5'].any?{ |s| s.casecmp(format)==0 }
17592
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5"
17726
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md'].any?{ |s| s.casecmp(format)==0 }
17727
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Html, Pdf, Xps, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Potx, Pot, Potm, Svg, Fodp, Xaml, Html5, Md"
17593
17728
  end
17594
17729
  # resource path
17595
17730
  local_var_path = '/slides/split/{format}'
@@ -155,8 +155,8 @@ module AsposeSlidesCloud
155
155
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_convert"
156
156
  end
157
157
  # verify enum value
158
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4'].any?{ |s| s.casecmp(format)==0 }
159
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4"
158
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md'].any?{ |s| s.casecmp(format)==0 }
159
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md"
160
160
  end
161
161
  # resource path
162
162
  local_var_path = '/slides/async/convert/{format}'
@@ -230,8 +230,8 @@ module AsposeSlidesCloud
230
230
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_convert_and_save"
231
231
  end
232
232
  # verify enum value
233
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4'].any?{ |s| s.casecmp(format)==0 }
234
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4"
233
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md'].any?{ |s| s.casecmp(format)==0 }
234
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md"
235
235
  end
236
236
  # verify the required parameter 'out_path' is set
237
237
  if @api_client.config.client_side_validation && out_path.nil?
@@ -310,8 +310,8 @@ module AsposeSlidesCloud
310
310
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_download_presentation"
311
311
  end
312
312
  # verify enum value
313
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4'].any?{ |s| s.casecmp(format)==0 }
314
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4"
313
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md'].any?{ |s| s.casecmp(format)==0 }
314
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md"
315
315
  end
316
316
  # resource path
317
317
  local_var_path = '/slides/async/{name}/{format}'
@@ -491,8 +491,8 @@ module AsposeSlidesCloud
491
491
  fail ArgumentError, "Missing the required parameter 'format' when calling SlidesAsyncApi.start_save_presentation"
492
492
  end
493
493
  # verify enum value
494
- if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4'].any?{ |s| s.casecmp(format)==0 }
495
- fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4"
494
+ if @api_client.config.client_side_validation && !['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md'].any?{ |s| s.casecmp(format)==0 }
495
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Pdf, Xps, Tiff, Pptx, Odp, Otp, Ppt, Pps, Ppsx, Pptm, Ppsm, Pot, Potx, Potm, Html, Html5, Swf, Svg, Jpeg, Png, Gif, Bmp, Fodp, Xaml, Mpeg4, Md"
496
496
  end
497
497
  # verify the required parameter 'out_path' is set
498
498
  if @api_client.config.client_side_validation && out_path.nil?
@@ -212,6 +212,7 @@ module AsposeSlidesCloud
212
212
  alternative_text == o.alternative_text &&
213
213
  alternative_text_title == o.alternative_text_title &&
214
214
  hidden == o.hidden &&
215
+ is_decorative == o.is_decorative &&
215
216
  x == o.x &&
216
217
  y == o.y &&
217
218
  z_order_position == o.z_order_position &&
@@ -247,7 +248,7 @@ module AsposeSlidesCloud
247
248
  # Calculates hash code according to all attributes.
248
249
  # @return [Fixnum] Hash code
249
250
  def hash
250
- [self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, shape_type, audio_cd_end_track, audio_cd_end_track_time, audio_cd_start_track, audio_cd_start_track_time, embedded, hide_at_showing, play_loop_mode, play_mode, volume, base64_data, play_across_slides, rewind_audio, picture_fill_format].hash
251
+ [self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, is_decorative, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, shape_type, audio_cd_end_track, audio_cd_end_track_time, audio_cd_start_track, audio_cd_start_track_time, embedded, hide_at_showing, play_loop_mode, play_mode, volume, base64_data, play_across_slides, rewind_audio, picture_fill_format].hash
251
252
  end
252
253
  end
253
254
  end
@@ -220,6 +220,7 @@ module AsposeSlidesCloud
220
220
  alternative_text == o.alternative_text &&
221
221
  alternative_text_title == o.alternative_text_title &&
222
222
  hidden == o.hidden &&
223
+ is_decorative == o.is_decorative &&
223
224
  x == o.x &&
224
225
  y == o.y &&
225
226
  z_order_position == o.z_order_position &&
@@ -255,7 +256,7 @@ module AsposeSlidesCloud
255
256
  # Calculates hash code according to all attributes.
256
257
  # @return [Fixnum] Hash code
257
258
  def hash
258
- [self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, chart_type, show_data_labels_over_maximum, series, categories, data_source_for_categories, title, back_wall, side_wall, floor, legend, axes, plot_area, has_rounded_corners, series_groups].hash
259
+ [self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, is_decorative, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, chart_type, show_data_labels_over_maximum, series, categories, data_source_for_categories, title, back_wall, side_wall, floor, legend, axes, plot_area, has_rounded_corners, series_groups].hash
259
260
  end
260
261
  end
261
262
  end
@@ -0,0 +1,101 @@
1
+ =begin
2
+ Copyright (c) 2019 Aspose Pty Ltd
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ of this software and associated documentation files (the "Software"), to deal
6
+ in the Software without restriction, including without limitation the rights
7
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is
9
+ furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all
12
+ copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
+ SOFTWARE.
21
+ =end
22
+
23
+ require 'date'
24
+
25
+ module AsposeSlidesCloud
26
+ # Represents a comment author
27
+ class CommentAuthor < BaseObject
28
+ # Name
29
+ attr_accessor :name
30
+
31
+ # Initials
32
+ attr_accessor :initials
33
+
34
+ # Attribute mapping from ruby-style variable name to JSON key.
35
+ def self.attribute_map
36
+ {
37
+ :'name' => :'Name',
38
+ :'initials' => :'Initials',
39
+ }
40
+ end
41
+
42
+ # Attribute type mapping.
43
+ def self.swagger_types
44
+ {
45
+ :'name' => :'String',
46
+ :'initials' => :'String',
47
+ }
48
+ end
49
+
50
+ # Initializes the object
51
+ # @param [Hash] attributes Model attributes in the form of hash
52
+ def initialize(attributes = {})
53
+ return unless attributes.is_a?(Hash)
54
+
55
+ # convert string to symbol for hash key
56
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
57
+
58
+ if attributes.has_key?(:'Name')
59
+ self.name = attributes[:'Name']
60
+ end
61
+
62
+ if attributes.has_key?(:'Initials')
63
+ self.initials = attributes[:'Initials']
64
+ end
65
+ end
66
+
67
+ # Show invalid properties with the reasons. Usually used together with valid?
68
+ # @return Array for valid properties with the reasons
69
+ def list_invalid_properties
70
+ invalid_properties = Array.new
71
+ invalid_properties
72
+ end
73
+
74
+ # Check to see if the all the properties in the model are valid
75
+ # @return true if the model is valid
76
+ def valid?
77
+ true
78
+ end
79
+
80
+ # Checks equality by comparing each attribute.
81
+ # @param [Object] Object to be compared
82
+ def ==(o)
83
+ return true if self.equal?(o)
84
+ self.class == o.class &&
85
+ name == o.name &&
86
+ initials == o.initials
87
+ end
88
+
89
+ # @see the `==` method
90
+ # @param [Object] Object to be compared
91
+ def eql?(o)
92
+ self == o
93
+ end
94
+
95
+ # Calculates hash code according to all attributes.
96
+ # @return [Fixnum] Hash code
97
+ def hash
98
+ [name, initials].hash
99
+ end
100
+ end
101
+ end