aspose_cells_cloud 24.4 → 24.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -4
  3. data/lib/aspose_cells_cloud/api/cells_api.rb +16 -1
  4. data/lib/aspose_cells_cloud/models/abstract_calculation_monitor.rb +3 -3
  5. data/lib/aspose_cells_cloud/models/{analyze_suggestion.rb → add_text_options.rb} +83 -71
  6. data/lib/aspose_cells_cloud/models/analyzed_result.rb +4 -4
  7. data/lib/aspose_cells_cloud/models/analyzed_table_description.rb +16 -16
  8. data/lib/aspose_cells_cloud/models/{split_result_document.rb → applied_operate.rb} +12 -24
  9. data/lib/aspose_cells_cloud/models/{transformation.rb → applied_step.rb} +23 -23
  10. data/lib/aspose_cells_cloud/models/axis.rb +1 -1
  11. data/lib/aspose_cells_cloud/models/{analyze_excel_response.rb → base_operate_options.rb} +12 -12
  12. data/lib/aspose_cells_cloud/models/cells_object_operate_task_parameter.rb +14 -14
  13. data/lib/aspose_cells_cloud/models/chart.rb +12 -12
  14. data/lib/aspose_cells_cloud/models/chart_area.rb +1 -13
  15. data/lib/aspose_cells_cloud/models/chart_frame.rb +1 -13
  16. data/lib/aspose_cells_cloud/models/chart_operate_parameter.rb +11 -11
  17. data/lib/aspose_cells_cloud/models/chart_point.rb +15 -3
  18. data/lib/aspose_cells_cloud/models/chart_points.rb +1 -1
  19. data/lib/aspose_cells_cloud/models/convert_task_parameter.rb +5 -5
  20. data/lib/aspose_cells_cloud/models/convert_worksheet_task_parameter.rb +10 -10
  21. data/lib/aspose_cells_cloud/models/data_cleansing.rb +2 -2
  22. data/lib/aspose_cells_cloud/models/data_column_fill_value.rb +2 -2
  23. data/lib/aspose_cells_cloud/models/data_fill.rb +3 -3
  24. data/lib/aspose_cells_cloud/models/data_fill_value.rb +5 -5
  25. data/lib/aspose_cells_cloud/models/data_item.rb +2 -2
  26. data/lib/aspose_cells_cloud/models/data_labels.rb +1 -13
  27. data/lib/aspose_cells_cloud/models/{query_data_source.rb → data_query.rb} +44 -20
  28. data/lib/aspose_cells_cloud/models/data_source.rb +2 -2
  29. data/lib/aspose_cells_cloud/models/data_transformation_request.rb +26 -14
  30. data/lib/aspose_cells_cloud/models/deduplication_region.rb +2 -2
  31. data/lib/aspose_cells_cloud/models/discover_chart.rb +6 -6
  32. data/lib/aspose_cells_cloud/models/discover_pivot_table.rb +4 -4
  33. data/lib/aspose_cells_cloud/models/display_unit_label.rb +1 -25
  34. data/lib/aspose_cells_cloud/models/excel_data_statistics.rb +5 -17
  35. data/lib/aspose_cells_cloud/models/file_info.rb +3 -3
  36. data/lib/aspose_cells_cloud/models/import_data_task_parameter.rb +5 -5
  37. data/lib/aspose_cells_cloud/models/legend.rb +1 -13
  38. data/lib/aspose_cells_cloud/models/legend_entry.rb +2 -2
  39. data/lib/aspose_cells_cloud/models/list_object_operate_parameter.rb +1 -1
  40. data/lib/aspose_cells_cloud/models/load_data.rb +11 -35
  41. data/lib/aspose_cells_cloud/models/load_to.rb +3 -3
  42. data/lib/aspose_cells_cloud/models/marker.rb +4 -4
  43. data/lib/aspose_cells_cloud/models/{query_table.rb → merge_queries.rb} +65 -53
  44. data/lib/aspose_cells_cloud/models/operate_object.rb +2 -2
  45. data/lib/aspose_cells_cloud/models/operate_object_position.rb +7 -7
  46. data/lib/aspose_cells_cloud/models/operate_parameter.rb +1 -1
  47. data/lib/aspose_cells_cloud/models/page_break_operate_parameter.rb +6 -6
  48. data/lib/aspose_cells_cloud/models/page_setup_operate_parameter.rb +1 -1
  49. data/lib/aspose_cells_cloud/models/pivot_column.rb +18 -6
  50. data/lib/aspose_cells_cloud/models/pivot_table.rb +1 -1
  51. data/lib/aspose_cells_cloud/models/pivot_table_operate_parameter.rb +8 -8
  52. data/lib/aspose_cells_cloud/models/plot_area.rb +1 -13
  53. data/lib/aspose_cells_cloud/models/result_destination.rb +3 -3
  54. data/lib/aspose_cells_cloud/models/save_result.rb +1 -1
  55. data/lib/aspose_cells_cloud/models/save_result_task_parameter.rb +2 -2
  56. data/lib/aspose_cells_cloud/models/series.rb +8 -32
  57. data/lib/aspose_cells_cloud/models/series_items.rb +1 -1
  58. data/lib/aspose_cells_cloud/models/shape_operate_parameter.rb +1 -1
  59. data/lib/aspose_cells_cloud/models/single_value.rb +2 -2
  60. data/lib/aspose_cells_cloud/models/smart_marker_task_parameter.rb +6 -6
  61. data/lib/aspose_cells_cloud/models/sort_key.rb +2 -2
  62. data/lib/aspose_cells_cloud/models/split_result.rb +1 -1
  63. data/lib/aspose_cells_cloud/models/split_workbook_task_parameter.rb +5 -5
  64. data/lib/aspose_cells_cloud/models/task_data.rb +1 -1
  65. data/lib/aspose_cells_cloud/models/task_description.rb +2 -2
  66. data/lib/aspose_cells_cloud/models/task_run_result.rb +2 -2
  67. data/lib/aspose_cells_cloud/models/text_item.rb +1 -1
  68. data/lib/aspose_cells_cloud/models/text_items.rb +1 -1
  69. data/lib/aspose_cells_cloud/models/text_options.rb +6 -6
  70. data/lib/aspose_cells_cloud/models/title.rb +1 -13
  71. data/lib/aspose_cells_cloud/models/trendline.rb +2 -2
  72. data/lib/aspose_cells_cloud/models/trendlines.rb +1 -1
  73. data/lib/aspose_cells_cloud/models/unpivot_column.rb +19 -7
  74. data/lib/aspose_cells_cloud/models/workbook_settings_operate_parameter.rb +1 -1
  75. data/lib/aspose_cells_cloud/models/worksheet_data_statistics.rb +10 -10
  76. data/lib/aspose_cells_cloud/models/worksheet_operate_parameter.rb +3 -3
  77. data/lib/aspose_cells_cloud/requests/post_access_token_request.rb +92 -0
  78. data/lib/aspose_cells_cloud/requests/post_add_text_content_request.rb +103 -0
  79. data/lib/aspose_cells_cloud/version.rb +1 -1
  80. data/lib/aspose_cells_cloud.rb +9 -7
  81. data/spec/api/data_processing_controller_spec.rb +34 -0
  82. metadata +10 -8
