aspose_slides_cloud 20.7.0 → 20.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/TestData/ChartTest.pptx +0 -0
  3. data/lib/aspose_slides_cloud.rb +5 -3
  4. data/lib/aspose_slides_cloud/api/slides_api.rb +407 -0
  5. data/lib/aspose_slides_cloud/api/slides_api_requests.rb +165 -0
  6. data/lib/aspose_slides_cloud/api_client.rb +1 -2
  7. data/lib/aspose_slides_cloud/models/add_layout_slide.rb +11 -40
  8. data/lib/aspose_slides_cloud/models/add_master_slide.rb +11 -40
  9. data/lib/aspose_slides_cloud/models/add_shape.rb +11 -40
  10. data/lib/aspose_slides_cloud/models/add_slide.rb +11 -40
  11. data/lib/aspose_slides_cloud/models/api_info.rb +2 -2
  12. data/lib/aspose_slides_cloud/models/arrow_head_properties.rb +2 -2
  13. data/lib/aspose_slides_cloud/models/audio_frame.rb +12 -236
  14. data/lib/aspose_slides_cloud/models/axes.rb +2 -2
  15. data/lib/aspose_slides_cloud/models/axis.rb +2 -2
  16. data/lib/aspose_slides_cloud/models/base64_input_file.rb +11 -49
  17. data/lib/aspose_slides_cloud/models/blur_effect.rb +2 -2
  18. data/lib/aspose_slides_cloud/models/box_and_whisker_series.rb +11 -216
  19. data/lib/aspose_slides_cloud/models/bubble_chart_data_point.rb +10 -40
  20. data/lib/aspose_slides_cloud/models/bubble_series.rb +11 -205
  21. data/lib/aspose_slides_cloud/models/chart.rb +12 -210
  22. data/lib/aspose_slides_cloud/models/chart_category.rb +16 -4
  23. data/lib/aspose_slides_cloud/models/chart_title.rb +2 -2
  24. data/lib/aspose_slides_cloud/models/chart_wall.rb +2 -2
  25. data/lib/aspose_slides_cloud/models/color_scheme.rb +10 -32
  26. data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +2 -2
  27. data/lib/aspose_slides_cloud/models/connector.rb +11 -234
  28. data/lib/aspose_slides_cloud/models/custom_dash_pattern.rb +2 -2
  29. data/lib/aspose_slides_cloud/models/disc_usage.rb +2 -2
  30. data/lib/aspose_slides_cloud/models/document.rb +10 -32
  31. data/lib/aspose_slides_cloud/models/document_properties.rb +10 -32
  32. data/lib/aspose_slides_cloud/models/document_property.rb +10 -32
  33. data/lib/aspose_slides_cloud/models/document_replace_result.rb +10 -86
  34. data/lib/aspose_slides_cloud/models/effect.rb +2 -2
  35. data/lib/aspose_slides_cloud/models/effect_format.rb +2 -2
  36. data/lib/aspose_slides_cloud/models/entity_exists.rb +2 -2
  37. data/lib/aspose_slides_cloud/models/error.rb +2 -2
  38. data/lib/aspose_slides_cloud/models/error_details.rb +2 -2
  39. data/lib/aspose_slides_cloud/models/export_options.rb +13 -3
  40. data/lib/aspose_slides_cloud/models/file_version.rb +10 -67
  41. data/lib/aspose_slides_cloud/models/file_versions.rb +2 -2
  42. data/lib/aspose_slides_cloud/models/files_list.rb +2 -2
  43. data/lib/aspose_slides_cloud/models/files_upload_result.rb +2 -2
  44. data/lib/aspose_slides_cloud/models/fill_format.rb +2 -2
  45. data/lib/aspose_slides_cloud/models/fill_overlay_effect.rb +2 -2
  46. data/lib/aspose_slides_cloud/models/font_scheme.rb +10 -32
  47. data/lib/aspose_slides_cloud/models/font_set.rb +2 -2
  48. data/lib/aspose_slides_cloud/models/format_scheme.rb +10 -32
  49. data/lib/aspose_slides_cloud/models/geometry_shape.rb +10 -200
  50. data/lib/aspose_slides_cloud/models/glow_effect.rb +2 -2
  51. data/lib/aspose_slides_cloud/models/gradient_fill.rb +11 -40
  52. data/lib/aspose_slides_cloud/models/gradient_fill_stop.rb +2 -2
  53. data/lib/aspose_slides_cloud/models/graphical_object.rb +11 -209
  54. data/lib/aspose_slides_cloud/models/group_shape.rb +11 -209
  55. data/lib/aspose_slides_cloud/models/html_export_options.rb +13 -24
  56. data/lib/aspose_slides_cloud/models/i_shape_export_options.rb +2 -2
  57. data/lib/aspose_slides_cloud/models/image.rb +10 -32
  58. data/lib/aspose_slides_cloud/models/image_export_options.rb +13 -24
  59. data/lib/aspose_slides_cloud/models/images.rb +10 -32
  60. data/lib/aspose_slides_cloud/models/inner_shadow_effect.rb +2 -2
  61. data/lib/aspose_slides_cloud/models/input.rb +2 -2
  62. data/lib/aspose_slides_cloud/models/input_file.rb +2 -2
  63. data/lib/aspose_slides_cloud/models/interactive_sequence.rb +2 -2
  64. data/lib/aspose_slides_cloud/models/layout_slide.rb +10 -32
  65. data/lib/aspose_slides_cloud/models/layout_slides.rb +10 -32
  66. data/lib/aspose_slides_cloud/models/legend.rb +2 -2
  67. data/lib/aspose_slides_cloud/models/line_format.rb +2 -2
  68. data/lib/aspose_slides_cloud/models/master_slide.rb +10 -32
  69. data/lib/aspose_slides_cloud/models/master_slides.rb +10 -32
  70. data/lib/aspose_slides_cloud/models/merge.rb +11 -40
  71. data/lib/aspose_slides_cloud/models/merging_source.rb +2 -2
  72. data/lib/aspose_slides_cloud/models/no_fill.rb +9 -38
  73. data/lib/aspose_slides_cloud/models/normal_view_restored_properties.rb +2 -2
  74. data/lib/aspose_slides_cloud/models/notes_slide.rb +10 -32
  75. data/lib/aspose_slides_cloud/models/object_exist.rb +2 -2
  76. data/lib/aspose_slides_cloud/models/ole_object_frame.rb +12 -210
  77. data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +10 -12
  78. data/lib/aspose_slides_cloud/models/one_value_series.rb +11 -205
  79. data/lib/aspose_slides_cloud/models/ordered_merge_request.rb +2 -2
  80. data/lib/aspose_slides_cloud/models/outer_shadow_effect.rb +2 -2
  81. data/lib/aspose_slides_cloud/models/output_file.rb +2 -2
  82. data/lib/aspose_slides_cloud/models/paragraph.rb +10 -32
  83. data/lib/aspose_slides_cloud/models/paragraphs.rb +10 -32
  84. data/lib/aspose_slides_cloud/models/path_input_file.rb +11 -49
  85. data/lib/aspose_slides_cloud/models/path_output_file.rb +11 -40
  86. data/lib/aspose_slides_cloud/models/pattern_fill.rb +11 -40
  87. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +13 -24
  88. data/lib/aspose_slides_cloud/models/picture_fill.rb +11 -40
  89. data/lib/aspose_slides_cloud/models/picture_frame.rb +12 -236
  90. data/lib/aspose_slides_cloud/models/pipeline.rb +2 -2
  91. data/lib/aspose_slides_cloud/models/placeholder.rb +10 -32
  92. data/lib/aspose_slides_cloud/models/placeholders.rb +10 -32
  93. data/lib/aspose_slides_cloud/models/plot_area.rb +2 -2
  94. data/lib/aspose_slides_cloud/models/portion.rb +10 -32
  95. data/lib/aspose_slides_cloud/models/portions.rb +10 -32
  96. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +13 -24
  97. data/lib/aspose_slides_cloud/models/presentation_to_merge.rb +2 -2
  98. data/lib/aspose_slides_cloud/models/presentations_merge_request.rb +2 -2
  99. data/lib/aspose_slides_cloud/models/preset_shadow_effect.rb +2 -2
  100. data/lib/aspose_slides_cloud/models/reflection_effect.rb +2 -2
  101. data/lib/aspose_slides_cloud/models/remove_shape.rb +11 -40
  102. data/lib/aspose_slides_cloud/models/remove_slide.rb +11 -40
  103. data/lib/aspose_slides_cloud/models/reorder_slide.rb +11 -40
  104. data/lib/aspose_slides_cloud/models/replace_text.rb +11 -40
  105. data/lib/aspose_slides_cloud/models/request_input_file.rb +11 -49
  106. data/lib/aspose_slides_cloud/models/reset_slide.rb +11 -40
  107. data/lib/aspose_slides_cloud/models/resource_base.rb +2 -2
  108. data/lib/aspose_slides_cloud/models/resource_uri.rb +2 -2
  109. data/lib/aspose_slides_cloud/models/resource_uri_element.rb +2 -2
  110. data/lib/aspose_slides_cloud/models/response_output_file.rb +9 -38
  111. data/lib/aspose_slides_cloud/models/save.rb +11 -40
  112. data/lib/aspose_slides_cloud/models/save_shape.rb +11 -40
  113. data/lib/aspose_slides_cloud/models/save_slide.rb +11 -40
  114. data/lib/aspose_slides_cloud/models/scatter_chart_data_point.rb +10 -12
  115. data/lib/aspose_slides_cloud/models/scatter_series.rb +11 -205
  116. data/lib/aspose_slides_cloud/models/series.rb +2 -2
  117. data/lib/aspose_slides_cloud/models/series_marker.rb +2 -2
  118. data/lib/aspose_slides_cloud/models/shape.rb +11 -234
  119. data/lib/aspose_slides_cloud/models/shape_base.rb +10 -32
  120. data/lib/aspose_slides_cloud/models/shape_image_export_options.rb +2 -2
  121. data/lib/aspose_slides_cloud/models/shapes.rb +10 -32
  122. data/lib/aspose_slides_cloud/models/slide.rb +10 -32
  123. data/lib/aspose_slides_cloud/models/slide_animation.rb +10 -32
  124. data/lib/aspose_slides_cloud/models/slide_background.rb +10 -32
  125. data/lib/aspose_slides_cloud/models/slide_comment.rb +2 -2
  126. data/lib/aspose_slides_cloud/models/slide_comments.rb +10 -32
  127. data/lib/aspose_slides_cloud/models/slide_replace_result.rb +10 -146
  128. data/lib/aspose_slides_cloud/models/slides.rb +10 -32
  129. data/lib/aspose_slides_cloud/models/smart_art.rb +12 -210
  130. data/lib/aspose_slides_cloud/models/smart_art_node.rb +2 -2
  131. data/lib/aspose_slides_cloud/models/smart_art_shape.rb +11 -209
  132. data/lib/aspose_slides_cloud/models/soft_edge_effect.rb +2 -2
  133. data/lib/aspose_slides_cloud/models/solid_fill.rb +11 -40
  134. data/lib/aspose_slides_cloud/models/split_document_result.rb +10 -32
  135. data/lib/aspose_slides_cloud/models/storage_exist.rb +2 -2
  136. data/lib/aspose_slides_cloud/models/storage_file.rb +2 -2
  137. data/lib/aspose_slides_cloud/models/svg_export_options.rb +13 -24
  138. data/lib/aspose_slides_cloud/models/swf_export_options.rb +13 -24
  139. data/lib/aspose_slides_cloud/models/table.rb +12 -210
  140. data/lib/aspose_slides_cloud/models/table_cell.rb +2 -2
  141. data/lib/aspose_slides_cloud/models/table_column.rb +2 -2
  142. data/lib/aspose_slides_cloud/models/table_row.rb +2 -2
  143. data/lib/aspose_slides_cloud/models/task.rb +2 -2
  144. data/lib/aspose_slides_cloud/models/text_item.rb +2 -2
  145. data/lib/aspose_slides_cloud/models/text_items.rb +10 -32
  146. data/lib/aspose_slides_cloud/models/theme.rb +10 -32
  147. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +13 -24
  148. data/lib/aspose_slides_cloud/models/update_background.rb +11 -40
  149. data/lib/aspose_slides_cloud/models/update_shape.rb +11 -40
  150. data/lib/aspose_slides_cloud/models/video_frame.rb +12 -236
  151. data/lib/aspose_slides_cloud/models/view_properties.rb +10 -32
  152. data/lib/aspose_slides_cloud/models/waterfall_series.rb +11 -216
  153. data/lib/aspose_slides_cloud/models/xps_export_options.rb +13 -24
  154. data/lib/aspose_slides_cloud/type_registry.rb +313 -0
  155. data/lib/aspose_slides_cloud/version.rb +1 -1
  156. data/spec/api/slides_api_spec.rb +1417 -63
  157. data/spec/extra/extra_spec.rb +66 -33
  158. data/testRules.json +31 -0
  159. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79d560ba41b3812c3c659161e1975cbd6741595ab182f9494fc5369c5627567f
