aspose_slides_cloud 20.6.0 → 20.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aspose_slides_cloud.rb +1 -0
- data/lib/aspose_slides_cloud/api/slides_api.rb +196 -4
- data/lib/aspose_slides_cloud/api/slides_api_requests.rb +78 -0
- data/lib/aspose_slides_cloud/api_client.rb +6 -3
- data/lib/aspose_slides_cloud/models/add_layout_slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/add_master_slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/add_shape.rb +20 -8
- data/lib/aspose_slides_cloud/models/add_slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/api_info.rb +20 -8
- data/lib/aspose_slides_cloud/models/arrow_head_properties.rb +20 -8
- data/lib/aspose_slides_cloud/models/audio_frame.rb +20 -8
- data/lib/aspose_slides_cloud/models/axes.rb +20 -8
- data/lib/aspose_slides_cloud/models/axis.rb +20 -8
- data/lib/aspose_slides_cloud/models/base64_input_file.rb +20 -8
- data/lib/aspose_slides_cloud/models/blur_effect.rb +20 -8
- data/lib/aspose_slides_cloud/models/box_and_whisker_series.rb +22 -8
- data/lib/aspose_slides_cloud/models/bubble_chart_data_point.rb +20 -8
- data/lib/aspose_slides_cloud/models/bubble_series.rb +22 -8
- data/lib/aspose_slides_cloud/models/chart.rb +20 -8
- data/lib/aspose_slides_cloud/models/chart_category.rb +20 -8
- data/lib/aspose_slides_cloud/models/chart_title.rb +20 -8
- data/lib/aspose_slides_cloud/models/chart_wall.rb +20 -8
- data/lib/aspose_slides_cloud/models/color_scheme.rb +20 -8
- data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +20 -8
- data/lib/aspose_slides_cloud/models/connector.rb +20 -8
- data/lib/aspose_slides_cloud/models/custom_dash_pattern.rb +20 -8
- data/lib/aspose_slides_cloud/models/disc_usage.rb +20 -8
- data/lib/aspose_slides_cloud/models/document.rb +20 -8
- data/lib/aspose_slides_cloud/models/document_properties.rb +20 -8
- data/lib/aspose_slides_cloud/models/document_property.rb +20 -8
- data/lib/aspose_slides_cloud/models/document_replace_result.rb +20 -8
- data/lib/aspose_slides_cloud/models/effect.rb +20 -8
- data/lib/aspose_slides_cloud/models/effect_format.rb +20 -8
- data/lib/aspose_slides_cloud/models/entity_exists.rb +212 -0
- data/lib/aspose_slides_cloud/models/error.rb +20 -8
- data/lib/aspose_slides_cloud/models/error_details.rb +20 -8
- data/lib/aspose_slides_cloud/models/export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/file_version.rb +20 -8
- data/lib/aspose_slides_cloud/models/file_versions.rb +20 -8
- data/lib/aspose_slides_cloud/models/files_list.rb +20 -8
- data/lib/aspose_slides_cloud/models/files_upload_result.rb +20 -8
- data/lib/aspose_slides_cloud/models/fill_format.rb +20 -8
- data/lib/aspose_slides_cloud/models/fill_overlay_effect.rb +20 -8
- data/lib/aspose_slides_cloud/models/font_scheme.rb +20 -8
- data/lib/aspose_slides_cloud/models/font_set.rb +20 -8
- data/lib/aspose_slides_cloud/models/format_scheme.rb +20 -8
- data/lib/aspose_slides_cloud/models/geometry_shape.rb +20 -8
- data/lib/aspose_slides_cloud/models/glow_effect.rb +20 -8
- data/lib/aspose_slides_cloud/models/gradient_fill.rb +20 -8
- data/lib/aspose_slides_cloud/models/gradient_fill_stop.rb +20 -8
- data/lib/aspose_slides_cloud/models/graphical_object.rb +20 -8
- data/lib/aspose_slides_cloud/models/group_shape.rb +20 -8
- data/lib/aspose_slides_cloud/models/html_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/i_shape_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/image.rb +20 -8
- data/lib/aspose_slides_cloud/models/image_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/images.rb +20 -8
- data/lib/aspose_slides_cloud/models/inner_shadow_effect.rb +20 -8
- data/lib/aspose_slides_cloud/models/input.rb +20 -8
- data/lib/aspose_slides_cloud/models/input_file.rb +20 -8
- data/lib/aspose_slides_cloud/models/interactive_sequence.rb +20 -8
- data/lib/aspose_slides_cloud/models/layout_slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/layout_slides.rb +20 -8
- data/lib/aspose_slides_cloud/models/legend.rb +20 -8
- data/lib/aspose_slides_cloud/models/line_format.rb +20 -8
- data/lib/aspose_slides_cloud/models/master_slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/master_slides.rb +20 -8
- data/lib/aspose_slides_cloud/models/merge.rb +20 -8
- data/lib/aspose_slides_cloud/models/merging_source.rb +20 -8
- data/lib/aspose_slides_cloud/models/no_fill.rb +20 -8
- data/lib/aspose_slides_cloud/models/normal_view_restored_properties.rb +20 -8
- data/lib/aspose_slides_cloud/models/notes_slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/object_exist.rb +20 -8
- data/lib/aspose_slides_cloud/models/ole_object_frame.rb +20 -8
- data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +20 -8
- data/lib/aspose_slides_cloud/models/one_value_series.rb +22 -8
- data/lib/aspose_slides_cloud/models/ordered_merge_request.rb +20 -8
- data/lib/aspose_slides_cloud/models/outer_shadow_effect.rb +20 -8
- data/lib/aspose_slides_cloud/models/output_file.rb +20 -8
- data/lib/aspose_slides_cloud/models/paragraph.rb +21 -9
- data/lib/aspose_slides_cloud/models/paragraphs.rb +20 -8
- data/lib/aspose_slides_cloud/models/path_input_file.rb +20 -8
- data/lib/aspose_slides_cloud/models/path_output_file.rb +20 -8
- data/lib/aspose_slides_cloud/models/pattern_fill.rb +20 -8
- data/lib/aspose_slides_cloud/models/pdf_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/picture_fill.rb +20 -8
- data/lib/aspose_slides_cloud/models/picture_frame.rb +20 -8
- data/lib/aspose_slides_cloud/models/pipeline.rb +20 -8
- data/lib/aspose_slides_cloud/models/placeholder.rb +20 -8
- data/lib/aspose_slides_cloud/models/placeholders.rb +20 -8
- data/lib/aspose_slides_cloud/models/plot_area.rb +20 -8
- data/lib/aspose_slides_cloud/models/portion.rb +20 -8
- data/lib/aspose_slides_cloud/models/portions.rb +28 -16
- data/lib/aspose_slides_cloud/models/pptx_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/presentation_to_merge.rb +20 -8
- data/lib/aspose_slides_cloud/models/presentations_merge_request.rb +20 -8
- data/lib/aspose_slides_cloud/models/preset_shadow_effect.rb +20 -8
- data/lib/aspose_slides_cloud/models/reflection_effect.rb +20 -8
- data/lib/aspose_slides_cloud/models/remove_shape.rb +20 -8
- data/lib/aspose_slides_cloud/models/remove_slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/reorder_slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/replace_text.rb +20 -8
- data/lib/aspose_slides_cloud/models/request_input_file.rb +20 -8
- data/lib/aspose_slides_cloud/models/reset_slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/resource_base.rb +20 -8
- data/lib/aspose_slides_cloud/models/resource_uri.rb +20 -8
- data/lib/aspose_slides_cloud/models/resource_uri_element.rb +20 -8
- data/lib/aspose_slides_cloud/models/response_output_file.rb +20 -8
- data/lib/aspose_slides_cloud/models/save.rb +20 -8
- data/lib/aspose_slides_cloud/models/save_shape.rb +20 -8
- data/lib/aspose_slides_cloud/models/save_slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/scatter_chart_data_point.rb +20 -8
- data/lib/aspose_slides_cloud/models/scatter_series.rb +22 -8
- data/lib/aspose_slides_cloud/models/series.rb +45 -12
- data/lib/aspose_slides_cloud/models/series_marker.rb +20 -8
- data/lib/aspose_slides_cloud/models/shape.rb +20 -8
- data/lib/aspose_slides_cloud/models/shape_base.rb +20 -8
- data/lib/aspose_slides_cloud/models/shape_image_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/shapes.rb +20 -8
- data/lib/aspose_slides_cloud/models/slide.rb +20 -8
- data/lib/aspose_slides_cloud/models/slide_animation.rb +20 -8
- data/lib/aspose_slides_cloud/models/slide_background.rb +20 -8
- data/lib/aspose_slides_cloud/models/slide_comment.rb +20 -8
- data/lib/aspose_slides_cloud/models/slide_comments.rb +20 -8
- data/lib/aspose_slides_cloud/models/slide_replace_result.rb +20 -8
- data/lib/aspose_slides_cloud/models/slides.rb +20 -8
- data/lib/aspose_slides_cloud/models/smart_art.rb +20 -8
- data/lib/aspose_slides_cloud/models/smart_art_node.rb +20 -8
- data/lib/aspose_slides_cloud/models/smart_art_shape.rb +20 -8
- data/lib/aspose_slides_cloud/models/soft_edge_effect.rb +20 -8
- data/lib/aspose_slides_cloud/models/solid_fill.rb +20 -8
- data/lib/aspose_slides_cloud/models/split_document_result.rb +20 -8
- data/lib/aspose_slides_cloud/models/storage_exist.rb +20 -8
- data/lib/aspose_slides_cloud/models/storage_file.rb +20 -8
- data/lib/aspose_slides_cloud/models/svg_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/swf_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/table.rb +20 -8
- data/lib/aspose_slides_cloud/models/table_cell.rb +20 -8
- data/lib/aspose_slides_cloud/models/table_column.rb +20 -8
- data/lib/aspose_slides_cloud/models/table_row.rb +20 -8
- data/lib/aspose_slides_cloud/models/task.rb +20 -8
- data/lib/aspose_slides_cloud/models/text_item.rb +20 -8
- data/lib/aspose_slides_cloud/models/text_items.rb +20 -8
- data/lib/aspose_slides_cloud/models/theme.rb +20 -8
- data/lib/aspose_slides_cloud/models/tiff_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/update_background.rb +20 -8
- data/lib/aspose_slides_cloud/models/update_shape.rb +20 -8
- data/lib/aspose_slides_cloud/models/video_frame.rb +20 -8
- data/lib/aspose_slides_cloud/models/view_properties.rb +20 -8
- data/lib/aspose_slides_cloud/models/waterfall_series.rb +22 -8
- data/lib/aspose_slides_cloud/models/xps_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/spec/api/slides_api_spec.rb +626 -1
- data/spec/extra/extra_spec.rb +111 -9
- data/spec/spec_utils.rb +8 -1
- data/testRules.json +29 -4
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79d560ba41b3812c3c659161e1975cbd6741595ab182f9494fc5369c5627567f
|
4
|
+
data.tar.gz: a272fbd9060770c5faa9495b3d215f4c16512845ace3b1bac00e348c7bd7ec21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e8e9a38e5034a9983d9932884eff98d9589121cd1978ba67f7be7b305dea6194a5740c0d0efff5b8820de5fa5e39c6fe42be57e4348b0dbced0c2cda04f0ea7
|
7
|
+
data.tar.gz: 83fe4a06a206a564e44cae406f5130ecb737294dc7d8f6210a2d9e2903af480467668a3f11afa6cdbe1b322026fc7b066dcc5e67f29d86998b5e0fe2e69c771d
|
data/lib/aspose_slides_cloud.rb
CHANGED
@@ -186,6 +186,73 @@ module AsposeSlidesCloud
|
|
186
186
|
:auth_names => auth_names)
|
187
187
|
return data, status_code, headers
|
188
188
|
end
|
189
|
+
# Delete a series from a chart.
|
190
|
+
# @param request operation request
|
191
|
+
def delete_chart_series(request)
|
192
|
+
data, _status_code, _headers = delete_chart_series_with_http_info(request)
|
193
|
+
data
|
194
|
+
end
|
195
|
+
|
196
|
+
# Delete a series from a chart.
|
197
|
+
# @param request operation request
|
198
|
+
def delete_chart_series_with_http_info(request)
|
199
|
+
if @api_client.config.debugging
|
200
|
+
@api_client.config.logger.debug 'Calling API: SlidesApi.delete_chart_series ...'
|
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_series"
|
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_series"
|
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_series"
|
213
|
+
end
|
214
|
+
# verify the required parameter 'series_index' is set
|
215
|
+
if @api_client.config.client_side_validation && request.series_index.nil?
|
216
|
+
fail ArgumentError, "Missing the required parameter 'series_index' when calling SlidesApi.delete_chart_series"
|
217
|
+
end
|
218
|
+
# resource path
|
219
|
+
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/series/{seriesIndex}'
|
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, 'seriesIndex', request.series_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
|
189
256
|
# Delete file
|
190
257
|
# @param request operation request
|
191
258
|
def delete_file(request)
|
@@ -3281,10 +3348,6 @@ module AsposeSlidesCloud
|
|
3281
3348
|
if @api_client.config.client_side_validation && request.slide_index.nil?
|
3282
3349
|
fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.get_slide_animation"
|
3283
3350
|
end
|
3284
|
-
# verify the required parameter 'shape_index' is set
|
3285
|
-
if @api_client.config.client_side_validation && request.shape_index.nil?
|
3286
|
-
fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.get_slide_animation"
|
3287
|
-
end
|
3288
3351
|
# resource path
|
3289
3352
|
local_var_path = '/slides/{name}/slides/{slideIndex}/animation'
|
3290
3353
|
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
|
@@ -5729,6 +5792,68 @@ module AsposeSlidesCloud
|
|
5729
5792
|
:return_type => 'NotesSlide')
|
5730
5793
|
return data, status_code, headers
|
5731
5794
|
end
|
5795
|
+
# Add a new series to a chart.
|
5796
|
+
# @param request operation request
|
5797
|
+
def post_chart_series(request)
|
5798
|
+
data, _status_code, _headers = post_chart_series_with_http_info(request)
|
5799
|
+
data
|
5800
|
+
end
|
5801
|
+
|
5802
|
+
# Add a new series to a chart.
|
5803
|
+
# @param request operation request
|
5804
|
+
def post_chart_series_with_http_info(request)
|
5805
|
+
if @api_client.config.debugging
|
5806
|
+
@api_client.config.logger.debug 'Calling API: SlidesApi.post_chart_series ...'
|
5807
|
+
end
|
5808
|
+
# verify the required parameter 'name' is set
|
5809
|
+
if @api_client.config.client_side_validation && request.name.nil?
|
5810
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.post_chart_series"
|
5811
|
+
end
|
5812
|
+
# verify the required parameter 'slide_index' is set
|
5813
|
+
if @api_client.config.client_side_validation && request.slide_index.nil?
|
5814
|
+
fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.post_chart_series"
|
5815
|
+
end
|
5816
|
+
# verify the required parameter 'shape_index' is set
|
5817
|
+
if @api_client.config.client_side_validation && request.shape_index.nil?
|
5818
|
+
fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.post_chart_series"
|
5819
|
+
end
|
5820
|
+
# resource path
|
5821
|
+
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/series'
|
5822
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
|
5823
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
|
5824
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
|
5825
|
+
|
5826
|
+
# query parameters
|
5827
|
+
query_params = {}
|
5828
|
+
query_params[:'password'] = request.password unless request.password.nil?
|
5829
|
+
query_params[:'folder'] = request.folder unless request.folder.nil?
|
5830
|
+
query_params[:'storage'] = request.storage unless request.storage.nil?
|
5831
|
+
|
5832
|
+
# header parameters
|
5833
|
+
header_params = {}
|
5834
|
+
# HTTP header 'Accept' (if needed)
|
5835
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
5836
|
+
# HTTP header 'Content-Type'
|
5837
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
5838
|
+
|
5839
|
+
# http body (model)
|
5840
|
+
post_body = @api_client.object_to_http_body(request.series)
|
5841
|
+
|
5842
|
+
# form parameters
|
5843
|
+
|
5844
|
+
post_files = nil
|
5845
|
+
|
5846
|
+
|
5847
|
+
auth_names = ['JWT']
|
5848
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
5849
|
+
:header_params => header_params,
|
5850
|
+
:query_params => query_params,
|
5851
|
+
:body => post_body,
|
5852
|
+
:files => post_files,
|
5853
|
+
:auth_names => auth_names,
|
5854
|
+
:return_type => 'Chart')
|
5855
|
+
return data, status_code, headers
|
5856
|
+
end
|
5732
5857
|
# Copy layoutSlide from source presentation.
|
5733
5858
|
# @param request operation request
|
5734
5859
|
def post_copy_layout_slide_from_source_presentation(request)
|
@@ -7600,6 +7725,73 @@ module AsposeSlidesCloud
|
|
7600
7725
|
:return_type => 'File')
|
7601
7726
|
return data, status_code, headers
|
7602
7727
|
end
|
7728
|
+
# Update a series in a chart.
|
7729
|
+
# @param request operation request
|
7730
|
+
def put_chart_series(request)
|
7731
|
+
data, _status_code, _headers = put_chart_series_with_http_info(request)
|
7732
|
+
data
|
7733
|
+
end
|
7734
|
+
|
7735
|
+
# Update a series in a chart.
|
7736
|
+
# @param request operation request
|
7737
|
+
def put_chart_series_with_http_info(request)
|
7738
|
+
if @api_client.config.debugging
|
7739
|
+
@api_client.config.logger.debug 'Calling API: SlidesApi.put_chart_series ...'
|
7740
|
+
end
|
7741
|
+
# verify the required parameter 'name' is set
|
7742
|
+
if @api_client.config.client_side_validation && request.name.nil?
|
7743
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.put_chart_series"
|
7744
|
+
end
|
7745
|
+
# verify the required parameter 'slide_index' is set
|
7746
|
+
if @api_client.config.client_side_validation && request.slide_index.nil?
|
7747
|
+
fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.put_chart_series"
|
7748
|
+
end
|
7749
|
+
# verify the required parameter 'shape_index' is set
|
7750
|
+
if @api_client.config.client_side_validation && request.shape_index.nil?
|
7751
|
+
fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.put_chart_series"
|
7752
|
+
end
|
7753
|
+
# verify the required parameter 'series_index' is set
|
7754
|
+
if @api_client.config.client_side_validation && request.series_index.nil?
|
7755
|
+
fail ArgumentError, "Missing the required parameter 'series_index' when calling SlidesApi.put_chart_series"
|
7756
|
+
end
|
7757
|
+
# resource path
|
7758
|
+
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/series/{seriesIndex}'
|
7759
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', request.name)
|
7760
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', request.slide_index)
|
7761
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', request.shape_index)
|
7762
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'seriesIndex', request.series_index)
|
7763
|
+
|
7764
|
+
# query parameters
|
7765
|
+
query_params = {}
|
7766
|
+
query_params[:'password'] = request.password unless request.password.nil?
|
7767
|
+
query_params[:'folder'] = request.folder unless request.folder.nil?
|
7768
|
+
query_params[:'storage'] = request.storage unless request.storage.nil?
|
7769
|
+
|
7770
|
+
# header parameters
|
7771
|
+
header_params = {}
|
7772
|
+
# HTTP header 'Accept' (if needed)
|
7773
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
7774
|
+
# HTTP header 'Content-Type'
|
7775
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
7776
|
+
|
7777
|
+
# http body (model)
|
7778
|
+
post_body = @api_client.object_to_http_body(request.series)
|
7779
|
+
|
7780
|
+
# form parameters
|
7781
|
+
|
7782
|
+
post_files = nil
|
7783
|
+
|
7784
|
+
|
7785
|
+
auth_names = ['JWT']
|
7786
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
7787
|
+
:header_params => header_params,
|
7788
|
+
:query_params => query_params,
|
7789
|
+
:body => post_body,
|
7790
|
+
:files => post_files,
|
7791
|
+
:auth_names => auth_names,
|
7792
|
+
:return_type => 'Chart')
|
7793
|
+
return data, status_code, headers
|
7794
|
+
end
|
7603
7795
|
# Update a layoutSlide.
|
7604
7796
|
# @param request operation request
|
7605
7797
|
def put_layout_slide(request)
|
@@ -67,6 +67,31 @@ module AsposeSlidesCloud
|
|
67
67
|
attr_accessor :storage_name
|
68
68
|
end
|
69
69
|
|
70
|
+
# request model for delete_chart_series
|
71
|
+
class DeleteChartSeriesRequest
|
72
|
+
|
73
|
+
# @param name Document name.
|
74
|
+
attr_accessor :name
|
75
|
+
|
76
|
+
# @param slide_index Slide index.
|
77
|
+
attr_accessor :slide_index
|
78
|
+
|
79
|
+
# @param shape_index Shape index (must be a chart).
|
80
|
+
attr_accessor :shape_index
|
81
|
+
|
82
|
+
# @param series_index Series index.
|
83
|
+
attr_accessor :series_index
|
84
|
+
|
85
|
+
# @param password Document password.
|
86
|
+
attr_accessor :password
|
87
|
+
|
88
|
+
# @param folder Document folder.
|
89
|
+
attr_accessor :folder
|
90
|
+
|
91
|
+
# @param storage Document storage.
|
92
|
+
attr_accessor :storage
|
93
|
+
end
|
94
|
+
|
70
95
|
# request model for delete_file
|
71
96
|
class DeleteFileRequest
|
72
97
|
|
@@ -2067,6 +2092,31 @@ module AsposeSlidesCloud
|
|
2067
2092
|
attr_accessor :storage
|
2068
2093
|
end
|
2069
2094
|
|
2095
|
+
# request model for post_chart_series
|
2096
|
+
class PostChartSeriesRequest
|
2097
|
+
|
2098
|
+
# @param name Document name.
|
2099
|
+
attr_accessor :name
|
2100
|
+
|
2101
|
+
# @param slide_index Slide index.
|
2102
|
+
attr_accessor :slide_index
|
2103
|
+
|
2104
|
+
# @param shape_index Shape index (must be a chart).
|
2105
|
+
attr_accessor :shape_index
|
2106
|
+
|
2107
|
+
# @param series Series DTO.
|
2108
|
+
attr_accessor :series
|
2109
|
+
|
2110
|
+
# @param password Document password.
|
2111
|
+
attr_accessor :password
|
2112
|
+
|
2113
|
+
# @param folder Document folder.
|
2114
|
+
attr_accessor :folder
|
2115
|
+
|
2116
|
+
# @param storage Document storage.
|
2117
|
+
attr_accessor :storage
|
2118
|
+
end
|
2119
|
+
|
2070
2120
|
# request model for post_copy_layout_slide_from_source_presentation
|
2071
2121
|
class PostCopyLayoutSlideFromSourcePresentationRequest
|
2072
2122
|
|
@@ -2866,6 +2916,34 @@ module AsposeSlidesCloud
|
|
2866
2916
|
attr_accessor :fonts_folder
|
2867
2917
|
end
|
2868
2918
|
|
2919
|
+
# request model for put_chart_series
|
2920
|
+
class PutChartSeriesRequest
|
2921
|
+
|
2922
|
+
# @param name Document name.
|
2923
|
+
attr_accessor :name
|
2924
|
+
|
2925
|
+
# @param slide_index Slide index.
|
2926
|
+
attr_accessor :slide_index
|
2927
|
+
|
2928
|
+
# @param shape_index Shape index (must be a chart).
|
2929
|
+
attr_accessor :shape_index
|
2930
|
+
|
2931
|
+
# @param series_index Series index.
|
2932
|
+
attr_accessor :series_index
|
2933
|
+
|
2934
|
+
# @param series Series DTO.
|
2935
|
+
attr_accessor :series
|
2936
|
+
|
2937
|
+
# @param password Document password.
|
2938
|
+
attr_accessor :password
|
2939
|
+
|
2940
|
+
# @param folder Document folder.
|
2941
|
+
attr_accessor :folder
|
2942
|
+
|
2943
|
+
# @param storage Document storage.
|
2944
|
+
attr_accessor :storage
|
2945
|
+
end
|
2946
|
+
|
2869
2947
|
# request model for put_layout_slide
|
2870
2948
|
class PutLayoutSlideRequest
|
2871
2949
|
|
@@ -163,7 +163,7 @@ module AsposeSlidesCloud
|
|
163
163
|
headers['x-aspose-client'] = 'ruby sdk'
|
164
164
|
headers['x-aspose-version'] = AsposeSlidesCloud::VERSION
|
165
165
|
if @config.timeout > 0
|
166
|
-
headers['x-aspose-timeout'] = @config.timeout
|
166
|
+
headers['x-aspose-timeout'] = @config.timeout.to_s
|
167
167
|
end
|
168
168
|
@config.custom_headers.each do |key, value|
|
169
169
|
headers[key] = value
|
@@ -274,8 +274,11 @@ module AsposeSlidesCloud
|
|
274
274
|
data.each { |k, v| hash[k] = convert_to_type(v, sub_type) }
|
275
275
|
end
|
276
276
|
else
|
277
|
-
|
278
|
-
|
277
|
+
type = AsposeSlidesCloud::TypeRegistry.get_type(return_type, data)
|
278
|
+
if !type
|
279
|
+
type = return_type
|
280
|
+
end
|
281
|
+
AsposeSlidesCloud.const_get(type).new.tap do |model|
|
279
282
|
model.build_from_hash data
|
280
283
|
end
|
281
284
|
end
|
@@ -160,15 +160,27 @@ module AsposeSlidesCloud
|
|
160
160
|
def build_from_hash(attributes)
|
161
161
|
return nil unless attributes.is_a?(Hash)
|
162
162
|
self.class.swagger_types.each_pair do |key, type|
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
if
|
167
|
-
|
163
|
+
mapKey = self.class.attribute_map[key]
|
164
|
+
if !mapKey.nil?
|
165
|
+
val = attributes[mapKey]
|
166
|
+
if val.nil?
|
167
|
+
mapKeyString = mapKey.to_s
|
168
|
+
mapKeyString[0] = mapKeyString[0].downcase
|
169
|
+
mapKey = mapKeyString.to_sym
|
170
|
+
val = attributes[mapKey]
|
168
171
|
end
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
+
if !val.nil?
|
173
|
+
if type =~ /\AArray<(.*)>/i
|
174
|
+
# check to ensure the input is an array given that the the attribute
|
175
|
+
# is documented as an array but the input is not
|
176
|
+
if val.is_a?(Array)
|
177
|
+
self.send("#{key}=", val.map { |v| _deserialize($1, v) })
|
178
|
+
end
|
179
|
+
else
|
180
|
+
self.send("#{key}=", _deserialize(type, val))
|
181
|
+
end
|
182
|
+
end
|
183
|
+
end
|
172
184
|
end
|
173
185
|
|
174
186
|
self
|
@@ -175,15 +175,27 @@ module AsposeSlidesCloud
|
|
175
175
|
def build_from_hash(attributes)
|
176
176
|
return nil unless attributes.is_a?(Hash)
|
177
177
|
self.class.swagger_types.each_pair do |key, type|
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
if
|
182
|
-
|
178
|
+
mapKey = self.class.attribute_map[key]
|
179
|
+
if !mapKey.nil?
|
180
|
+
val = attributes[mapKey]
|
181
|
+
if val.nil?
|
182
|
+
mapKeyString = mapKey.to_s
|
183
|
+
mapKeyString[0] = mapKeyString[0].downcase
|
184
|
+
mapKey = mapKeyString.to_sym
|
185
|
+
val = attributes[mapKey]
|
183
186
|
end
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
+
if !val.nil?
|
188
|
+
if type =~ /\AArray<(.*)>/i
|
189
|
+
# check to ensure the input is an array given that the the attribute
|
190
|
+
# is documented as an array but the input is not
|
191
|
+
if val.is_a?(Array)
|
192
|
+
self.send("#{key}=", val.map { |v| _deserialize($1, v) })
|
193
|
+
end
|
194
|
+
else
|
195
|
+
self.send("#{key}=", _deserialize(type, val))
|
196
|
+
end
|
197
|
+
end
|
198
|
+
end
|
187
199
|
end
|
188
200
|
|
189
201
|
self
|
@@ -155,15 +155,27 @@ module AsposeSlidesCloud
|
|
155
155
|
def build_from_hash(attributes)
|
156
156
|
return nil unless attributes.is_a?(Hash)
|
157
157
|
self.class.swagger_types.each_pair do |key, type|
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
if
|
162
|
-
|
158
|
+
mapKey = self.class.attribute_map[key]
|
159
|
+
if !mapKey.nil?
|
160
|
+
val = attributes[mapKey]
|
161
|
+
if val.nil?
|
162
|
+
mapKeyString = mapKey.to_s
|
163
|
+
mapKeyString[0] = mapKeyString[0].downcase
|
164
|
+
mapKey = mapKeyString.to_sym
|
165
|
+
val = attributes[mapKey]
|
163
166
|
end
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
+
if !val.nil?
|
168
|
+
if type =~ /\AArray<(.*)>/i
|
169
|
+
# check to ensure the input is an array given that the the attribute
|
170
|
+
# is documented as an array but the input is not
|
171
|
+
if val.is_a?(Array)
|
172
|
+
self.send("#{key}=", val.map { |v| _deserialize($1, v) })
|
173
|
+
end
|
174
|
+
else
|
175
|
+
self.send("#{key}=", _deserialize(type, val))
|
176
|
+
end
|
177
|
+
end
|
178
|
+
end
|
167
179
|
end
|
168
180
|
|
169
181
|
self
|