@@ -31,25 +31,25 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class WorksheetDataStatistics
34
- #
34
+ #Represents worksheet name.
35
35
  attr_accessor :name
36
- #
36
+ #Represents chart number.
37
37
  attr_accessor :charts_count
38
- #
38
+ #Represents list object number.
39
39
  attr_accessor :tables_count
40
- #
40
+ #Represents pivot table number.
41
41
  attr_accessor :pivot_tables_count
42
- #
42
+ #Represents shape number.
43
43
  attr_accessor :shapes_count
44
- #
44
+ #Represents shape number.
45
45
  attr_accessor :hyperlinks_count
46
- #
46
+ #Represents hyperlink number.
47
47
  attr_accessor :query_tables_count
48
- #
48
+ #Represents query table number.
49
49
  attr_accessor :cells_count
50
- #
50
+ #Represents cell number.
51
51
  attr_accessor :cells_count_in_table
52
- #
52
+ #Represents formula number.
53
53
  attr_accessor :cells_count_is_formula
54
54
 
55
55
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -31,13 +31,13 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class WorksheetOperateParameter
34
- #
34
+ #Represents worksheet name.
35
35
  attr_accessor :name
36
- #
36
+ #Represents worksheet type.
37
37
  attr_accessor :sheet_type
38
38
  #rename worksheet name