4
- data.tar.gz: a272fbd9060770c5faa9495b3d215f4c16512845ace3b1bac00e348c7bd7ec21
3
+ metadata.gz: 0a0dcb17603d557d70a9dfb7594634ca81f101695a3f788543072d2a365f768a
4
+ data.tar.gz: 6c64a03a6bcd99e5e1e7ef4f0a219828d6534b9b1f1d7f9de5db9748bcb5cadc
5
5
  SHA512:
6
- metadata.gz: 7e8e9a38e5034a9983d9932884eff98d9589121cd1978ba67f7be7b305dea6194a5740c0d0efff5b8820de5fa5e39c6fe42be57e4348b0dbced0c2cda04f0ea7
7
- data.tar.gz: 83fe4a06a206a564e44cae406f5130ecb737294dc7d8f6210a2d9e2903af480467668a3f11afa6cdbe1b322026fc7b066dcc5e67f29d86998b5e0fe2e69c771d
6
+ metadata.gz: f4ad8bc3ce8e4c047af0f84daceefc8c145c137b439ec9fd0c2f7881f07b999b57bdacb9e68bfddc2bf8e841b3a07ec6beeb23938b28d504dad75816b16a2090
7
+ data.tar.gz: 1dfb5ff7117170aa315557114caac0e483271c07f5915c148a9ebfbe1305f5d75236e15ba31f698a832e68caf552aae9bdb1372f7822ece49fcf96e05195a7c6
Binary file
@@ -38,6 +38,7 @@ require 'aspose_slides_cloud/models/chart_title'
38
38
  require 'aspose_slides_cloud/models/chart_wall'
