aspose_cells_cloud 20.8 → 20.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a8ad9a6982d9cfdd9019566babb2dd386006e3b1535f59a954bc1b2b002480a
4
- data.tar.gz: 23fa4ff415d0eccd2726a5f82545a3b65126b4535b8045687fab1ffaf0e5b92e
3
+ metadata.gz: 449de83a454ed56877a775689cb314580ebf17a24e77c719f73c4100db1adb2c
4
+ data.tar.gz: 8902e1c9518d55d20fa40927a9a3a7a9f2e1c27880e08da471bc24d4f6318d1a
5
5
  SHA512:
6
- metadata.gz: 121e5c768dccda724040fada36e6e695955b937cae6aa5ed960aab679b1a47ea21f9b4b11ac3f27f4e42eccd4cdd8cce7f5069756d81de7ceb1835adb4c2d79a
7
- data.tar.gz: 361be8d40da9f531e1216dee64b468e97e46c6096315a0aa262d31881c751fd8078930d96a36d5c46037a056562ad794ffdd5d04d92a393a78d62bb9fc3a1f8b
6
+ metadata.gz: 3bb1c226cbf69d8d07c0a9f01c8780a0b54d09b01db553208a24171fedd227113574b1fa2017a8c570314b9ad3805f676212e6138a89ff7543a23cf9793bd6ae
7
+ data.tar.gz: af40761b64ba0806eb0fca856cd2ada54372970043ba1cb1083facdc06e786be91a3ece57c5f12ed01274daba1d20d204e989c864c6280816208aea382de27dc
@@ -38,6 +38,7 @@ require 'aspose_cells_cloud/models/cell_value'
38
38
  require 'aspose_cells_cloud/models/cells_cloud_file_info'
39
39
  require 'aspose_cells_cloud/models/cells_cloud_response'
40
40
  require 'aspose_cells_cloud/models/cells_color'
41
+ require 'aspose_cells_cloud/models/cells_error'
41
42
  require 'aspose_cells_cloud/models/color'
42
43
  require 'aspose_cells_cloud/models/color_filter'
43
44
  require 'aspose_cells_cloud/models/color_filter_request'
@@ -53,7 +54,6 @@ require 'aspose_cells_cloud/models/data_bar_border'
53
54
  require 'aspose_cells_cloud/models/data_sorter'
54
55
  require 'aspose_cells_cloud/models/disc_usage'
55
56
  require 'aspose_cells_cloud/models/dynamic_filter'
56
- require 'aspose_cells_cloud/models/error'
57
57
  require 'aspose_cells_cloud/models/error_details'
58
58
  require 'aspose_cells_cloud/models/file_source'
59
59
  require 'aspose_cells_cloud/models/file_versions'
@@ -103,6 +103,9 @@ require 'aspose_cells_cloud/models/shadow_effect'
103
103
  require 'aspose_cells_cloud/models/single_value'
104
104
  require 'aspose_cells_cloud/models/solid_fill'
105
105
  require 'aspose_cells_cloud/models/sort_key'
106
+ require 'aspose_cells_cloud/models/sparkline'
107
+ require 'aspose_cells_cloud/models/sparkline_group'
108
+ require 'aspose_cells_cloud/models/sparkline_groups'
106
109
  require 'aspose_cells_cloud/models/split_result'
107
110
  require 'aspose_cells_cloud/models/storage_exist'
108
111
  require 'aspose_cells_cloud/models/storage_file'
@@ -230,6 +233,8 @@ require 'aspose_cells_cloud/models/shapes'
230
233
  require 'aspose_cells_cloud/models/shapes_response'
231
234
  require 'aspose_cells_cloud/models/single_value_response'
232
235
  require 'aspose_cells_cloud/models/smart_marker_task_parameter'
236
+ require 'aspose_cells_cloud/models/sparkline_group_response'
237
+ require 'aspose_cells_cloud/models/sparkline_groups_response'
233
238
  require 'aspose_cells_cloud/models/split_result_document'
234
239
  require 'aspose_cells_cloud/models/split_result_response'
235
240
  require 'aspose_cells_cloud/models/split_workbook_task_parameter'
@@ -2437,6 +2437,10 @@ module AsposeCellsCloud
2437
2437
  # @option opts [String] :title Specifies chart title name.
2438
2438
  # @option opts [String] :folder The workbook folder.
2439
2439
  # @option opts [String] :storage_name storage name.
2440
+ # @option opts [BOOLEAN] :data_labels (default to true)
2441
+ # @option opts [String] :data_labels_position (default to Above)
2442
+ # @option opts [String] :pivot_table_sheet
2443
+ # @option opts [String] :pivot_table_name
2440
2444
  # @return [ChartsResponse]