39
39
  attr_accessor :new_name
40
- #
40
+ #Represents move position.
41
41
  attr_accessor :moving_request
42
42
  #
43
43
  attr_accessor :operate_type
@@ -0,0 +1,92 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="PostAccessToken_request.rb.cs">
4
+ Copyright (c) 2024 Aspose.Cells Cloud
5
+ </copyright>
6
+ <summary>
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ SOFTWARE.
24
+ </summary>
25
+ --------------------------------------------------------------------------------------------------------------------
26
+ =end
27
+
28
+
29
+ require "uri"
30
+
31
+ module AsposeCellsCloud
32
+ class PostAccessTokenRequest
33
+
34
+
35
+ def initialize(attributes = {})
36
+ return unless attributes.is_a?(Hash)
37
+
38
+ # convert string to symbol for hash key
39
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
40
+
41
+
42
+ end
43
+ # Attribute mapping from ruby-style variable name to JSON key.
44
+ def self.attribute_map
45
+ {
46
+ }
47
+ end
48
+
49
+ # Attribute type mapping.
50
+ def self.swagger_types
51
+ {
52
+ }
53
+ end
54
+
55
+ def create_http_request(api_client,opts = {})
56
+ if api_client.config.debugging
57
+ api_client.config.logger.debug "Calling API: CellsApi.post_access_token ..."
58
+ end
59
+ api_client.request_token_if_needed
60
+
61
+ # resource path
62
+ local_var_path = "/cells/connect/token"
63
+ # query parameters
64
+ query_params = {}
65
+ # header parameters
66
+ header_params = {}
67
+ # HTTP header 'Accept' (if needed)
68
+ header_params['Accept'] = api_client.select_header_accept(['application/json'])
69
+ # HTTP header 'Content-Type'
70
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
71
+
72
+ # form parameters
73
+ form_params = {}
74
+ post_body = nil
75
+
76
+
77
+ #auth_names = []
78
+ auth_names = ['JWT']
79
+ data, status_code, headers = api_client.call_api(:POST, local_var_path,
80
+ :header_params => header_params,
81
+ :query_params => query_params,
82
+ :form_params => form_params,
83
+ :body => post_body,
84
+ :auth_names => auth_names,
85
+ :return_type => 'String')
86
+ if api_client.config.debugging
87
+ api_client.config.logger.debug "API called: Specification.Name>Api.post_access_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
+ end
89
+ return data, status_code, headers
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,103 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="PostAddTextContent_request.rb.cs">
4
+ Copyright (c) 2024 Aspose.Cells Cloud
5
+ </copyright>
6
+ <summary>
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ SOFTWARE.
24
+ </summary>
25
+ --------------------------------------------------------------------------------------------------------------------
26
+ =end
27
+
28
+
29
+ require "uri"
30
+
31
+ module AsposeCellsCloud
32
+ class PostAddTextContentRequest
33
+
34
+ attr_accessor :add_text_options
35
+
36
+ def initialize(attributes = {})
37
+ return unless attributes.is_a?(Hash)
38
+
39
+ # convert string to symbol for hash key
40
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
41
+
42
+ if attributes.has_key?(:'addTextOptions')
43
+ self.add_text_options = attributes[:'addTextOptions']
44
+ end
45
+
46
+ end
47
+ # Attribute mapping from ruby-style variable name to JSON key.
48
+ def self.attribute_map
49
+ {
50
+ :'add_text_options' => :'addTextOptions'
51
+ }
52
+ end
53
+
54
+ # Attribute type mapping.
55
+ def self.swagger_types
56
+ {
57
+ :'add_text_options' => :'AddTextOptions'
58
+ }
59
+ end
60
+
61
+ def create_http_request(api_client,opts = {})
62
+ if api_client.config.debugging
63
+ api_client.config.logger.debug "Calling API: CellsApi.post_add_text_content ..."
64
+ end
65
+ api_client.request_token_if_needed
66
+ # verify the required parameter 'add_text_options' is set
67
+ if api_client.config.client_side_validation && add_text_options.nil?
68
+ fail ArgumentError, "Missing the required parameter 'add_text_options' when calling CellsApi.post_add_text_content "
69
+ end
70
+
71
+ # resource path
72
+ local_var_path = "/cells/addtext"
73
+ # query parameters
74
+ query_params = {}
75
+ # header parameters
76
+ header_params = {}
77
+ # HTTP header 'Accept' (if needed)
78
+ header_params['Accept'] = api_client.select_header_accept(['application/json'])
79
+ # HTTP header 'Content-Type'
80
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
81
+
82
+ # form parameters
83
+ form_params = {}
84
+ post_body = nil
85
+ post_body = api_client.object_to_http_body(add_text_options)
86
+
87
+
88
+ #auth_names = []
89
+ auth_names = ['JWT']
90
+ data, status_code, headers = api_client.call_api(:POST, local_var_path,
91
+ :header_params => header_params,
92
+ :query_params => query_params,
93
+ :form_params => form_params,
94
+ :body => post_body,
95
+ :auth_names => auth_names,
96
+ :return_type => 'FileInfo')
97
+ if api_client.config.debugging
98
+ api_client.config.logger.debug "API called: Specification.Name>Api.post_add_text_content\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
99
+ end
100
+ return data, status_code, headers
101
+ end
102
+ end
103
+ end
@@ -27,5 +27,5 @@
27
27
 