39
39
  require 'aspose_slides_cloud/models/common_slide_view_properties'
40
40
  require 'aspose_slides_cloud/models/custom_dash_pattern'
41
+ require 'aspose_slides_cloud/models/data_point'
41
42
  require 'aspose_slides_cloud/models/disc_usage'
42
43
  require 'aspose_slides_cloud/models/effect'
43
44
  require 'aspose_slides_cloud/models/effect_format'
@@ -66,7 +67,6 @@ require 'aspose_slides_cloud/models/merging_source'
66
67
  require 'aspose_slides_cloud/models/normal_view_restored_properties'
67
68
  require 'aspose_slides_cloud/models/notes_slide_export_format'
68
69
  require 'aspose_slides_cloud/models/object_exist'
69
- require 'aspose_slides_cloud/models/one_value_chart_data_point'
70
70
  require 'aspose_slides_cloud/models/ordered_merge_request'
71
71
  require 'aspose_slides_cloud/models/outer_shadow_effect'
72
72
  require 'aspose_slides_cloud/models/output_file'
@@ -80,7 +80,6 @@ require 'aspose_slides_cloud/models/resource_base'
80
80
  require 'aspose_slides_cloud/models/resource_uri'
81
81
  require 'aspose_slides_cloud/models/resource_uri_element'