2441
2445
  def cells_charts_put_worksheet_add_chart(name, sheet_name, chart_type, opts = {})
2442
2446
  data, _status_code, _headers = cells_charts_put_worksheet_add_chart_with_http_info(name, sheet_name, chart_type, opts)
@@ -2460,6 +2464,10 @@ module AsposeCellsCloud
2460
2464
  # @option opts [String] :title Specifies chart title name.
2461
2465
  # @option opts [String] :folder The workbook folder.
2462
2466
  # @option opts [String] :storage_name storage name.
2467
+ # @option opts [BOOLEAN] :data_labels
2468
+ # @option opts [String] :data_labels_position
2469
+ # @option opts [String] :pivot_table_sheet
2470
+ # @option opts [String] :pivot_table_name
2463
2471
  # @return [Array<(ChartsResponse, Fixnum, Hash)>] ChartsResponse data, response status code and response headers
2464
2472
  def cells_charts_put_worksheet_add_chart_with_http_info(name, sheet_name, chart_type, opts = {})
2465
2473
  if @api_client.config.debugging
@@ -2495,6 +2503,10 @@ module AsposeCellsCloud
2495
2503
  query_params[:'title'] = opts[:'title'] if !opts[:'title'].nil?
2496
2504
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
2497
2505
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
2506
+ query_params[:'dataLabels'] = opts[:'data_labels'] if !opts[:'data_labels'].nil?
2507
+ query_params[:'dataLabelsPosition'] = opts[:'data_labels_position'] if !opts[:'data_labels_position'].nil?
2508
+ query_params[:'pivotTableSheet'] = opts[:'pivot_table_sheet'] if !opts[:'pivot_table_sheet'].nil?
2509
+ query_params[:'pivotTableName'] = opts[:'pivot_table_name'] if !opts[:'pivot_table_name'].nil?
2498
2510
 
2499
2511
  # header parameters
2500
2512
  header_params = {}
@@ -8782,6 +8794,188 @@ module AsposeCellsCloud
8782
8794
  return data, status_code, headers
8783
8795
  end
8784
8796
 