28
28
 
29
29
  module AsposeCellsCloud
30
- VERSION = "24.4"
30
+ VERSION = "24.7"
31
31
  end
@@ -124,7 +124,6 @@ require 'aspose_cells_cloud/models/paginated_save_options'
124
124
  require 'aspose_cells_cloud/models/single_value'
125
125
  require 'aspose_cells_cloud/models/sort_key'
126
126
  require 'aspose_cells_cloud/models/split_result'
127
- require 'aspose_cells_cloud/models/split_result_document'
128
127
  require 'aspose_cells_cloud/models/style'
129
128
  require 'aspose_cells_cloud/models/style_format_condition'
130
129
  require 'aspose_cells_cloud/models/styles'
@@ -196,7 +195,6 @@ require 'aspose_cells_cloud/models/txt_save_options'
196
195
  require 'aspose_cells_cloud/models/xlsb_save_options'
197
196
  require 'aspose_cells_cloud/models/xls_save_options'
198
197
  require 'aspose_cells_cloud/models/xps_save_options'
199
- require 'aspose_cells_cloud/models/analyze_excel_response'
200
198
  require 'aspose_cells_cloud/models/arc_shape_response'
201
199
  require 'aspose_cells_cloud/models/auto_filter_response'
202
200
  require 'aspose_cells_cloud/models/auto_shape_response'
@@ -338,23 +336,26 @@ require 'aspose_cells_cloud/models/worksheet_moving_request'
338
336
  require 'aspose_cells_cloud/models/image_or_print_options'
339
337
  require 'aspose_cells_cloud/models/rendering_font'
340
338
  require 'aspose_cells_cloud/models/rendering_watermark'
339
+ require 'aspose_cells_cloud/models/applied_operate'
340
+ require 'aspose_cells_cloud/models/applied_step'
341
+ require 'aspose_cells_cloud/models/data_query'
341
342
  require 'aspose_cells_cloud/models/load_data'
342
343
  require 'aspose_cells_cloud/models/load_to'
344
+ require 'aspose_cells_cloud/models/merge_queries'
343
345
  require 'aspose_cells_cloud/models/pivot_column'
344
- require 'aspose_cells_cloud/models/query_data_source'
345
- require 'aspose_cells_cloud/models/query_table'
346
- require 'aspose_cells_cloud/models/transformation'
347
346
  require 'aspose_cells_cloud/models/unpivot_column'