82
82
  require 'aspose_slides_cloud/models/scale_type'
83
- require 'aspose_slides_cloud/models/scatter_chart_data_point'
84
83
  require 'aspose_slides_cloud/models/series'
85
84
  require 'aspose_slides_cloud/models/series_marker'
86
85
  require 'aspose_slides_cloud/models/shape_export_format'
@@ -103,7 +102,6 @@ require 'aspose_slides_cloud/models/add_master_slide'
103
102
  require 'aspose_slides_cloud/models/add_shape'
104
103
  require 'aspose_slides_cloud/models/add_slide'
105
104
  require 'aspose_slides_cloud/models/base64_input_file'
106
- require 'aspose_slides_cloud/models/bubble_chart_data_point'
107
105
  require 'aspose_slides_cloud/models/bubble_series'
108
106
  require 'aspose_slides_cloud/models/color_scheme'
109
107
  require 'aspose_slides_cloud/models/document'
@@ -124,6 +122,7 @@ require 'aspose_slides_cloud/models/master_slides'
124
122
  require 'aspose_slides_cloud/models/merge'
125
123
  require 'aspose_slides_cloud/models/no_fill'
126
124
  require 'aspose_slides_cloud/models/notes_slide'
125
+ require 'aspose_slides_cloud/models/one_value_chart_data_point'
127
126
  require 'aspose_slides_cloud/models/one_value_series'
128
127
  require 'aspose_slides_cloud/models/paragraph'
129
128
  require 'aspose_slides_cloud/models/paragraphs'