8797
+ #
8798
+ #
8799
+ # @param name
8800
+ # @param sheet_name
8801
+ # @param pivot_table_index
8802
+ # @param pivot_field_index
8803
+ # @param pivot_field_type
8804
+ # @param pivot_field
8805
+ # @param [Hash] opts the optional parameters
8806
+ # @option opts [BOOLEAN] :need_re_calculate (default to false)
8807
+ # @option opts [String] :folder
8808
+ # @return [CellsCloudResponse]
8809
+ def cells_pivot_tables_post_pivot_table_update_pivot_field(name, sheet_name, pivot_table_index, pivot_field_index, pivot_field_type, pivot_field, opts = {})
8810
+ data, _status_code, _headers = cells_pivot_tables_post_pivot_table_update_pivot_field_with_http_info(name, sheet_name, pivot_table_index, pivot_field_index, pivot_field_type, pivot_field, opts)
8811
+ return data
8812
+ end
8813
+
8814
+ #
8815
+ #
8816
+ # @param name
8817
+ # @param sheet_name
8818
+ # @param pivot_table_index
8819
+ # @param pivot_field_index
8820
+ # @param pivot_field_type
8821
+ # @param pivot_field
8822
+ # @param [Hash] opts the optional parameters
8823
+ # @option opts [BOOLEAN] :need_re_calculate
8824
+ # @option opts [String] :folder
8825
+ # @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
8826
+ def cells_pivot_tables_post_pivot_table_update_pivot_field_with_http_info(name, sheet_name, pivot_table_index, pivot_field_index, pivot_field_type, pivot_field, opts = {})
8827
+ if @api_client.config.debugging
8828
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_field ..."
8829
+ end
8830
+ @api_client.request_token_if_needed
8831
+ # verify the required parameter 'name' is set
8832
+ if @api_client.config.client_side_validation && name.nil?
8833
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_field"
8834
+ end
8835
+ # verify the required parameter 'sheet_name' is set
8836
+ if @api_client.config.client_side_validation && sheet_name.nil?
8837
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_field"
8838
+ end
8839
+ # verify the required parameter 'pivot_table_index' is set
8840
+ if @api_client.config.client_side_validation && pivot_table_index.nil?
8841
+ fail ArgumentError, "Missing the required parameter 'pivot_table_index' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_field"
8842
+ end
8843
+ # verify the required parameter 'pivot_field_index' is set
8844
+ if @api_client.config.client_side_validation && pivot_field_index.nil?
8845
+ fail ArgumentError, "Missing the required parameter 'pivot_field_index' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_field"
8846
+ end
8847
+ # verify the required parameter 'pivot_field_type' is set
8848
+ if @api_client.config.client_side_validation && pivot_field_type.nil?
8849
+ fail ArgumentError, "Missing the required parameter 'pivot_field_type' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_field"
8850
+ end
8851
+ # verify the required parameter 'pivot_field' is set
8852
+ if @api_client.config.client_side_validation && pivot_field.nil?
8853
+ fail ArgumentError, "Missing the required parameter 'pivot_field' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_field"
8854
+ end
8855
+ # resource path
8856
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotFields/{pivotFieldIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivotTableIndex' + '}', pivot_table_index.to_s).sub('{' + 'pivotFieldIndex' + '}', pivot_field_index.to_s)
8857
+
8858
+ # query parameters
8859
+ query_params = {}
8860
+ query_params[:'pivotFieldType'] = pivot_field_type
8861
+ query_params[:'needReCalculate'] = opts[:'need_re_calculate'] if !opts[:'need_re_calculate'].nil?
8862
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
8863
+
8864
+ # header parameters
8865
+ header_params = {}
8866
+ # HTTP header 'Accept' (if needed)
8867
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8868
+ # HTTP header 'Content-Type'
8869
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
8870
+
8871
+ # form parameters
8872
+ form_params = {}
8873
+
8874
+ # http body (model)
8875
+ post_body = @api_client.object_to_http_body(pivot_field)
8876
+ #auth_names = []
8877
+ auth_names = ['JWT']
8878
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
8879
+ :header_params => header_params,
8880
+ :query_params => query_params,
8881
+ :form_params => form_params,
8882
+ :body => post_body,
8883
+ :auth_names => auth_names,
8884
+ :return_type => 'CellsCloudResponse')
8885
+ if @api_client.config.debugging
8886
+ @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_post_pivot_table_update_pivot_field\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
8887
+ end
8888
+ return data, status_code, headers
8889
+ end
8890
+
8891
+ #
8892
+ #
8893
+ # @param name
8894
+ # @param sheet_name
8895
+ # @param pivot_table_index
8896
+ # @param pivot_field_type
8897
+ # @param pivot_field
8898
+ # @param [Hash] opts the optional parameters
8899
+ # @option opts [BOOLEAN] :need_re_calculate (default to false)
8900
+ # @option opts [String] :folder
8901
+ # @return [CellsCloudResponse]
8902
+ def cells_pivot_tables_post_pivot_table_update_pivot_fields(name, sheet_name, pivot_table_index, pivot_field_type, pivot_field, opts = {})
8903
+ data, _status_code, _headers = cells_pivot_tables_post_pivot_table_update_pivot_fields_with_http_info(name, sheet_name, pivot_table_index, pivot_field_type, pivot_field, opts)
8904
+ return data
8905
+ end
8906
+
8907
+ #
8908
+ #
8909
+ # @param name
8910
+ # @param sheet_name
8911
+ # @param pivot_table_index
8912
+ # @param pivot_field_type
8913
+ # @param pivot_field
8914
+ # @param [Hash] opts the optional parameters
8915
+ # @option opts [BOOLEAN] :need_re_calculate
8916
+ # @option opts [String] :folder
8917
+ # @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
8918
+ def cells_pivot_tables_post_pivot_table_update_pivot_fields_with_http_info(name, sheet_name, pivot_table_index, pivot_field_type, pivot_field, opts = {})
8919
+ if @api_client.config.debugging
8920
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_fields ..."
8921
+ end
8922
+ @api_client.request_token_if_needed
8923
+ # verify the required parameter 'name' is set
8924
+ if @api_client.config.client_side_validation && name.nil?
8925
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_fields"
8926
+ end
8927
+ # verify the required parameter 'sheet_name' is set
8928
+ if @api_client.config.client_side_validation && sheet_name.nil?
8929
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_fields"
8930
+ end
8931
+ # verify the required parameter 'pivot_table_index' is set
8932
+ if @api_client.config.client_side_validation && pivot_table_index.nil?
8933
+ fail ArgumentError, "Missing the required parameter 'pivot_table_index' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_fields"
8934
+ end
8935
+ # verify the required parameter 'pivot_field_type' is set
8936
+ if @api_client.config.client_side_validation && pivot_field_type.nil?
8937
+ fail ArgumentError, "Missing the required parameter 'pivot_field_type' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_fields"
8938
+ end
8939
+ # verify the required parameter 'pivot_field' is set
8940
+ if @api_client.config.client_side_validation && pivot_field.nil?
8941
+ fail ArgumentError, "Missing the required parameter 'pivot_field' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_fields"
8942
+ end
8943
+ # resource path
8944
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotFields".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivotTableIndex' + '}', pivot_table_index.to_s)
8945
+
8946
+ # query parameters
8947
+ query_params = {}
8948
+ query_params[:'pivotFieldType'] = pivot_field_type
8949
+ query_params[:'needReCalculate'] = opts[:'need_re_calculate'] if !opts[:'need_re_calculate'].nil?
8950
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
8951
+
8952
+ # header parameters
8953
+ header_params = {}
8954
+ # HTTP header 'Accept' (if needed)
8955
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8956
+ # HTTP header 'Content-Type'
8957
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
8958
+
8959
+ # form parameters
8960
+ form_params = {}
8961
+
8962
+ # http body (model)
8963
+ post_body = @api_client.object_to_http_body(pivot_field)
8964
+ #auth_names = []
8965
+ auth_names = ['JWT']
8966
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
8967
+ :header_params => header_params,
8968
+ :query_params => query_params,
8969
+ :form_params => form_params,
8970
+ :body => post_body,
8971
+ :auth_names => auth_names,
8972
+ :return_type => 'CellsCloudResponse')
8973
+ if @api_client.config.debugging
8974
+ @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_post_pivot_table_update_pivot_fields\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
8975
+ end
8976
+ return data, status_code, headers
8977
+ end
8978
+
8785
8979
  # Calculates pivottable's data to cells.