348
347
  require 'aspose_cells_cloud/models/pivot_field'
349
348
  require 'aspose_cells_cloud/models/pivot_filter'
350
349
  require 'aspose_cells_cloud/models/pivot_item'
351
350
  require 'aspose_cells_cloud/models/pivot_table'
352
351
  require 'aspose_cells_cloud/models/pivot_tables'
352
+ require 'aspose_cells_cloud/models/add_text_options'
353
+ require 'aspose_cells_cloud/models/base_operate_options'
354
+ require 'aspose_cells_cloud/models/cell_value'
353
355
  require 'aspose_cells_cloud/models/custom_parser_config'
354
356
  require 'aspose_cells_cloud/models/import2_dimension_double_array_option'
355
357
  require 'aspose_cells_cloud/models/import2_dimension_int_array_option'
356
358
  require 'aspose_cells_cloud/models/import2_dimension_string_array_option'
357
- require 'aspose_cells_cloud/models/cell_value'
358
359
  require 'aspose_cells_cloud/models/import_batch_data_option'
359
360
  require 'aspose_cells_cloud/models/import_csv_data_option'
360
361
  require 'aspose_cells_cloud/models/import_double_array_option'
@@ -436,7 +437,6 @@ require 'aspose_cells_cloud/models/walls'
436
437
  require 'aspose_cells_cloud/models/analyzed_column_description'
437
438
  require 'aspose_cells_cloud/models/analyzed_result'
438
439
  require 'aspose_cells_cloud/models/analyzed_table_description'
439
- require 'aspose_cells_cloud/models/analyze_suggestion'
440
440
  require 'aspose_cells_cloud/models/discover_chart'
441
441
  require 'aspose_cells_cloud/models/discover_pivot_table'
442
442
  require 'aspose_cells_cloud/models/excel_data_statistics'
@@ -466,6 +466,7 @@ require 'aspose_cells_cloud/requests/post_batch_protect_request'
466
466
  require 'aspose_cells_cloud/requests/post_batch_lock_request'
467
467
  require 'aspose_cells_cloud/requests/post_batch_unlock_request'
468
468
  require 'aspose_cells_cloud/requests/post_batch_split_request'
469
+ require 'aspose_cells_cloud/requests/post_access_token_request'
469
470
  require 'aspose_cells_cloud/requests/post_clear_contents_request'
470
471
  require 'aspose_cells_cloud/requests/post_clear_formats_request'
471
472
  require 'aspose_cells_cloud/requests/post_update_worksheet_range_style_request'
@@ -698,6 +699,7 @@ require 'aspose_cells_cloud/requests/delete_worksheet_sparkline_group_request'
698
699
  require 'aspose_cells_cloud/requests/put_worksheet_sparkline_group_request'
699
700
  require 'aspose_cells_cloud/requests/post_worksheet_sparkline_group_request'
700
701
  require 'aspose_cells_cloud/requests/post_run_task_request'
702
+ require 'aspose_cells_cloud/requests/post_add_text_content_request'
701
703
  require 'aspose_cells_cloud/requests/get_workbook_default_style_request'
702
704
  require 'aspose_cells_cloud/requests/get_workbook_text_items_request'
703
705
  require 'aspose_cells_cloud/requests/get_workbook_names_request'
@@ -70,4 +70,38 @@ describe 'CellsApi' do
70
70
  @instance.post_workbook_data_fill(request);
71
71
  end
72
72
  end