@@ -147,6 +146,7 @@ require 'aspose_slides_cloud/models/response_output_file'
147
146
  require 'aspose_slides_cloud/models/save'
148
147
  require 'aspose_slides_cloud/models/save_shape'
149
148
  require 'aspose_slides_cloud/models/save_slide'
149
+ require 'aspose_slides_cloud/models/scatter_chart_data_point'
150
150
  require 'aspose_slides_cloud/models/scatter_series'
151
151
  require 'aspose_slides_cloud/models/shape_base'
152
152
  require 'aspose_slides_cloud/models/shapes'
@@ -167,6 +167,7 @@ require 'aspose_slides_cloud/models/update_shape'
167
167
  require 'aspose_slides_cloud/models/view_properties'
168
168
  require 'aspose_slides_cloud/models/xps_export_options'
169
169
  require 'aspose_slides_cloud/models/box_and_whisker_series'
170
+ require 'aspose_slides_cloud/models/bubble_chart_data_point'
170
171
  require 'aspose_slides_cloud/models/chart'
171
172
  require 'aspose_slides_cloud/models/document_replace_result'
172
173
  require 'aspose_slides_cloud/models/geometry_shape'
@@ -177,6 +178,7 @@ require 'aspose_slides_cloud/models/slide_replace_result'
177
178
  require 'aspose_slides_cloud/models/smart_art'
178
179
  require 'aspose_slides_cloud/models/smart_art_shape'
179
180
  require 'aspose_slides_cloud/models/table'
181
+ require 'aspose_slides_cloud/models/waterfall_chart_data_point'
180
182
  require 'aspose_slides_cloud/models/waterfall_series'
181
183
  require 'aspose_slides_cloud/models/audio_frame'
182
184
  require 'aspose_slides_cloud/models/connector'
@@ -186,6 +186,145 @@ module AsposeSlidesCloud
186
186
  :auth_names => auth_names)
187
187
  return data, status_code, headers
188
188
  end
189
+ # Delete a category from a chart.
190
+ # @param request operation request
191
+ def delete_chart_category(request)
192
+ data, _status_code, _headers = delete_chart_category_with_http_info(request)
193
+ data
194
+ end
195
+
196
+ # Delete a category from a chart.
197
+ # @param request operation request
198
+ def delete_chart_category_with_http_info(request)
199
+ if @api_client.config.debugging
200
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_chart_category ...'
201
+ end
202
+ # verify the required parameter 'name' is set
203
+ if @api_client.config.client_side_validation && request.name.nil?
204
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_chart_category"
205
+ end
206
+ # verify the required parameter 'slide_index' is set
207
+ if @api_client.config.client_side_validation && request.slide_index.nil?
208
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_chart_category"
209
+ end
210
+ # verify the required parameter 'shape_index' is set
211
+ if @api_client.config.client_side_validation && request.shape_index.nil?
212
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_chart_category"
213
+ end
214
+ # verify the required parameter 'category_index' is set
215
+ if @api_client.config.client_side_validation && request.category_index.nil?
216
+ fail ArgumentError, "Missing the required parameter 'category_index' when calling SlidesApi.delete_chart_category"
217
+ end
218
+ # resource path
219
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/categories/{categoryIndex}'
220
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
221
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
222
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
223
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'categoryIndex', request.category_index)
224
+
225
+ # query parameters
226
+ query_params = {}
227
+ query_params[:'password'] = request.password unless request.password.nil?
228
+ query_params[:'folder'] = request.folder unless request.folder.nil?
229
+ query_params[:'storage'] = request.storage unless request.storage.nil?
230
+
231
+ # header parameters
232
+ header_params = {}
233
+ # HTTP header 'Accept' (if needed)
234
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
235
+ # HTTP header 'Content-Type'
236
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
237
+
238
+ # http body (model)
239
+ post_body = nil
240
+
241
+ # form parameters
242
+
243
+ post_files = nil
244
+
245
+
246
+ auth_names = ['JWT']
247
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
248
+ :header_params => header_params,
249
+ :query_params => query_params,
250
+ :body => post_body,
251
+ :files => post_files,
252
+ :auth_names => auth_names,
253
+ :return_type => 'Chart')
254
+ return data, status_code, headers
255
+ end
256
+ # Delete a data point from a chart series.
257
+ # @param request operation request
258
+ def delete_chart_data_point(request)
259
+ data, _status_code, _headers = delete_chart_data_point_with_http_info(request)
260
+ data
261
+ end
262
+
263
+ # Delete a data point from a chart series.
264
+ # @param request operation request
265
+ def delete_chart_data_point_with_http_info(request)
266
+ if @api_client.config.debugging
267
+ @api_client.config.logger.debug 'Calling API: SlidesApi.delete_chart_data_point ...'
268
+ end
269
+ # verify the required parameter 'name' is set
270
+ if @api_client.config.client_side_validation && request.name.nil?
271
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_chart_data_point"
272
+ end
273
+ # verify the required parameter 'slide_index' is set
274
+ if @api_client.config.client_side_validation && request.slide_index.nil?
275
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.delete_chart_data_point"
276
+ end
277
+ # verify the required parameter 'shape_index' is set
278
+ if @api_client.config.client_side_validation && request.shape_index.nil?
279
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_chart_data_point"
280
+ end
281
+ # verify the required parameter 'series_index' is set
282
+ if @api_client.config.client_side_validation && request.series_index.nil?
283
+ fail ArgumentError, "Missing the required parameter 'series_index' when calling SlidesApi.delete_chart_data_point"
284
+ end
285
+ # verify the required parameter 'point_index' is set
286
+ if @api_client.config.client_side_validation && request.point_index.nil?
287
+ fail ArgumentError, "Missing the required parameter 'point_index' when calling SlidesApi.delete_chart_data_point"
288
+ end
289
+ # resource path
290
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/series/{seriesIndex}/dataPoints/{pointIndex}'
291
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
292
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
293
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
294
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'seriesIndex', request.series_index)
295
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'pointIndex', request.point_index)
296
+
297
+ # query parameters
298
+ query_params = {}
299
+ query_params[:'password'] = request.password unless request.password.nil?
300
+ query_params[:'folder'] = request.folder unless request.folder.nil?
301
+ query_params[:'storage'] = request.storage unless request.storage.nil?
302
+
303
+ # header parameters
304
+ header_params = {}
305
+ # HTTP header 'Accept' (if needed)
306
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
307
+ # HTTP header 'Content-Type'
308
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
309
+
310
+ # http body (model)
311
+ post_body = nil
312
+
313
+ # form parameters
314
+
315
+ post_files = nil
316
+
317
+
318
+ auth_names = ['JWT']
319
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
320
+ :header_params => header_params,
321
+ :query_params => query_params,
322
+ :body => post_body,
323
+ :files => post_files,
324
+ :auth_names => auth_names,
325
+ :return_type => 'Chart')
326
+ return data, status_code, headers
327
+ end
189
328
  # Delete a series from a chart.