8786
8980
  #
8787
8981
  # @param name Document name.
@@ -13259,6 +13453,473 @@ module AsposeCellsCloud
13259
13453
  return data, status_code, headers
13260
13454
  end
13261
13455
 
13456
+ #
13457
+ #
13458
+ # @param name
13459
+ # @param sheet_name
13460
+ # @param sparkline_group_index
13461
+ # @param [Hash] opts the optional parameters
13462
+ # @option opts [String] :folder
13463
+ # @option opts [String] :storage_name storage name.
13464
+ # @return [CellsCloudResponse]
13465
+ def cells_sparkline_groups_delete_worksheet_sparkline_group(name, sheet_name, sparkline_group_index, opts = {})
13466
+ data, _status_code, _headers = cells_sparkline_groups_delete_worksheet_sparkline_group_with_http_info(name, sheet_name, sparkline_group_index, opts)
13467
+ return data
13468
+ end
13469
+
13470
+ #
13471
+ #
13472
+ # @param name
13473
+ # @param sheet_name
13474
+ # @param sparkline_group_index
13475
+ # @param [Hash] opts the optional parameters
13476
+ # @option opts [String] :folder
13477
+ # @option opts [String] :storage_name storage name.
13478
+ # @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
13479
+ def cells_sparkline_groups_delete_worksheet_sparkline_group_with_http_info(name, sheet_name, sparkline_group_index, opts = {})
13480
+ if @api_client.config.debugging
13481
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_sparkline_groups_delete_worksheet_sparkline_group ..."
13482
+ end
13483
+ @api_client.request_token_if_needed
13484
+ # verify the required parameter 'name' is set
13485
+ if @api_client.config.client_side_validation && name.nil?
13486
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_sparkline_groups_delete_worksheet_sparkline_group"
13487
+ end
13488
+ # verify the required parameter 'sheet_name' is set
13489
+ if @api_client.config.client_side_validation && sheet_name.nil?
13490
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_sparkline_groups_delete_worksheet_sparkline_group"
13491
+ end
13492
+ # verify the required parameter 'sparkline_group_index' is set
13493
+ if @api_client.config.client_side_validation && sparkline_group_index.nil?
13494
+ fail ArgumentError, "Missing the required parameter 'sparkline_group_index' when calling CellsApi.cells_sparkline_groups_delete_worksheet_sparkline_group"
13495
+ end
13496
+ # resource path
13497
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/sparklinegroups/{sparklineGroupIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'sparklineGroupIndex' + '}', sparkline_group_index.to_s)
13498
+
13499
+ # query parameters
13500
+ query_params = {}
13501
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
13502
+ query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
13503
+
13504
+ # header parameters
13505
+ header_params = {}
13506
+ # HTTP header 'Accept' (if needed)
13507
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
13508
+ # HTTP header 'Content-Type'
13509
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
13510
+
13511
+ # form parameters
13512
+ form_params = {}
13513
+
13514
+ # http body (model)
13515
+ post_body = nil
13516
+ #auth_names = []
13517
+ auth_names = ['JWT']
13518
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
13519
+ :header_params => header_params,
13520
+ :query_params => query_params,
13521
+ :form_params => form_params,
13522
+ :body => post_body,
13523
+ :auth_names => auth_names,
13524
+ :return_type => 'CellsCloudResponse')
13525
+ if @api_client.config.debugging
13526
+ @api_client.config.logger.debug "API called: CellsApi#cells_sparkline_groups_delete_worksheet_sparkline_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
13527
+ end
13528
+ return data, status_code, headers
13529
+ end
13530
+
13531
+ #
13532
+ #
13533
+ # @param name
13534
+ # @param sheet_name
13535
+ # @param [Hash] opts the optional parameters
13536
+ # @option opts [String] :folder
13537
+ # @option opts [String] :storage_name storage name.
13538
+ # @return [CellsCloudResponse]
13539
+ def cells_sparkline_groups_delete_worksheet_sparkline_groups(name, sheet_name, opts = {})
13540
+ data, _status_code, _headers = cells_sparkline_groups_delete_worksheet_sparkline_groups_with_http_info(name, sheet_name, opts)
13541
+ return data
13542
+ end
13543
+
13544
+ #
13545
+ #
13546
+ # @param name
13547
+ # @param sheet_name
13548
+ # @param [Hash] opts the optional parameters
13549
+ # @option opts [String] :folder
13550
+ # @option opts [String] :storage_name storage name.
13551
+ # @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
13552
+ def cells_sparkline_groups_delete_worksheet_sparkline_groups_with_http_info(name, sheet_name, opts = {})
13553
+ if @api_client.config.debugging
13554
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_sparkline_groups_delete_worksheet_sparkline_groups ..."
13555
+ end
13556
+ @api_client.request_token_if_needed
13557
+ # verify the required parameter 'name' is set
13558
+ if @api_client.config.client_side_validation && name.nil?
13559
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_sparkline_groups_delete_worksheet_sparkline_groups"
13560
+ end
13561
+ # verify the required parameter 'sheet_name' is set
13562
+ if @api_client.config.client_side_validation && sheet_name.nil?
13563
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_sparkline_groups_delete_worksheet_sparkline_groups"
13564
+ end
13565
+ # resource path
13566
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/sparklinegroups".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)
13567
+
13568
+ # query parameters
13569
+ query_params = {}
13570
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
13571
+ query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
13572
+
13573
+ # header parameters
13574
+ header_params = {}
13575
+ # HTTP header 'Accept' (if needed)
13576
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
13577
+ # HTTP header 'Content-Type'
13578
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
13579
+
13580
+ # form parameters
13581
+ form_params = {}
13582
+
13583
+ # http body (model)
13584
+ post_body = nil
13585
+ #auth_names = []
13586
+ auth_names = ['JWT']
13587
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
13588
+ :header_params => header_params,
13589
+ :query_params => query_params,
13590
+ :form_params => form_params,
13591
+ :body => post_body,
13592
+ :auth_names => auth_names,
13593
+ :return_type => 'CellsCloudResponse')
13594
+ if @api_client.config.debugging
13595
+ @api_client.config.logger.debug "API called: CellsApi#cells_sparkline_groups_delete_worksheet_sparkline_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
13596
+ end
13597
+ return data, status_code, headers
13598
+ end
13599
+
13600
+ #
13601
+ #
13602
+ # @param name
13603
+ # @param sheet_name
13604
+ # @param sparkline_group_index
13605
+ # @param [Hash] opts the optional parameters
13606
+ # @option opts [String] :folder
13607
+ # @option opts [String] :storage_name storage name.
13608
+ # @return [SparklineGroupResponse]
13609
+ def cells_sparkline_groups_get_worksheet_sparkline_group(name, sheet_name, sparkline_group_index, opts = {})
13610
+ data, _status_code, _headers = cells_sparkline_groups_get_worksheet_sparkline_group_with_http_info(name, sheet_name, sparkline_group_index, opts)
13611
+ return data
13612
+ end
13613
+
13614
+ #
13615
+ #
13616
+ # @param name
13617
+ # @param sheet_name
13618
+ # @param sparkline_group_index
13619
+ # @param [Hash] opts the optional parameters
13620
+ # @option opts [String] :folder
13621
+ # @option opts [String] :storage_name storage name.
13622
+ # @return [Array<(SparklineGroupResponse, Fixnum, Hash)>] SparklineGroupResponse data, response status code and response headers
13623
+ def cells_sparkline_groups_get_worksheet_sparkline_group_with_http_info(name, sheet_name, sparkline_group_index, opts = {})
13624
+ if @api_client.config.debugging
13625
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_sparkline_groups_get_worksheet_sparkline_group ..."
13626
+ end
13627
+ @api_client.request_token_if_needed
13628
+ # verify the required parameter 'name' is set
13629
+ if @api_client.config.client_side_validation && name.nil?
13630
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_sparkline_groups_get_worksheet_sparkline_group"
13631
+ end
13632
+ # verify the required parameter 'sheet_name' is set
13633
+ if @api_client.config.client_side_validation && sheet_name.nil?
13634
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_sparkline_groups_get_worksheet_sparkline_group"
13635
+ end
13636
+ # verify the required parameter 'sparkline_group_index' is set
13637
+ if @api_client.config.client_side_validation && sparkline_group_index.nil?
13638
+ fail ArgumentError, "Missing the required parameter 'sparkline_group_index' when calling CellsApi.cells_sparkline_groups_get_worksheet_sparkline_group"
13639
+ end
13640
+ # resource path
13641
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/sparklinegroups/{sparklineGroupIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'sparklineGroupIndex' + '}', sparkline_group_index.to_s)
13642
+
13643
+ # query parameters
13644
+ query_params = {}
13645
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
13646
+ query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
13647
+
13648
+ # header parameters
13649
+ header_params = {}
13650
+ # HTTP header 'Accept' (if needed)
13651
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
13652
+ # HTTP header 'Content-Type'
13653
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
13654
+
13655
+ # form parameters
13656
+ form_params = {}
13657
+
13658
+ # http body (model)
13659
+ post_body = nil
13660
+ #auth_names = []
13661
+ auth_names = ['JWT']
13662
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
13663
+ :header_params => header_params,
13664
+ :query_params => query_params,
13665
+ :form_params => form_params,
13666
+ :body => post_body,
13667
+ :auth_names => auth_names,
13668
+ :return_type => 'SparklineGroupResponse')
13669
+ if @api_client.config.debugging
13670
+ @api_client.config.logger.debug "API called: CellsApi#cells_sparkline_groups_get_worksheet_sparkline_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
13671
+ end
13672
+ return data, status_code, headers
13673
+ end
13674
+
13675
+ # Get worksheet charts description.
13676
+ #
13677
+ # @param name Document name.
13678
+ # @param sheet_name The worksheet name.
13679
+ # @param [Hash] opts the optional parameters
13680
+ # @option opts [String] :folder Document&#39;s folder.
13681
+ # @option opts [String] :storage_name storage name.
13682
+ # @return [SparklineGroupsResponse]
13683
+ def cells_sparkline_groups_get_worksheet_sparkline_groups(name, sheet_name, opts = {})
13684
+ data, _status_code, _headers = cells_sparkline_groups_get_worksheet_sparkline_groups_with_http_info(name, sheet_name, opts)
13685
+ return data
13686
+ end
13687
+
13688
+ # Get worksheet charts description.
13689
+ #
13690
+ # @param name Document name.
13691
+ # @param sheet_name The worksheet name.
13692
+ # @param [Hash] opts the optional parameters
13693
+ # @option opts [String] :folder Document&#39;s folder.
13694
+ # @option opts [String] :storage_name storage name.
13695
+ # @return [Array<(SparklineGroupsResponse, Fixnum, Hash)>] SparklineGroupsResponse data, response status code and response headers
13696
+ def cells_sparkline_groups_get_worksheet_sparkline_groups_with_http_info(name, sheet_name, opts = {})
13697
+ if @api_client.config.debugging
13698
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_sparkline_groups_get_worksheet_sparkline_groups ..."
13699
+ end
13700
+ @api_client.request_token_if_needed
13701
+ # verify the required parameter 'name' is set
13702
+ if @api_client.config.client_side_validation && name.nil?
13703
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_sparkline_groups_get_worksheet_sparkline_groups"
13704
+ end
13705
+ # verify the required parameter 'sheet_name' is set
13706
+ if @api_client.config.client_side_validation && sheet_name.nil?
13707
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_sparkline_groups_get_worksheet_sparkline_groups"
13708
+ end
13709
+ # resource path
13710
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/sparklinegroups".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)
13711
+
13712
+ # query parameters
13713
+ query_params = {}
13714
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
13715
+ query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
13716
+
13717
+ # header parameters
13718
+ header_params = {}
13719
+ # HTTP header 'Accept' (if needed)
13720
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
13721
+ # HTTP header 'Content-Type'
13722
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
13723
+
13724
+ # form parameters
13725
+ form_params = {}
13726
+
13727
+ # http body (model)
13728
+ post_body = nil
13729
+ #auth_names = []
13730
+ auth_names = ['JWT']
13731
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
13732
+ :header_params => header_params,
13733
+ :query_params => query_params,
13734
+ :form_params => form_params,
13735
+ :body => post_body,
13736
+ :auth_names => auth_names,
13737
+ :return_type => 'SparklineGroupsResponse')
13738
+ if @api_client.config.debugging
13739
+ @api_client.config.logger.debug "API called: CellsApi#cells_sparkline_groups_get_worksheet_sparkline_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
13740
+ end
13741
+ return data, status_code, headers
13742
+ end
13743
+
13744
+ #
13745
+ #
13746
+ # @param name
13747
+ # @param sheet_name
13748
+ # @param sparkline_group_index
13749
+ # @param sparkline_group
13750
+ # @param [Hash] opts the optional parameters
13751
+ # @option opts [String] :folder
13752
+ # @option opts [String] :storage_name storage name.
13753
+ # @return [CellsCloudResponse]
13754
+ def cells_sparkline_groups_post_worksheet_sparkline_group(name, sheet_name, sparkline_group_index, sparkline_group, opts = {})
13755
+ data, _status_code, _headers = cells_sparkline_groups_post_worksheet_sparkline_group_with_http_info(name, sheet_name, sparkline_group_index, sparkline_group, opts)
13756
+ return data
13757
+ end
13758
+
13759
+ #
13760
+ #
13761
+ # @param name
13762
+ # @param sheet_name
13763
+ # @param sparkline_group_index
13764
+ # @param sparkline_group
13765
+ # @param [Hash] opts the optional parameters
13766
+ # @option opts [String] :folder
13767
+ # @option opts [String] :storage_name storage name.
13768
+ # @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
13769
+ def cells_sparkline_groups_post_worksheet_sparkline_group_with_http_info(name, sheet_name, sparkline_group_index, sparkline_group, opts = {})
13770
+ if @api_client.config.debugging
13771
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_sparkline_groups_post_worksheet_sparkline_group ..."
13772
+ end
13773
+ @api_client.request_token_if_needed
13774
+ # verify the required parameter 'name' is set
13775
+ if @api_client.config.client_side_validation && name.nil?
13776
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_sparkline_groups_post_worksheet_sparkline_group"
13777
+ end
13778
+ # verify the required parameter 'sheet_name' is set
13779
+ if @api_client.config.client_side_validation && sheet_name.nil?
13780
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_sparkline_groups_post_worksheet_sparkline_group"
13781
+ end
13782
+ # verify the required parameter 'sparkline_group_index' is set
13783
+ if @api_client.config.client_side_validation && sparkline_group_index.nil?
13784
+ fail ArgumentError, "Missing the required parameter 'sparkline_group_index' when calling CellsApi.cells_sparkline_groups_post_worksheet_sparkline_group"
13785
+ end
13786
+ # verify the required parameter 'sparkline_group' is set
13787
+ if @api_client.config.client_side_validation && sparkline_group.nil?
13788
+ fail ArgumentError, "Missing the required parameter 'sparkline_group' when calling CellsApi.cells_sparkline_groups_post_worksheet_sparkline_group"
13789
+ end
13790
+ # resource path
13791
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/sparklinegroups/{sparklineGroupIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)
13792
+
13793
+ # query parameters
13794
+ query_params = {}
13795
+ query_params[:'sparklineGroupIndex'] = sparkline_group_index
13796
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
13797
+ query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
13798
+
13799
+ # header parameters
13800
+ header_params = {}
13801
+ # HTTP header 'Accept' (if needed)
13802
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
13803
+ # HTTP header 'Content-Type'
13804
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
13805
+
13806
+ # form parameters
13807
+ form_params = {}
13808
+
13809
+ # http body (model)
13810
+ post_body = @api_client.object_to_http_body(sparkline_group)
13811
+ #auth_names = []
13812
+ auth_names = ['JWT']
13813
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
13814
+ :header_params => header_params,
13815
+ :query_params => query_params,
13816
+ :form_params => form_params,
13817
+ :body => post_body,
13818
+ :auth_names => auth_names,
13819
+ :return_type => 'CellsCloudResponse')
13820
+ if @api_client.config.debugging
13821
+ @api_client.config.logger.debug "API called: CellsApi#cells_sparkline_groups_post_worksheet_sparkline_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
13822
+ end
13823
+ return data, status_code, headers
13824
+ end
13825
+
13826
+ #
13827
+ #
13828
+ # @param name
13829
+ # @param sheet_name
13830
+ # @param type
13831
+ # @param data_range
13832
+ # @param is_vertical
13833
+ # @param location_range
13834
+ # @param [Hash] opts the optional parameters
13835
+ # @option opts [String] :folder
13836
+ # @option opts [String] :storage_name storage name.
13837
+ # @return [CellsCloudResponse]
13838
+ def cells_sparkline_groups_put_worksheet_sparkline_group(name, sheet_name, type, data_range, is_vertical, location_range, opts = {})
13839
+ data, _status_code, _headers = cells_sparkline_groups_put_worksheet_sparkline_group_with_http_info(name, sheet_name, type, data_range, is_vertical, location_range, opts)
13840
+ return data
13841
+ end
13842
+
13843
+ #
13844
+ #
13845
+ # @param name
13846
+ # @param sheet_name
13847
+ # @param type
13848
+ # @param data_range
13849
+ # @param is_vertical
13850
+ # @param location_range
13851
+ # @param [Hash] opts the optional parameters
13852
+ # @option opts [String] :folder
13853
+ # @option opts [String] :storage_name storage name.
13854
+ # @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
13855
+ def cells_sparkline_groups_put_worksheet_sparkline_group_with_http_info(name, sheet_name, type, data_range, is_vertical, location_range, opts = {})
13856
+ if @api_client.config.debugging
13857
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_sparkline_groups_put_worksheet_sparkline_group ..."
13858
+ end
13859
+ @api_client.request_token_if_needed
13860
+ # verify the required parameter 'name' is set
13861
+ if @api_client.config.client_side_validation && name.nil?
13862
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_sparkline_groups_put_worksheet_sparkline_group"
13863
+ end
13864
+ # verify the required parameter 'sheet_name' is set
13865
+ if @api_client.config.client_side_validation && sheet_name.nil?
13866
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_sparkline_groups_put_worksheet_sparkline_group"
13867
+ end
13868
+ # verify the required parameter 'type' is set
13869
+ if @api_client.config.client_side_validation && type.nil?
13870
+ fail ArgumentError, "Missing the required parameter 'type' when calling CellsApi.cells_sparkline_groups_put_worksheet_sparkline_group"
13871
+ end
13872
+ # verify the required parameter 'data_range' is set
13873
+ if @api_client.config.client_side_validation && data_range.nil?
13874
+ fail ArgumentError, "Missing the required parameter 'data_range' when calling CellsApi.cells_sparkline_groups_put_worksheet_sparkline_group"
13875
+ end
13876
+ # verify the required parameter 'is_vertical' is set
13877
+ if @api_client.config.client_side_validation && is_vertical.nil?
13878
+ fail ArgumentError, "Missing the required parameter 'is_vertical' when calling CellsApi.cells_sparkline_groups_put_worksheet_sparkline_group"
13879
+ end
13880
+ # verify the required parameter 'location_range' is set
13881
+ if @api_client.config.client_side_validation && location_range.nil?
13882
+ fail ArgumentError, "Missing the required parameter 'location_range' when calling CellsApi.cells_sparkline_groups_put_worksheet_sparkline_group"
13883
+ end
13884
+ # resource path
13885
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/sparklinegroups".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)
13886
+
13887
+ # query parameters
13888
+ query_params = {}
13889
+ query_params[:'type'] = type
13890
+ query_params[:'dataRange'] = data_range
13891
+ query_params[:'isVertical'] = is_vertical
13892
+ query_params[:'locationRange'] = location_range
13893
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
13894
+ query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
13895
+
13896
+ # header parameters
13897
+ header_params = {}
13898
+ # HTTP header 'Accept' (if needed)
13899
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
13900
+ # HTTP header 'Content-Type'
13901
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
13902
+
13903
+ # form parameters
13904
+ form_params = {}
13905
+
13906
+ # http body (model)
13907
+ post_body = nil
13908
+ #auth_names = []
13909
+ auth_names = ['JWT']
13910
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
13911
+ :header_params => header_params,
13912
+ :query_params => query_params,
13913
+ :form_params => form_params,
13914
+ :body => post_body,
13915
+ :auth_names => auth_names,
13916
+ :return_type => 'CellsCloudResponse')
13917
+ if @api_client.config.debugging
13918
+ @api_client.config.logger.debug "API called: CellsApi#cells_sparkline_groups_put_worksheet_sparkline_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
13919
+ end
13920
+ return data, status_code, headers
13921
+ end
13922
+
13262
13923
  # Run tasks
13263
13924
  #
13264
13925
  # @param task_data