73
+
74
+ describe 'post_data_transformation test' do
75
+ it "should work" do
76
+ remote_folder = 'TestData/In'
77
+
78
+ local_name = 'BookTableL2W.xlsx'
79
+ remote_name = 'BookTableL2W.xlsx'
80
+
81
+
82
+ mapFiles = { }
83
+ mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
84
+
85
+ uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
86
+ @instance.upload_file(uploadrequest)
87
+ dataTransformationRequestLoadDataLoadTo = AsposeCellsCloud::LoadTo.new(:beginColumnIndex=>2 ,:beginRowIndex=>3 ,:Worksheet=>'L2W' );
88
+ dataTransformationRequestLoadDataDataQueryDataItem = AsposeCellsCloud::DataItem.new(:DataItemType=>'Table' ,:Value=>'Table1' );
89
+ dataTransformationRequestLoadDataDataQueryDataSource = AsposeCellsCloud::DataSource.new(:DataSourceType=>'CloudFileSystem' ,:DataPath=>'BookTableL2W.xlsx' );
90
+ dataTransformationRequestLoadDataDataQuery = AsposeCellsCloud::DataQuery.new(:Name=>'DataQuery' ,:DataItem=>dataTransformationRequestLoadDataDataQueryDataItem ,:DataSource=>dataTransformationRequestLoadDataDataQueryDataSource ,:DataSourceDataType=>'ListObject' );
91
+ dataTransformationRequestLoadData = AsposeCellsCloud::LoadData.new(:LoadTo=>dataTransformationRequestLoadDataLoadTo ,:DataQuery=>dataTransformationRequestLoadDataDataQuery );
92
+ dataTransformationRequestAppliedStepsAppliedStep0AppliedOperateUnpivotColumnNames = [
93
+ '2017',
94
+ '2018',
95
+ '2019'
96
+ ];
97
+ dataTransformationRequestAppliedStepsAppliedStep0AppliedOperate = AsposeCellsCloud::UnpivotColumn.new(:AppliedOperateType=>'UnpivotColumn' ,:ValueMapName=>'Count' ,:ColumnMapName=>'Date' ,:UnpivotColumnNames=>dataTransformationRequestAppliedStepsAppliedStep0AppliedOperateUnpivotColumnNames );
98
+ dataTransformationRequestAppliedStepsAppliedStep0 = AsposeCellsCloud::AppliedStep.new(:StepName=>'UnpivotColumn' ,:AppliedOperate=>dataTransformationRequestAppliedStepsAppliedStep0AppliedOperate );
99
+ dataTransformationRequestAppliedSteps = [
100
+ dataTransformationRequestAppliedStepsAppliedStep0
101
+ ];
102
+ dataTransformationRequest = AsposeCellsCloud::DataTransformationRequest.new(:LoadData=>dataTransformationRequestLoadData ,:AppliedSteps=>dataTransformationRequestAppliedSteps );
103
+ request = AsposeCellsCloud::PostDataTransformationRequest.new(:dataTransformationRequest=>dataTransformationRequest);
104
+ @instance.post_data_transformation(request);
105
+ end
106
+ end
73
107
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspose_cells_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: '24.4'
4
+ version: '24.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aspose Cells Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-28 00:00:00.000000000 Z
11
+ date: 2024-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -241,12 +241,13 @@ files:
241
241
  - lib/aspose_cells_cloud/models/above_average.rb
242
242
  - lib/aspose_cells_cloud/models/abstract_calculation_engine.rb
243
243
  - lib/aspose_cells_cloud/models/abstract_calculation_monitor.rb
244
+ - lib/aspose_cells_cloud/models/add_text_options.rb
244
245
  - lib/aspose_cells_cloud/models/analyze_excel_request.rb
245
- - lib/aspose_cells_cloud/models/analyze_excel_response.rb
246
- - lib/aspose_cells_cloud/models/analyze_suggestion.rb
247
246
  - lib/aspose_cells_cloud/models/analyzed_column_description.rb
248
247
  - lib/aspose_cells_cloud/models/analyzed_result.rb
249
248
  - lib/aspose_cells_cloud/models/analyzed_table_description.rb
249
+ - lib/aspose_cells_cloud/models/applied_operate.rb
250
+ - lib/aspose_cells_cloud/models/applied_step.rb
250
251
  - lib/aspose_cells_cloud/models/arc_shape.rb
251
252
  - lib/aspose_cells_cloud/models/arc_shape_response.rb
252
253
  - lib/aspose_cells_cloud/models/area.rb
@@ -259,6 +260,7 @@ files:
259
260
  - lib/aspose_cells_cloud/models/auto_shapes_response.rb
260
261
  - lib/aspose_cells_cloud/models/axis.rb
261
262
  - lib/aspose_cells_cloud/models/axis_response.rb