190
329
  # @param request operation request
191
330
  def delete_chart_series(request)
@@ -5792,6 +5931,135 @@ module AsposeSlidesCloud
5792
5931
  :return_type => 'NotesSlide')
5793
5932
  return data, status_code, headers
5794
5933
  end
5934
+ # Add a new category to a chart.
5935
+ # @param request operation request
5936
+ def post_chart_category(request)
5937
+ data, _status_code, _headers = post_chart_category_with_http_info(request)
5938
+ data
5939
+ end
5940
+
5941
+ # Add a new category to a chart.
5942
+ # @param request operation request
5943
+ def post_chart_category_with_http_info(request)
5944
+ if @api_client.config.debugging
5945
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_chart_category ...'
5946
+ end
5947
+ # verify the required parameter 'name' is set
5948
+ if @api_client.config.client_side_validation && request.name.nil?
5949
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_chart_category"
5950
+ end
5951
+ # verify the required parameter 'slide_index' is set
5952
+ if @api_client.config.client_side_validation && request.slide_index.nil?
5953
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_chart_category"
5954
+ end
5955
+ # verify the required parameter 'shape_index' is set
5956
+ if @api_client.config.client_side_validation && request.shape_index.nil?
5957
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_chart_category"
5958
+ end
5959
+ # resource path
5960
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/categories'
5961
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
5962
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
5963
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
5964
+
5965
+ # query parameters
5966
+ query_params = {}
5967
+ query_params[:'password'] = request.password unless request.password.nil?
5968
+ query_params[:'folder'] = request.folder unless request.folder.nil?
5969
+ query_params[:'storage'] = request.storage unless request.storage.nil?
5970
+
5971
+ # header parameters
5972
+ header_params = {}
5973
+ # HTTP header 'Accept' (if needed)
5974
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5975
+ # HTTP header 'Content-Type'
5976
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
5977
+
5978
+ # http body (model)
5979
+ post_body = @api_client.object_to_http_body(request.category)
5980
+
5981
+ # form parameters
5982
+
5983
+ post_files = nil
5984
+
5985
+
5986
+ auth_names = ['JWT']
5987
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
5988
+ :header_params => header_params,
5989
+ :query_params => query_params,
5990
+ :body => post_body,
5991
+ :files => post_files,
5992
+ :auth_names => auth_names,
5993
+ :return_type => 'Chart')
5994
+ return data, status_code, headers
5995
+ end
5996
+ # Add a new data point to a chart series.
5997
+ # @param request operation request
5998
+ def post_chart_data_point(request)
5999
+ data, _status_code, _headers = post_chart_data_point_with_http_info(request)
6000
+ data
6001
+ end
6002
+
6003
+ # Add a new data point to a chart series.
6004
+ # @param request operation request
6005
+ def post_chart_data_point_with_http_info(request)
6006
+ if @api_client.config.debugging
6007
+ @api_client.config.logger.debug 'Calling API: SlidesApi.post_chart_data_point ...'
6008
+ end
6009
+ # verify the required parameter 'name' is set
6010
+ if @api_client.config.client_side_validation && request.name.nil?
6011
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_chart_data_point"
6012
+ end
6013
+ # verify the required parameter 'slide_index' is set
6014
+ if @api_client.config.client_side_validation && request.slide_index.nil?
6015
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_chart_data_point"
6016
+ end
6017
+ # verify the required parameter 'shape_index' is set
6018
+ if @api_client.config.client_side_validation && request.shape_index.nil?
6019
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_chart_data_point"
6020
+ end
6021
+ # verify the required parameter 'series_index' is set
6022
+ if @api_client.config.client_side_validation && request.series_index.nil?
6023
+ fail ArgumentError, "Missing the required parameter 'series_index' when calling SlidesApi.post_chart_data_point"
6024
+ end
6025
+ # resource path
6026
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/series/{seriesIndex}/dataPoints'
6027
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
6028
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
6029
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
6030
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'seriesIndex', request.series_index)
6031
+
6032
+ # query parameters
6033
+ query_params = {}
6034
+ query_params[:'password'] = request.password unless request.password.nil?
6035
+ query_params[:'folder'] = request.folder unless request.folder.nil?
6036
+ query_params[:'storage'] = request.storage unless request.storage.nil?
6037
+
6038
+ # header parameters
6039
+ header_params = {}
6040
+ # HTTP header 'Accept' (if needed)
6041
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6042
+ # HTTP header 'Content-Type'
6043
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
6044
+
6045
+ # http body (model)
6046
+ post_body = @api_client.object_to_http_body(request.data_point)
6047
+
6048
+ # form parameters
6049
+
6050
+ post_files = nil
6051
+
6052
+
6053
+ auth_names = ['JWT']
6054
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
6055
+ :header_params => header_params,
6056
+ :query_params => query_params,
6057
+ :body => post_body,
6058
+ :files => post_files,
6059
+ :auth_names => auth_names,
6060
+ :return_type => 'Chart')
6061
+ return data, status_code, headers
6062
+ end
5795
6063
  # Add a new series to a chart.
