aspose_slides_cloud 22.6.0 → 22.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +9 -0
- data/TestData/test.pptx +0 -0
- data/lib/aspose_slides_cloud/api/slides_api.rb +471 -102
- data/lib/aspose_slides_cloud/models/axis_type.rb +42 -0
- data/lib/aspose_slides_cloud/models/chart_wall_type.rb +41 -0
- data/lib/aspose_slides_cloud/models/notes_slide_export_format.rb +18 -0
- data/lib/aspose_slides_cloud/models/presentation_to_merge.rb +2 -2
- data/lib/aspose_slides_cloud/models/save_slide.rb +2 -2
- data/lib/aspose_slides_cloud/models/slide_export_format.rb +1 -0
- data/lib/aspose_slides_cloud/type_registry.rb +2 -0
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/lib/aspose_slides_cloud.rb +2 -0
- data/spec/api/slides_api_spec.rb +1304 -372
- data/testRules.json +17 -1
- metadata +4 -2
@@ -7683,6 +7683,122 @@ module AsposeSlidesCloud
|
|
7683
7683
|
:return_type => 'File')
|
7684
7684
|
return data, status_code, headers
|
7685
7685
|
end
|
7686
|
+
# Removes unused master slides.
|
7687
|
+
# @param name Document name.
|
7688
|
+
# @param ignore_preserve_field Determines, whether this method should remove unused master even if its preserve property is set to true.
|
7689
|
+
# @param password Document password.
|
7690
|
+
# @param folder Document folder.
|
7691
|
+
# @param storage Document storage.
|
7692
|
+
def delete_unused_master_slides(name, ignore_preserve_field = nil, password = nil, folder = nil, storage = nil)
|
7693
|
+
data, _status_code, _headers = delete_unused_master_slides_with_http_info(name, ignore_preserve_field, password, folder, storage)
|
7694
|
+
data
|
7695
|
+
end
|
7696
|
+
|
7697
|
+
# Removes unused master slides.
|
7698
|
+
# @param name Document name.
|
7699
|
+
# @param ignore_preserve_field Determines, whether this method should remove unused master even if its preserve property is set to true.
|
7700
|
+
# @param password Document password.
|
7701
|
+
# @param folder Document folder.
|
7702
|
+
# @param storage Document storage.
|
7703
|
+
def delete_unused_master_slides_with_http_info(name, ignore_preserve_field = nil, password = nil, folder = nil, storage = nil)
|
7704
|
+
if @api_client.config.debugging
|
7705
|
+
@api_client.config.logger.debug 'Calling API: SlidesApi.delete_unused_master_slides ...'
|
7706
|
+
end
|
7707
|
+
|
7708
|
+
# verify the required parameter 'name' is set
|
7709
|
+
if @api_client.config.client_side_validation && name.nil?
|
7710
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.delete_unused_master_slides"
|
7711
|
+
end
|
7712
|
+
# resource path
|
7713
|
+
local_var_path = '/slides/{name}/masterSlides'
|
7714
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
|
7715
|
+
|
7716
|
+
# query parameters
|
7717
|
+
query_params = {}
|
7718
|
+
query_params[:'ignorePreserveField'] = @api_client.prepare_for_query(ignore_preserve_field) unless ignore_preserve_field.nil?
|
7719
|
+
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
7720
|
+
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
7721
|
+
|
7722
|
+
# header parameters
|
7723
|
+
header_params = {}
|
7724
|
+
# HTTP header 'Accept' (if needed)
|
7725
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
7726
|
+
# HTTP header 'Content-Type'
|
7727
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
7728
|
+
header_params[:'password'] = password unless password.nil?
|
7729
|
+
|
7730
|
+
# http body (model)
|
7731
|
+
post_body = nil
|
7732
|
+
|
7733
|
+
# form parameters
|
7734
|
+
post_files = []
|
7735
|
+
|
7736
|
+
auth_names = ['JWT']
|
7737
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
7738
|
+
:header_params => header_params,
|
7739
|
+
:query_params => query_params,
|
7740
|
+
:body => post_body,
|
7741
|
+
:files => post_files,
|
7742
|
+
:auth_names => auth_names,
|
7743
|
+
:return_type => 'MasterSlides')
|
7744
|
+
return data, status_code, headers
|
7745
|
+
end
|
7746
|
+
# Removes unused master slides.
|
7747
|
+
# @param document Document data
|
7748
|
+
# @param ignore_preserve_field Determines, whether this method should remove unused master even if its preserve property is set to true.
|
7749
|
+
# @param password Document password.
|
7750
|
+
def delete_unused_master_slides_online(document, ignore_preserve_field = nil, password = nil)
|
7751
|
+
data, _status_code, _headers = delete_unused_master_slides_online_with_http_info(document, ignore_preserve_field, password)
|
7752
|
+
data
|
7753
|
+
end
|
7754
|
+
|
7755
|
+
# Removes unused master slides.
|
7756
|
+
# @param document Document data
|
7757
|
+
# @param ignore_preserve_field Determines, whether this method should remove unused master even if its preserve property is set to true.
|
7758
|
+
# @param password Document password.
|
7759
|
+
def delete_unused_master_slides_online_with_http_info(document, ignore_preserve_field = nil, password = nil)
|
7760
|
+
if @api_client.config.debugging
|
7761
|
+
@api_client.config.logger.debug 'Calling API: SlidesApi.delete_unused_master_slides_online ...'
|
7762
|
+
end
|
7763
|
+
|
7764
|
+
# verify the required parameter 'document' is set
|
7765
|
+
if @api_client.config.client_side_validation && document.nil?
|
7766
|
+
fail ArgumentError, "Missing the required parameter 'document' when calling SlidesApi.delete_unused_master_slides_online"
|
7767
|
+
end
|
7768
|
+
# resource path
|
7769
|
+
local_var_path = '/slides/masterSlides/delete'
|
7770
|
+
|
7771
|
+
# query parameters
|
7772
|
+
query_params = {}
|
7773
|
+
query_params[:'ignorePreserveField'] = @api_client.prepare_for_query(ignore_preserve_field) unless ignore_preserve_field.nil?
|
7774
|
+
|
7775
|
+
# header parameters
|
7776
|
+
header_params = {}
|
7777
|
+
# HTTP header 'Accept' (if needed)
|
7778
|
+
header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
|
7779
|
+
# HTTP header 'Content-Type'
|
7780
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
7781
|
+
header_params[:'password'] = password unless password.nil?
|
7782
|
+
|
7783
|
+
# http body (model)
|
7784
|
+
post_body = nil
|
7785
|
+
|
7786
|
+
# form parameters
|
7787
|
+
post_files = []
|
7788
|
+
if document
|
7789
|
+
post_files = post_files.push(document)
|
7790
|
+
end
|
7791
|
+
|
7792
|
+
auth_names = ['JWT']
|
7793
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
7794
|
+
:header_params => header_params,
|
7795
|
+
:query_params => query_params,
|
7796
|
+
:body => post_body,
|
7797
|
+
:files => post_files,
|
7798
|
+
:auth_names => auth_names,
|
7799
|
+
:return_type => 'File')
|
7800
|
+
return data, status_code, headers
|
7801
|
+
end
|
7686
7802
|
# Removes shapes with name \"watermark\" from the presentation.
|
7687
7803
|
# @param name Document name.
|
7688
7804
|
# @param shape_name Name of the watermark shape. If null, default value \"watermark\"is used.
|
@@ -8407,8 +8523,8 @@ module AsposeSlidesCloud
|
|
8407
8523
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_notes_slide"
|
8408
8524
|
end
|
8409
8525
|
# verify enum value
|
8410
|
-
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff'].any?{ |s| s.casecmp(format)==0 }
|
8411
|
-
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff"
|
8526
|
+
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 }
|
8527
|
+
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"
|
8412
8528
|
end
|
8413
8529
|
# resource path
|
8414
8530
|
local_var_path = '/slides/{name}/slides/{slideIndex}/notesSlide/{format}'
|
@@ -8487,8 +8603,8 @@ module AsposeSlidesCloud
|
|
8487
8603
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_notes_slide_online"
|
8488
8604
|
end
|
8489
8605
|
# verify enum value
|
8490
|
-
if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff'].any?{ |s| s.casecmp(format)==0 }
|
8491
|
-
fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff"
|
8606
|
+
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 }
|
8607
|
+
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"
|
8492
8608
|
end
|
8493
8609
|
# resource path
|
8494
8610
|
local_var_path = '/slides/slides/{slideIndex}/notesSlide/{format}'
|
@@ -8931,8 +9047,8 @@ module AsposeSlidesCloud
|
|
8931
9047
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_slide"
|
8932
9048
|
end
|
8933
9049
|
# verify enum value
|
8934
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
8935
|
-
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"
|
9050
|
+
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 }
|
9051
|
+
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"
|
8936
9052
|
end
|
8937
9053
|
# resource path
|
8938
9054
|
local_var_path = '/slides/{name}/slides/{slideIndex}/{format}'
|
@@ -9015,8 +9131,8 @@ module AsposeSlidesCloud
|
|
9015
9131
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_slide_online"
|
9016
9132
|
end
|
9017
9133
|
# verify enum value
|
9018
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
9019
|
-
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"
|
9134
|
+
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 }
|
9135
|
+
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"
|
9020
9136
|
end
|
9021
9137
|
# resource path
|
9022
9138
|
local_var_path = '/slides/slides/{slideIndex}/{format}'
|
@@ -15930,8 +16046,8 @@ module AsposeSlidesCloud
|
|
15930
16046
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_slide"
|
15931
16047
|
end
|
15932
16048
|
# verify enum value
|
15933
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
15934
|
-
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"
|
16049
|
+
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 }
|
16050
|
+
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"
|
15935
16051
|
end
|
15936
16052
|
# verify the required parameter 'out_path' is set
|
15937
16053
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -16020,8 +16136,8 @@ module AsposeSlidesCloud
|
|
16020
16136
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_slide_online"
|
16021
16137
|
end
|
16022
16138
|
# verify enum value
|
16023
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
16024
|
-
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"
|
16139
|
+
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 }
|
16140
|
+
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"
|
16025
16141
|
end
|
16026
16142
|
# verify the required parameter 'out_path' is set
|
16027
16143
|
if @api_client.config.client_side_validation && out_path.nil?
|
@@ -16628,6 +16744,343 @@ module AsposeSlidesCloud
|
|
16628
16744
|
:return_type => 'SlideBackground')
|
16629
16745
|
return data, status_code, headers
|
16630
16746
|
end
|
16747
|
+
# Set chart axis.
|
16748
|
+
# @param name Document name.
|
16749
|
+
# @param slide_index Slide index.
|
16750
|
+
# @param shape_index Shape index.
|
16751
|
+
# @param axis_type Axis type. Horizontal, Vertical, SecondaryHorizontal or SecondaryVertical.
|
16752
|
+
# @param axis Axis DTO.
|
16753
|
+
# @param password Document password.
|
16754
|
+
# @param folder Document folder.
|
16755
|
+
# @param storage Document storage.
|
16756
|
+
def set_chart_axis(name, slide_index, shape_index, axis_type, axis, password = nil, folder = nil, storage = nil)
|
16757
|
+
data, _status_code, _headers = set_chart_axis_with_http_info(name, slide_index, shape_index, axis_type, axis, password, folder, storage)
|
16758
|
+
data
|
16759
|
+
end
|
16760
|
+
|
16761
|
+
# Set chart axis.
|
16762
|
+
# @param name Document name.
|
16763
|
+
# @param slide_index Slide index.
|
16764
|
+
# @param shape_index Shape index.
|
16765
|
+
# @param axis_type Axis type. Horizontal, Vertical, SecondaryHorizontal or SecondaryVertical.
|
16766
|
+
# @param axis Axis DTO.
|
16767
|
+
# @param password Document password.
|
16768
|
+
# @param folder Document folder.
|
16769
|
+
# @param storage Document storage.
|
16770
|
+
def set_chart_axis_with_http_info(name, slide_index, shape_index, axis_type, axis, password = nil, folder = nil, storage = nil)
|
16771
|
+
if @api_client.config.debugging
|
16772
|
+
@api_client.config.logger.debug 'Calling API: SlidesApi.set_chart_axis ...'
|
16773
|
+
end
|
16774
|
+
|
16775
|
+
# verify the required parameter 'name' is set
|
16776
|
+
if @api_client.config.client_side_validation && name.nil?
|
16777
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.set_chart_axis"
|
16778
|
+
end
|
16779
|
+
# verify the required parameter 'slide_index' is set
|
16780
|
+
if @api_client.config.client_side_validation && slide_index.nil?
|
16781
|
+
fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.set_chart_axis"
|
16782
|
+
end
|
16783
|
+
# verify the required parameter 'shape_index' is set
|
16784
|
+
if @api_client.config.client_side_validation && shape_index.nil?
|
16785
|
+
fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.set_chart_axis"
|
16786
|
+
end
|
16787
|
+
# verify the required parameter 'axis_type' is set
|
16788
|
+
if @api_client.config.client_side_validation && axis_type.nil?
|
16789
|
+
fail ArgumentError, "Missing the required parameter 'axis_type' when calling SlidesApi.set_chart_axis"
|
16790
|
+
end
|
16791
|
+
# verify enum value
|
16792
|
+
if @api_client.config.client_side_validation && !['HorizontalAxis', 'VerticalAxis', 'SecondaryHorizontalAxis', 'SecondaryVerticalAxis'].any?{ |s| s.casecmp(axis_type)==0 }
|
16793
|
+
fail ArgumentError, "Invalid value for parameter axis_type: " + axis_type + ". Must be one of HorizontalAxis, VerticalAxis, SecondaryHorizontalAxis, SecondaryVerticalAxis"
|
16794
|
+
end
|
16795
|
+
# verify the required parameter 'axis' is set
|
16796
|
+
if @api_client.config.client_side_validation && axis.nil?
|
16797
|
+
fail ArgumentError, "Missing the required parameter 'axis' when calling SlidesApi.set_chart_axis"
|
16798
|
+
end
|
16799
|
+
# resource path
|
16800
|
+
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/{axisType}'
|
16801
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
|
16802
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
|
16803
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
|
16804
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'axisType', axis_type)
|
16805
|
+
|
16806
|
+
# query parameters
|
16807
|
+
query_params = {}
|
16808
|
+
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
16809
|
+
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
16810
|
+
|
16811
|
+
# header parameters
|
16812
|
+
header_params = {}
|
16813
|
+
# HTTP header 'Accept' (if needed)
|
16814
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
16815
|
+
# HTTP header 'Content-Type'
|
16816
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
16817
|
+
header_params[:'password'] = password unless password.nil?
|
16818
|
+
|
16819
|
+
# http body (model)
|
16820
|
+
post_body = @api_client.object_to_http_body(axis)
|
16821
|
+
|
16822
|
+
# form parameters
|
16823
|
+
post_files = []
|
16824
|
+
|
16825
|
+
auth_names = ['JWT']
|
16826
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
16827
|
+
:header_params => header_params,
|
16828
|
+
:query_params => query_params,
|
16829
|
+
:body => post_body,
|
16830
|
+
:files => post_files,
|
16831
|
+
:auth_names => auth_names,
|
16832
|
+
:return_type => 'Axis')
|
16833
|
+
return data, status_code, headers
|
16834
|
+
end
|
16835
|
+
# Set chart axis.
|
16836
|
+
# @param name Document name.
|
16837
|
+
# @param slide_index Slide index.
|
16838
|
+
# @param shape_index Shape index.
|
16839
|
+
# @param legend Chart legend DTO.
|
16840
|
+
# @param password Document password.
|
16841
|
+
# @param folder Document folder.
|
16842
|
+
# @param storage Document storage.
|
16843
|
+
def set_chart_legend(name, slide_index, shape_index, legend, password = nil, folder = nil, storage = nil)
|
16844
|
+
data, _status_code, _headers = set_chart_legend_with_http_info(name, slide_index, shape_index, legend, password, folder, storage)
|
16845
|
+
data
|
16846
|
+
end
|
16847
|
+
|
16848
|
+
# Set chart axis.
|
16849
|
+
# @param name Document name.
|
16850
|
+
# @param slide_index Slide index.
|
16851
|
+
# @param shape_index Shape index.
|
16852
|
+
# @param legend Chart legend DTO.
|
16853
|
+
# @param password Document password.
|
16854
|
+
# @param folder Document folder.
|
16855
|
+
# @param storage Document storage.
|
16856
|
+
def set_chart_legend_with_http_info(name, slide_index, shape_index, legend, password = nil, folder = nil, storage = nil)
|
16857
|
+
if @api_client.config.debugging
|
16858
|
+
@api_client.config.logger.debug 'Calling API: SlidesApi.set_chart_legend ...'
|
16859
|
+
end
|
16860
|
+
|
16861
|
+
# verify the required parameter 'name' is set
|
16862
|
+
if @api_client.config.client_side_validation && name.nil?
|
16863
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.set_chart_legend"
|
16864
|
+
end
|
16865
|
+
# verify the required parameter 'slide_index' is set
|
16866
|
+
if @api_client.config.client_side_validation && slide_index.nil?
|
16867
|
+
fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.set_chart_legend"
|
16868
|
+
end
|
16869
|
+
# verify the required parameter 'shape_index' is set
|
16870
|
+
if @api_client.config.client_side_validation && shape_index.nil?
|
16871
|
+
fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.set_chart_legend"
|
16872
|
+
end
|
16873
|
+
# verify the required parameter 'legend' is set
|
16874
|
+
if @api_client.config.client_side_validation && legend.nil?
|
16875
|
+
fail ArgumentError, "Missing the required parameter 'legend' when calling SlidesApi.set_chart_legend"
|
16876
|
+
end
|
16877
|
+
# resource path
|
16878
|
+
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/legend'
|
16879
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
|
16880
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
|
16881
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
|
16882
|
+
|
16883
|
+
# query parameters
|
16884
|
+
query_params = {}
|
16885
|
+
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
16886
|
+
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
16887
|
+
|
16888
|
+
# header parameters
|
16889
|
+
header_params = {}
|
16890
|
+
# HTTP header 'Accept' (if needed)
|
16891
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
16892
|
+
# HTTP header 'Content-Type'
|
16893
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
16894
|
+
header_params[:'password'] = password unless password.nil?
|
16895
|
+
|
16896
|
+
# http body (model)
|
16897
|
+
post_body = @api_client.object_to_http_body(legend)
|
16898
|
+
|
16899
|
+
# form parameters
|
16900
|
+
post_files = []
|
16901
|
+
|
16902
|
+
auth_names = ['JWT']
|
16903
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
16904
|
+
:header_params => header_params,
|
16905
|
+
:query_params => query_params,
|
16906
|
+
:body => post_body,
|
16907
|
+
:files => post_files,
|
16908
|
+
:auth_names => auth_names,
|
16909
|
+
:return_type => 'Legend')
|
16910
|
+
return data, status_code, headers
|
16911
|
+
end
|
16912
|
+
# Set a series group in a chart.
|
16913
|
+
# @param name Document name.
|
16914
|
+
# @param slide_index Slide index.
|
16915
|
+
# @param shape_index Shape index (must be a chart).
|
16916
|
+
# @param series_group_index Series group index.
|
16917
|
+
# @param series_group Series group DTO.
|
16918
|
+
# @param password Document password.
|
16919
|
+
# @param folder Document folder.
|
16920
|
+
# @param storage Document storage.
|
16921
|
+
def set_chart_series_group(name, slide_index, shape_index, series_group_index, series_group, password = nil, folder = nil, storage = nil)
|
16922
|
+
data, _status_code, _headers = set_chart_series_group_with_http_info(name, slide_index, shape_index, series_group_index, series_group, password, folder, storage)
|
16923
|
+
data
|
16924
|
+
end
|
16925
|
+
|
16926
|
+
# Set a series group in a chart.
|
16927
|
+
# @param name Document name.
|
16928
|
+
# @param slide_index Slide index.
|
16929
|
+
# @param shape_index Shape index (must be a chart).
|
16930
|
+
# @param series_group_index Series group index.
|
16931
|
+
# @param series_group Series group DTO.
|
16932
|
+
# @param password Document password.
|
16933
|
+
# @param folder Document folder.
|
16934
|
+
# @param storage Document storage.
|
16935
|
+
def set_chart_series_group_with_http_info(name, slide_index, shape_index, series_group_index, series_group, password = nil, folder = nil, storage = nil)
|
16936
|
+
if @api_client.config.debugging
|
16937
|
+
@api_client.config.logger.debug 'Calling API: SlidesApi.set_chart_series_group ...'
|
16938
|
+
end
|
16939
|
+
|
16940
|
+
# verify the required parameter 'name' is set
|
16941
|
+
if @api_client.config.client_side_validation && name.nil?
|
16942
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.set_chart_series_group"
|
16943
|
+
end
|
16944
|
+
# verify the required parameter 'slide_index' is set
|
16945
|
+
if @api_client.config.client_side_validation && slide_index.nil?
|
16946
|
+
fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.set_chart_series_group"
|
16947
|
+
end
|
16948
|
+
# verify the required parameter 'shape_index' is set
|
16949
|
+
if @api_client.config.client_side_validation && shape_index.nil?
|
16950
|
+
fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.set_chart_series_group"
|
16951
|
+
end
|
16952
|
+
# verify the required parameter 'series_group_index' is set
|
16953
|
+
if @api_client.config.client_side_validation && series_group_index.nil?
|
16954
|
+
fail ArgumentError, "Missing the required parameter 'series_group_index' when calling SlidesApi.set_chart_series_group"
|
16955
|
+
end
|
16956
|
+
# verify the required parameter 'series_group' is set
|
16957
|
+
if @api_client.config.client_side_validation && series_group.nil?
|
16958
|
+
fail ArgumentError, "Missing the required parameter 'series_group' when calling SlidesApi.set_chart_series_group"
|
16959
|
+
end
|
16960
|
+
# resource path
|
16961
|
+
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/seriesGroup/{seriesGroupIndex}'
|
16962
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
|
16963
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
|
16964
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
|
16965
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'seriesGroupIndex', series_group_index)
|
16966
|
+
|
16967
|
+
# query parameters
|
16968
|
+
query_params = {}
|
16969
|
+
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
16970
|
+
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
16971
|
+
|
16972
|
+
# header parameters
|
16973
|
+
header_params = {}
|
16974
|
+
# HTTP header 'Accept' (if needed)
|
16975
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
16976
|
+
# HTTP header 'Content-Type'
|
16977
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
16978
|
+
header_params[:'password'] = password unless password.nil?
|
16979
|
+
|
16980
|
+
# http body (model)
|
16981
|
+
post_body = @api_client.object_to_http_body(series_group)
|
16982
|
+
|
16983
|
+
# form parameters
|
16984
|
+
post_files = []
|
16985
|
+
|
16986
|
+
auth_names = ['JWT']
|
16987
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
16988
|
+
:header_params => header_params,
|
16989
|
+
:query_params => query_params,
|
16990
|
+
:body => post_body,
|
16991
|
+
:files => post_files,
|
16992
|
+
:auth_names => auth_names,
|
16993
|
+
:return_type => 'Chart')
|
16994
|
+
return data, status_code, headers
|
16995
|
+
end
|
16996
|
+
# Set 3D chart wall.
|
16997
|
+
# @param name Document name.
|
16998
|
+
# @param slide_index Slide index.
|
16999
|
+
# @param shape_index Shape index.
|
17000
|
+
# @param chart_wall_type Chart wall type: floor, sideWall or backWall.
|
17001
|
+
# @param chart_wall Chart wall DTO.
|
17002
|
+
# @param password Document password.
|
17003
|
+
# @param folder Document folder.
|
17004
|
+
# @param storage Document storage.
|
17005
|
+
def set_chart_wall(name, slide_index, shape_index, chart_wall_type, chart_wall, password = nil, folder = nil, storage = nil)
|
17006
|
+
data, _status_code, _headers = set_chart_wall_with_http_info(name, slide_index, shape_index, chart_wall_type, chart_wall, password, folder, storage)
|
17007
|
+
data
|
17008
|
+
end
|
17009
|
+
|
17010
|
+
# Set 3D chart wall.
|
17011
|
+
# @param name Document name.
|
17012
|
+
# @param slide_index Slide index.
|
17013
|
+
# @param shape_index Shape index.
|
17014
|
+
# @param chart_wall_type Chart wall type: floor, sideWall or backWall.
|
17015
|
+
# @param chart_wall Chart wall DTO.
|
17016
|
+
# @param password Document password.
|
17017
|
+
# @param folder Document folder.
|
17018
|
+
# @param storage Document storage.
|
17019
|
+
def set_chart_wall_with_http_info(name, slide_index, shape_index, chart_wall_type, chart_wall, password = nil, folder = nil, storage = nil)
|
17020
|
+
if @api_client.config.debugging
|
17021
|
+
@api_client.config.logger.debug 'Calling API: SlidesApi.set_chart_wall ...'
|
17022
|
+
end
|
17023
|
+
|
17024
|
+
# verify the required parameter 'name' is set
|
17025
|
+
if @api_client.config.client_side_validation && name.nil?
|
17026
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.set_chart_wall"
|
17027
|
+
end
|
17028
|
+
# verify the required parameter 'slide_index' is set
|
17029
|
+
if @api_client.config.client_side_validation && slide_index.nil?
|
17030
|
+
fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.set_chart_wall"
|
17031
|
+
end
|
17032
|
+
# verify the required parameter 'shape_index' is set
|
17033
|
+
if @api_client.config.client_side_validation && shape_index.nil?
|
17034
|
+
fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.set_chart_wall"
|
17035
|
+
end
|
17036
|
+
# verify the required parameter 'chart_wall_type' is set
|
17037
|
+
if @api_client.config.client_side_validation && chart_wall_type.nil?
|
17038
|
+
fail ArgumentError, "Missing the required parameter 'chart_wall_type' when calling SlidesApi.set_chart_wall"
|
17039
|
+
end
|
17040
|
+
# verify enum value
|
17041
|
+
if @api_client.config.client_side_validation && !['Floor', 'SideWall', 'BackWall'].any?{ |s| s.casecmp(chart_wall_type)==0 }
|
17042
|
+
fail ArgumentError, "Invalid value for parameter chart_wall_type: " + chart_wall_type + ". Must be one of Floor, SideWall, BackWall"
|
17043
|
+
end
|
17044
|
+
# verify the required parameter 'chart_wall' is set
|
17045
|
+
if @api_client.config.client_side_validation && chart_wall.nil?
|
17046
|
+
fail ArgumentError, "Missing the required parameter 'chart_wall' when calling SlidesApi.set_chart_wall"
|
17047
|
+
end
|
17048
|
+
# resource path
|
17049
|
+
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/{chartWallType}'
|
17050
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
|
17051
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
|
17052
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
|
17053
|
+
local_var_path = @api_client.replace_path_parameter(local_var_path, 'chartWallType', chart_wall_type)
|
17054
|
+
|
17055
|
+
# query parameters
|
17056
|
+
query_params = {}
|
17057
|
+
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
17058
|
+
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
17059
|
+
|
17060
|
+
# header parameters
|
17061
|
+
header_params = {}
|
17062
|
+
# HTTP header 'Accept' (if needed)
|
17063
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
17064
|
+
# HTTP header 'Content-Type'
|
17065
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
17066
|
+
header_params[:'password'] = password unless password.nil?
|
17067
|
+
|
17068
|
+
# http body (model)
|
17069
|
+
post_body = @api_client.object_to_http_body(chart_wall)
|
17070
|
+
|
17071
|
+
# form parameters
|
17072
|
+
post_files = []
|
17073
|
+
|
17074
|
+
auth_names = ['JWT']
|
17075
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
17076
|
+
:header_params => header_params,
|
17077
|
+
:query_params => query_params,
|
17078
|
+
:body => post_body,
|
17079
|
+
:files => post_files,
|
17080
|
+
:auth_names => auth_names,
|
17081
|
+
:return_type => 'ChartWall')
|
17082
|
+
return data, status_code, headers
|
17083
|
+
end
|
16631
17084
|
# Set document properties.
|
16632
17085
|
# @param name Document name.
|
16633
17086
|
# @param properties New properties.
|
@@ -17473,8 +17926,8 @@ module AsposeSlidesCloud
|
|
17473
17926
|
if @api_client.config.client_side_validation && name.nil?
|
17474
17927
|
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.split"
|
17475
17928
|
end
|
17476
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
17477
|
-
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"
|
17929
|
+
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 }
|
17930
|
+
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"
|
17478
17931
|
end
|
17479
17932
|
# resource path
|
17480
17933
|
local_var_path = '/slides/{name}/split'
|
@@ -17557,8 +18010,8 @@ module AsposeSlidesCloud
|
|
17557
18010
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.split_and_save_online"
|
17558
18011
|
end
|
17559
18012
|
# verify enum value
|
17560
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
17561
|
-
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"
|
18013
|
+
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 }
|
18014
|
+
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"
|
17562
18015
|
end
|
17563
18016
|
# resource path
|
17564
18017
|
local_var_path = '/slides/split/{format}'
|
@@ -17640,8 +18093,8 @@ module AsposeSlidesCloud
|
|
17640
18093
|
fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.split_online"
|
17641
18094
|
end
|
17642
18095
|
# verify enum value
|
17643
|
-
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'].any?{ |s| s.casecmp(format)==0 }
|
17644
|
-
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"
|
18096
|
+
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 }
|
18097
|
+
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"
|
17645
18098
|
end
|
17646
18099
|
# resource path
|
17647
18100
|
local_var_path = '/slides/split/{format}'
|
@@ -18151,90 +18604,6 @@ module AsposeSlidesCloud
|
|
18151
18604
|
:return_type => 'Chart')
|
18152
18605
|
return data, status_code, headers
|
18153
18606
|
end
|
18154
|
-
# Update a series group in a chart.
|
18155
|
-
# @param name Document name.
|
18156
|
-
# @param slide_index Slide index.
|
18157
|
-
# @param shape_index Shape index (must be a chart).
|
18158
|
-
# @param series_group_index Series group index.
|
18159
|
-
# @param series_group Series group DTO.
|
18160
|
-
# @param password Document password.
|
18161
|
-
# @param folder Document folder.
|
18162
|
-
# @param storage Document storage.
|
18163
|
-
def update_chart_series_group(name, slide_index, shape_index, series_group_index, series_group, password = nil, folder = nil, storage = nil)
|
18164
|
-
data, _status_code, _headers = update_chart_series_group_with_http_info(name, slide_index, shape_index, series_group_index, series_group, password, folder, storage)
|
18165
|
-
data
|
18166
|
-
end
|
18167
|
-
|
18168
|
-
# Update a series group in a chart.
|
18169
|
-
# @param name Document name.
|
18170
|
-
# @param slide_index Slide index.
|
18171
|
-
# @param shape_index Shape index (must be a chart).
|
18172
|
-
# @param series_group_index Series group index.
|
18173
|
-
# @param series_group Series group DTO.
|
18174
|
-
# @param password Document password.
|
18175
|
-
# @param folder Document folder.
|
18176
|
-
# @param storage Document storage.
|
18177
|
-
def update_chart_series_group_with_http_info(name, slide_index, shape_index, series_group_index, series_group, password = nil, folder = nil, storage = nil)
|
18178
|
-
if @api_client.config.debugging
|
18179
|
-
@api_client.config.logger.debug 'Calling API: SlidesApi.update_chart_series_group ...'
|
18180
|
-
end
|
18181
|
-
|
18182
|
-
# verify the required parameter 'name' is set
|
18183
|
-
if @api_client.config.client_side_validation && name.nil?
|
18184
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.update_chart_series_group"
|
18185
|
-
end
|
18186
|
-
# verify the required parameter 'slide_index' is set
|
18187
|
-
if @api_client.config.client_side_validation && slide_index.nil?
|
18188
|
-
fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.update_chart_series_group"
|
18189
|
-
end
|
18190
|
-
# verify the required parameter 'shape_index' is set
|
18191
|
-
if @api_client.config.client_side_validation && shape_index.nil?
|
18192
|
-
fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.update_chart_series_group"
|
18193
|
-
end
|
18194
|
-
# verify the required parameter 'series_group_index' is set
|
18195
|
-
if @api_client.config.client_side_validation && series_group_index.nil?
|
18196
|
-
fail ArgumentError, "Missing the required parameter 'series_group_index' when calling SlidesApi.update_chart_series_group"
|
18197
|
-
end
|
18198
|
-
# verify the required parameter 'series_group' is set
|
18199
|
-
if @api_client.config.client_side_validation && series_group.nil?
|
18200
|
-
fail ArgumentError, "Missing the required parameter 'series_group' when calling SlidesApi.update_chart_series_group"
|
18201
|
-
end
|
18202
|
-
# resource path
|
18203
|
-
local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/seriesGroup/{seriesGroupIndex}'
|
18204
|
-
local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
|
18205
|
-
local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
|
18206
|
-
local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
|
18207
|
-
local_var_path = @api_client.replace_path_parameter(local_var_path, 'seriesGroupIndex', series_group_index)
|
18208
|
-
|
18209
|
-
# query parameters
|
18210
|
-
query_params = {}
|
18211
|
-
query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
|
18212
|
-
query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
|
18213
|
-
|
18214
|
-
# header parameters
|
18215
|
-
header_params = {}
|
18216
|
-
# HTTP header 'Accept' (if needed)
|
18217
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
18218
|
-
# HTTP header 'Content-Type'
|
18219
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
18220
|
-
header_params[:'password'] = password unless password.nil?
|
18221
|
-
|
18222
|
-
# http body (model)
|
18223
|
-
post_body = @api_client.object_to_http_body(series_group)
|
18224
|
-
|
18225
|
-
# form parameters
|
18226
|
-
post_files = []
|
18227
|
-
|
18228
|
-
auth_names = ['JWT']
|
18229
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
18230
|
-
:header_params => header_params,
|
18231
|
-
:query_params => query_params,
|
18232
|
-
:body => post_body,
|
18233
|
-
:files => post_files,
|
18234
|
-
:auth_names => auth_names,
|
18235
|
-
:return_type => 'Chart')
|
18236
|
-
return data, status_code, headers
|
18237
|
-
end
|
18238
18607
|
# Update a layoutSlide.
|
18239
18608
|
# @param name Document name.
|
18240
18609
|
# @param slide_index Slide index.
|