263
+ - lib/aspose_cells_cloud/models/base_operate_options.rb
262
264
  - lib/aspose_cells_cloud/models/batch_convert_request.rb
263
265
  - lib/aspose_cells_cloud/models/batch_lock_request.rb
264
266
  - lib/aspose_cells_cloud/models/batch_protect_request.rb
@@ -346,6 +348,7 @@ files:
346
348
  - lib/aspose_cells_cloud/models/data_item.rb
347
349
  - lib/aspose_cells_cloud/models/data_labels.rb
348
350
  - lib/aspose_cells_cloud/models/data_labels_response.rb
351
+ - lib/aspose_cells_cloud/models/data_query.rb
349
352
  - lib/aspose_cells_cloud/models/data_sorter.rb
350
353
  - lib/aspose_cells_cloud/models/data_sorter_key.rb
351
354
  - lib/aspose_cells_cloud/models/data_source.rb
@@ -456,6 +459,7 @@ files:
456
459
  - lib/aspose_cells_cloud/models/markdown_save_options.rb
457
460
  - lib/aspose_cells_cloud/models/marker.rb
458
461
  - lib/aspose_cells_cloud/models/match_condition_request.rb
462
+ - lib/aspose_cells_cloud/models/merge_queries.rb
459
463
  - lib/aspose_cells_cloud/models/merged_cell.rb
460
464
  - lib/aspose_cells_cloud/models/merged_cell_response.rb
461
465
  - lib/aspose_cells_cloud/models/merged_cells.rb
@@ -517,8 +521,6 @@ files:
517
521
  - lib/aspose_cells_cloud/models/protect_sheet_parameter.rb
518
522
  - lib/aspose_cells_cloud/models/protect_workbook_request.rb
519
523
  - lib/aspose_cells_cloud/models/protection.rb
520
- - lib/aspose_cells_cloud/models/query_data_source.rb
521
- - lib/aspose_cells_cloud/models/query_table.rb
522
524
  - lib/aspose_cells_cloud/models/radio_button.rb
523
525
  - lib/aspose_cells_cloud/models/radio_button_response.rb
524
526
  - lib/aspose_cells_cloud/models/range.rb
@@ -570,7 +572,6 @@ files:
570
572
  - lib/aspose_cells_cloud/models/spinner.rb
571
573
  - lib/aspose_cells_cloud/models/spinner_response.rb
572
574
  - lib/aspose_cells_cloud/models/split_result.rb
573
- - lib/aspose_cells_cloud/models/split_result_document.rb
574
575
  - lib/aspose_cells_cloud/models/split_result_response.rb
575
576
  - lib/aspose_cells_cloud/models/split_workbook_task_parameter.rb
576
577
  - lib/aspose_cells_cloud/models/spreadsheet_m_l2003_save_options.rb
@@ -608,7 +609,6 @@ files:
608
609
  - lib/aspose_cells_cloud/models/title_response.rb
609
610
  - lib/aspose_cells_cloud/models/top10.rb
610
611
  - lib/aspose_cells_cloud/models/top10_filter.rb
611
- - lib/aspose_cells_cloud/models/transformation.rb
612
612
  - lib/aspose_cells_cloud/models/trendline.rb
613
613
  - lib/aspose_cells_cloud/models/trendline_response.rb
614
614
  - lib/aspose_cells_cloud/models/trendlines.rb
@@ -790,6 +790,8 @@ files:
790
790
  - lib/aspose_cells_cloud/requests/move_file_request.rb
791
791
  - lib/aspose_cells_cloud/requests/move_folder_request.rb
792
792
  - lib/aspose_cells_cloud/requests/object_exists_request.rb
793
+ - lib/aspose_cells_cloud/requests/post_access_token_request.rb
794
+ - lib/aspose_cells_cloud/requests/post_add_text_content_request.rb
793
795
  - lib/aspose_cells_cloud/requests/post_analyze_excel_request.rb
794
796
  - lib/aspose_cells_cloud/requests/post_assemble_request.rb
795
797
  - lib/aspose_cells_cloud/requests/post_autofit_workbook_columns_request.rb