5796
6064
  # @param request operation request
5797
6065
  def post_chart_series(request)
@@ -7725,6 +7993,145 @@ module AsposeSlidesCloud
7725
7993
  :return_type => 'File')
7726
7994
  return data, status_code, headers
7727
7995
  end
7996
+ # Update a chart category.
7997
+ # @param request operation request
7998
+ def put_chart_category(request)
7999
+ data, _status_code, _headers = put_chart_category_with_http_info(request)
8000
+ data
8001
+ end
8002
+
8003
+ # Update a chart category.
8004
+ # @param request operation request
8005
+ def put_chart_category_with_http_info(request)
8006
+ if @api_client.config.debugging
8007
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_chart_category ...'
8008
+ end
8009
+ # verify the required parameter 'name' is set
8010
+ if @api_client.config.client_side_validation && request.name.nil?
8011
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_chart_category"
8012
+ end
8013
+ # verify the required parameter 'slide_index' is set
8014
+ if @api_client.config.client_side_validation && request.slide_index.nil?
8015
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_chart_category"
8016
+ end
8017
+ # verify the required parameter 'shape_index' is set
8018
+ if @api_client.config.client_side_validation && request.shape_index.nil?
8019
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_chart_category"
8020
+ end
8021
+ # verify the required parameter 'category_index' is set
8022
+ if @api_client.config.client_side_validation && request.category_index.nil?
8023
+ fail ArgumentError, "Missing the required parameter 'category_index' when calling SlidesApi.put_chart_category"
8024
+ end
8025
+ # resource path
8026
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/categories/{categoryIndex}'
8027
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
8028
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
8029
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
8030
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'categoryIndex', request.category_index)
8031
+
8032
+ # query parameters
8033
+ query_params = {}
8034
+ query_params[:'password'] = request.password unless request.password.nil?
8035
+ query_params[:'folder'] = request.folder unless request.folder.nil?
8036
+ query_params[:'storage'] = request.storage unless request.storage.nil?
8037
+
8038
+ # header parameters
8039
+ header_params = {}
8040
+ # HTTP header 'Accept' (if needed)
8041
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8042
+ # HTTP header 'Content-Type'
8043
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
8044
+
8045
+ # http body (model)
8046
+ post_body = @api_client.object_to_http_body(request.category)
8047
+
8048
+ # form parameters
8049
+
8050
+ post_files = nil
8051
+
8052
+
8053
+ auth_names = ['JWT']
8054
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
8055
+ :header_params => header_params,
8056
+ :query_params => query_params,
8057
+ :body => post_body,
8058
+ :files => post_files,
8059
+ :auth_names => auth_names,
8060
+ :return_type => 'Chart')
8061
+ return data, status_code, headers
8062
+ end
8063
+ # Update a data point in a chart series.
8064
+ # @param request operation request
8065
+ def put_chart_data_point(request)
8066
+ data, _status_code, _headers = put_chart_data_point_with_http_info(request)
8067
+ data
8068
+ end
8069
+
8070
+ # Update a data point in a chart series.
8071
+ # @param request operation request
8072
+ def put_chart_data_point_with_http_info(request)
8073
+ if @api_client.config.debugging
8074
+ @api_client.config.logger.debug 'Calling API: SlidesApi.put_chart_data_point ...'
8075
+ end
8076
+ # verify the required parameter 'name' is set
8077
+ if @api_client.config.client_side_validation && request.name.nil?
8078
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_chart_data_point"
8079
+ end
8080
+ # verify the required parameter 'slide_index' is set
8081
+ if @api_client.config.client_side_validation && request.slide_index.nil?
8082
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_chart_data_point"
8083
+ end
8084
+ # verify the required parameter 'shape_index' is set
8085
+ if @api_client.config.client_side_validation && request.shape_index.nil?
8086
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_chart_data_point"
8087
+ end
8088
+ # verify the required parameter 'series_index' is set
8089
+ if @api_client.config.client_side_validation && request.series_index.nil?
8090
+ fail ArgumentError, "Missing the required parameter 'series_index' when calling SlidesApi.put_chart_data_point"
8091
+ end
8092
+ # verify the required parameter 'point_index' is set
8093
+ if @api_client.config.client_side_validation && request.point_index.nil?
8094
+ fail ArgumentError, "Missing the required parameter 'point_index' when calling SlidesApi.put_chart_data_point"
8095
+ end
8096
+ # resource path
8097
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/series/{seriesIndex}/dataPoints/{pointIndex}'
8098
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
8099
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
8100
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
8101
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'seriesIndex', request.series_index)
8102
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'pointIndex', request.point_index)
8103
+
8104
+ # query parameters
8105
+ query_params = {}
8106
+ query_params[:'password'] = request.password unless request.password.nil?
8107
+ query_params[:'folder'] = request.folder unless request.folder.nil?
8108
+ query_params[:'storage'] = request.storage unless request.storage.nil?
8109
+
8110
+ # header parameters
8111
+ header_params = {}
8112
+ # HTTP header 'Accept' (if needed)
8113
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8114
+ # HTTP header 'Content-Type'
8115
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
8116
+
8117
+ # http body (model)
8118
+ post_body = @api_client.object_to_http_body(request.data_point)
8119
+
8120
+ # form parameters
8121
+
8122
+ post_files = nil
8123
+
8124
+
8125
+ auth_names = ['JWT']
8126
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
8127
+ :header_params => header_params,
8128
+ :query_params => query_params,
8129
+ :body => post_body,
8130
+ :files => post_files,
8131
+ :auth_names => auth_names,
8132
+ :return_type => 'Chart')
8133
+ return data, status_code, headers
8134
+ end
7728
8135
  # Update a series in a chart.
7729
8136
  # @param request operation request
7730
8137
  def put_chart_series(request)