aspose_cells_cloud 24.3 → 24.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +16 -7
  3. data/lib/aspose_cells_cloud/api/cells_api.rb +8 -0
  4. data/lib/aspose_cells_cloud/models/analyzed_result.rb +4 -4
  5. data/lib/aspose_cells_cloud/models/analyzed_table_description.rb +16 -16
  6. data/lib/aspose_cells_cloud/models/axis.rb +1 -1
  7. data/lib/aspose_cells_cloud/models/cells_object_operate_task_parameter.rb +16 -4
  8. data/lib/aspose_cells_cloud/models/chart.rb +12 -12
  9. data/lib/aspose_cells_cloud/models/chart_area.rb +1 -13
  10. data/lib/aspose_cells_cloud/models/chart_frame.rb +1 -13
  11. data/lib/aspose_cells_cloud/models/chart_operate_parameter.rb +11 -11
  12. data/lib/aspose_cells_cloud/models/chart_point.rb +15 -3
  13. data/lib/aspose_cells_cloud/models/chart_points.rb +1 -1
  14. data/lib/aspose_cells_cloud/models/convert_task_parameter.rb +17 -5
  15. data/lib/aspose_cells_cloud/models/convert_worksheet_task_parameter.rb +33 -9
  16. data/lib/aspose_cells_cloud/models/data_cleansing.rb +2 -2
  17. data/lib/aspose_cells_cloud/models/data_column_fill_value.rb +2 -2
  18. data/lib/aspose_cells_cloud/models/data_fill.rb +3 -3
  19. data/lib/aspose_cells_cloud/models/data_fill_value.rb +5 -5
  20. data/lib/aspose_cells_cloud/models/{split_result_document.rb → data_item.rb} +23 -23
  21. data/lib/aspose_cells_cloud/models/data_labels.rb +1 -13
  22. data/lib/aspose_cells_cloud/models/{analyze_excel_response.rb → data_source.rb} +25 -13
  23. data/lib/aspose_cells_cloud/models/{analyze_suggestion.rb → data_transformation_request.rb} +50 -86
  24. data/lib/aspose_cells_cloud/models/deduplication_region.rb +2 -2
  25. data/lib/aspose_cells_cloud/models/discover_chart.rb +6 -6
  26. data/lib/aspose_cells_cloud/models/discover_pivot_table.rb +4 -4
  27. data/lib/aspose_cells_cloud/models/display_unit_label.rb +1 -25
  28. data/lib/aspose_cells_cloud/models/excel_data_statistics.rb +5 -17
  29. data/lib/aspose_cells_cloud/models/file_info.rb +3 -3
  30. data/lib/aspose_cells_cloud/models/import2_dimension_double_array_option.rb +13 -1
  31. data/lib/aspose_cells_cloud/models/import2_dimension_int_array_option.rb +13 -1
  32. data/lib/aspose_cells_cloud/models/import2_dimension_string_array_option.rb +13 -1
  33. data/lib/aspose_cells_cloud/models/import_batch_data_option.rb +13 -1
  34. data/lib/aspose_cells_cloud/models/import_csv_data_option.rb +13 -1
  35. data/lib/aspose_cells_cloud/models/import_data_task_parameter.rb +28 -4
  36. data/lib/aspose_cells_cloud/models/import_double_array_option.rb +13 -1
  37. data/lib/aspose_cells_cloud/models/import_int_array_option.rb +13 -1
  38. data/lib/aspose_cells_cloud/models/import_json_request.rb +1 -1
  39. data/lib/aspose_cells_cloud/models/import_option.rb +13 -1
  40. data/lib/aspose_cells_cloud/models/import_picture_option.rb +13 -1
  41. data/lib/aspose_cells_cloud/models/import_string_array_option.rb +13 -1
  42. data/lib/aspose_cells_cloud/models/import_xml_request.rb +1 -1
  43. data/lib/aspose_cells_cloud/models/legend.rb +1 -13
  44. data/lib/aspose_cells_cloud/models/legend_entry.rb +2 -2
  45. data/lib/aspose_cells_cloud/models/list_object_operate_parameter.rb +1 -1
  46. data/lib/aspose_cells_cloud/models/load_data.rb +258 -0
  47. data/lib/aspose_cells_cloud/models/load_to.rb +234 -0
  48. data/lib/aspose_cells_cloud/models/marker.rb +4 -4
  49. data/lib/aspose_cells_cloud/models/merge_queries.rb +306 -0
  50. data/lib/aspose_cells_cloud/models/operate_object.rb +2 -2
  51. data/lib/aspose_cells_cloud/models/operate_object_position.rb +19 -7
  52. data/lib/aspose_cells_cloud/models/operate_parameter.rb +1 -1
  53. data/lib/aspose_cells_cloud/models/page_break_operate_parameter.rb +6 -6
  54. data/lib/aspose_cells_cloud/models/page_setup_operate_parameter.rb +1 -1
  55. data/lib/aspose_cells_cloud/models/pivot_column.rb +222 -0
  56. data/lib/aspose_cells_cloud/models/pivot_table.rb +1 -1
  57. data/lib/aspose_cells_cloud/models/pivot_table_operate_parameter.rb +8 -8
  58. data/lib/aspose_cells_cloud/models/plot_area.rb +1 -13
  59. data/lib/aspose_cells_cloud/models/pptx_save_options.rb +3 -3
  60. data/lib/aspose_cells_cloud/models/query_data_source.rb +234 -0
  61. data/lib/aspose_cells_cloud/models/result_destination.rb +3 -3
  62. data/lib/aspose_cells_cloud/models/save_files_to_cloud_result.rb +1 -1
  63. data/lib/aspose_cells_cloud/models/save_result.rb +1 -1
  64. data/lib/aspose_cells_cloud/models/save_result_task_parameter.rb +2 -2
  65. data/lib/aspose_cells_cloud/models/series.rb +8 -32
  66. data/lib/aspose_cells_cloud/models/series_items.rb +1 -1
  67. data/lib/aspose_cells_cloud/models/shape_operate_parameter.rb +1 -1
  68. data/lib/aspose_cells_cloud/models/single_value.rb +2 -2
  69. data/lib/aspose_cells_cloud/models/smart_marker_task_parameter.rb +43 -7
  70. data/lib/aspose_cells_cloud/models/sort_key.rb +2 -2
  71. data/lib/aspose_cells_cloud/models/split_result.rb +1 -1
  72. data/lib/aspose_cells_cloud/models/split_workbook_task_parameter.rb +28 -4
  73. data/lib/aspose_cells_cloud/models/task_data.rb +1 -1
  74. data/lib/aspose_cells_cloud/models/task_description.rb +2 -2
  75. data/lib/aspose_cells_cloud/models/task_run_result.rb +3 -3
  76. data/lib/aspose_cells_cloud/models/text_item.rb +1 -1
  77. data/lib/aspose_cells_cloud/models/text_items.rb +1 -1
  78. data/lib/aspose_cells_cloud/models/text_options.rb +6 -6
  79. data/lib/aspose_cells_cloud/models/title.rb +1 -13
  80. data/lib/aspose_cells_cloud/models/transformation.rb +222 -0
  81. data/lib/aspose_cells_cloud/models/trendline.rb +2 -2
  82. data/lib/aspose_cells_cloud/models/trendlines.rb +1 -1
  83. data/lib/aspose_cells_cloud/models/unpivot_column.rb +234 -0
  84. data/lib/aspose_cells_cloud/models/workbook_settings_operate_parameter.rb +1 -1
  85. data/lib/aspose_cells_cloud/models/worksheet_data_statistics.rb +10 -10
  86. data/lib/aspose_cells_cloud/models/worksheet_operate_parameter.rb +3 -3
  87. data/lib/aspose_cells_cloud/requests/post_data_transformation_request.rb +103 -0
  88. data/lib/aspose_cells_cloud/version.rb +1 -1
  89. data/lib/aspose_cells_cloud.rb +14 -6
  90. data/spec/api/xml_controller_spec.rb +1 -1
  91. metadata +26 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aafed91fd5ad7d98ee6419cfba2ee2848b047fcdb51f54caa0b5af02a40e6848
4
- data.tar.gz: c74e7fb34b6de9b7eef3ef31ad8c42acbf5a97207d239d6411919f319668ff8c
3
+ metadata.gz: 7bef151e7a0fc06b7594b147f4c8a5b2b1846117593b700004104e1fa0e8ede8
4
+ data.tar.gz: 6f3b3e42acaca1479a37b9e3059fba3d946bbd6e6ff711e34e7ebe1b333fc0cf
5
5
  SHA512:
6
- metadata.gz: 04a1a41e6b5b55714df4d68b779ac2a525f4b531820300b2d87533dbe9dc897f3f1c373bc750170a74e1a9cab7d43921e92369d52d32b95a743fc8261e583adf
7
- data.tar.gz: 879f04967f923f4e9410015739d5cd63fc894509a6581390f59012b91b62c2911159b425d570ed4daa948670dcce0d2a98194466248e1b2d61e66efd24c398b1
6
+ metadata.gz: 7219ec8b14f5d5b7c93f99f4f53279d4b9d4b59122360d494f997f4482738a1f17648fb1eb9bdb9cfa95957cf77a342d60e1275ee471798aa8e53c00a4cdc11e
7
+ data.tar.gz: 2a6bc18864a144c2c187512c7547a713d633da83267398ade469f18f0eb4418a32ab6bb48db7849cde283373906353961536f8c62060ffba06336a6120182dac
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) ![Gem](https://img.shields.io/gem/v/aspose_cells_cloud) ![Gem](https://img.shields.io/gem/dt/aspose_cells_cloud) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-ruby)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-ruby/24.3)
1
+ ![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) ![Gem](https://img.shields.io/gem/v/aspose_cells_cloud) ![Gem](https://img.shields.io/gem/dt/aspose_cells_cloud) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-ruby)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-ruby/24.5)
2
2
 
3
3
 
4
4
  Aspose.Cells Cloud for Ruby enables you to handle various aspects of Excel files, including cell data, styles, formulas, charts, pivot tables, data validation, comments, drawing objects, images, hyperlinks, and so on. Additionally, it supports operations such as splitting, merging, repairing, and converting to other compatible file formats.
@@ -22,15 +22,13 @@ Enhance your Ruby applications with the [Aspose.Cells Cloud](https://products.as
22
22
  - Security Management: Offers a range of security features like data encryption, access control, and permission management to safeguard the security and integrity of spreadsheet data.
23
23
 
24
24
 
25
-
26
- ## Feature & Enhancements in Version 24.3
25
+ ## Feature & Enhancements in Version 24.5
27
26
 
28
27
  Full list of issues covering all changes in this release:
29
28
 
30
- - Support data deduplication.
31
- - Support data filling.
32
- - Support to delete incomplete rows.
33
- - Support data cleansing.
29
+ - Add merge queries method for loading data of data transformation.
30
+ - Optimize chart data model.
31
+
34
32
 
35
33
  ## Support file format
36
34
 
@@ -129,6 +127,17 @@ request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:for
129
127
 
130
128
  # Release history version
131
129
 
130
+ ## Enhancements in Version 24.4
131
+
132
+ - Support data transformation.
133
+
134
+ ## Enhancements in Version 24.3
135
+
136
+ - Support data deduplication.
137
+ - Support data filling.
138
+ - Support to delete incomplete rows.
139
+ - Support data cleansing.
140
+
132
141
  ## Enhancements in Version 24.2.1
133
142
 
134
143
  - Support data deduplication.
@@ -1025,6 +1025,14 @@ module AsposeCellsCloud
1025
1025
  return data
1026
1026
  end
1027
1027
 
1028
+ # Transform spreadsheet data is mainly used to pivot columns, unpivot columns.
1029
+
1030
+ def post_data_transformation( post_data_transformation_request, opts = {})
1031
+
1032
+ data, _status_code, _headers = post_data_transformation_request.create_http_request(@api_client,opts )
1033
+ return data
1034
+ end
1035
+
1028
1036
  # Retrieve descriptions of hyperlinks in the worksheet.
1029
1037
 
1030
1038
  def get_worksheet_hyperlinks( get_worksheet_hyperlinks_request, opts = {})
@@ -31,13 +31,13 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class AnalyzedResult
34
- #
34
+ #Represents the file name of data file.
35
35
  attr_accessor :filename
36
- #
36
+ #Represents summary about results of analyzed data.
37
37
  attr_accessor :description
38
- #
38
+ #Represents Excel data statistics.
39
39
  attr_accessor :basic_statistics
40
- #
40
+ #Represents analyzed table description.
41
41
  attr_accessor :results
42
42
  #base64String Excel file
43
43
  attr_accessor :suggested_file
@@ -31,37 +31,37 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class AnalyzedTableDescription
34
- #
34
+ #Represents table name.
35
35
  attr_accessor :name
36
- #
36
+ #Represents worksheet name which is where the table is located.
37
37
  attr_accessor :sheet_name
38
- #
38
+ #Represents analyzed description about table columns.
39
39
  attr_accessor :columns
40
- #
40
+ #Represents date columns list.
41
41
  attr_accessor :date_columns
42
- #
42
+ #Represents number columns list.
43
43
  attr_accessor :number_columns
44
- #
44
+ #Represents string columns list.
45
45
  attr_accessor :text_columns
46
- #
46
+ #Represents exception columns list.
47
47
  attr_accessor :exception_columns
48
- #
48
+ #Represents there is a table header in the table.
49
49
  attr_accessor :has_table_header_row
50
- #
50
+ #Represents there is a total row in the table.
51
51
  attr_accessor :has_table_total_row
52
- #
52
+ #Represents the column index as the start data column.
53
53
  attr_accessor :start_data_column_index
54
- #
54
+ #Represents the column index as the end data column.
55
55
  attr_accessor :end_data_column_index
56
- #
56
+ #Represents the row index as the start data row.
57
57
  attr_accessor :start_data_row_index
58
- #
58
+ #Represents the row index as the end data row.
59
59
  attr_accessor :end_data_row_index
60
- #Base64String
60
+ #Represents table thumbnail. Base64String
61
61
  attr_accessor :thumbnail
62
- #
62
+ #Represents a collection of charts, which is a collection of charts created based on data analysis of a table.
63
63
  attr_accessor :discover_charts
64
- #
64
+ #Represents a collection of pivot tables, which is a collection of pivot tables created based on data analysis of a table.
65
65
  attr_accessor :discover_pivot_tables
66
66
 
67
67
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -154,7 +154,7 @@ module AsposeCellsCloud
154
154
  :'cross_at' => :'Float',
155
155
  :'cross_type' => :'String',
156
156
  :'display_unit' => :'String',
157
- :'display_unit_label' => :'LinkElement',
157
+ :'display_unit_label' => :'DisplayUnitLabel',
158
158
  :'has_multi_level_labels' => :'BOOLEAN',
159
159
  :'is_automatic_major_unit' => :'BOOLEAN',
160
160
  :'is_automatic_max_value' => :'BOOLEAN',
@@ -31,11 +31,13 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class CellsObjectOperateTaskParameter
34
- #
34
+ #Represents object operate.
35
35
  attr_accessor :operate_object
36
- #
36
+ #Represents operate parameter.
37
37
  attr_accessor :operate_parameter
38
- #
38
+ #Represents destination data source.
39
+ attr_accessor :destination_data_source
40
+ #Represents destination data source.
39
41
  attr_accessor :destination_workbook
40
42
 
41
43
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -43,6 +45,7 @@ module AsposeCellsCloud
43
45
  {
44
46
  :'operate_object' => :'OperateObject',
45
47
  :'operate_parameter' => :'OperateParameter',
48
+ :'destination_data_source' => :'DestinationDataSource',
46
49
  :'destination_workbook' => :'DestinationWorkbook'
47
50
  }
48
51
  end
@@ -52,6 +55,7 @@ module AsposeCellsCloud
52
55
  {
53
56
  :'operate_object' => :'OperateObject',
54
57
  :'operate_parameter' => :'OperateParameter',
58
+ :'destination_data_source' => :'DataSource',
55
59
  :'destination_workbook' => :'FileSource'
56
60
  }
57
61
  end
@@ -70,6 +74,9 @@ module AsposeCellsCloud
70
74
  if attributes.has_key?(:'OperateParameter')
71
75
  self.operate_parameter = attributes[:'OperateParameter']
72
76
  end
77
+ if attributes.has_key?(:'DestinationDataSource')
78
+ self.destination_data_source = attributes[:'DestinationDataSource']
79
+ end
73
80
  if attributes.has_key?(:'DestinationWorkbook')
74
81
  self.destination_workbook = attributes[:'DestinationWorkbook']
75
82
  end
@@ -86,6 +93,9 @@ module AsposeCellsCloud
86
93
  if @operate_parameter.nil?
87
94
  invalid_properties.push("invalid value for 'operate_parameter', operate_parameter cannot be nil.")
88
95
  end
96
+ if @destination_data_source.nil?
97
+ invalid_properties.push("invalid value for 'destination_data_source', destination_data_source cannot be nil.")
98
+ end
89
99
  if @destination_workbook.nil?
90
100
  invalid_properties.push("invalid value for 'destination_workbook', destination_workbook cannot be nil.")
91
101
  end
@@ -98,6 +108,7 @@ module AsposeCellsCloud
98
108
  def valid?
99
109
  return false if @operate_object.nil?
100
110
  return false if @operate_parameter.nil?
111
+ return false if @destination_data_source.nil?
101
112
  return false if @destination_workbook.nil?
102
113
  return true
103
114
  end
@@ -109,6 +120,7 @@ module AsposeCellsCloud
109
120
  self.class == o.class &&
110
121
  operate_object == o.operate_object &&
111
122
  operate_parameter == o.operate_parameter &&
123
+ destination_data_source == o.destination_data_source &&
112
124
  destination_workbook == o.destination_workbook
113
125
  std_dev == o.std_dev
114
126
  end
@@ -122,7 +134,7 @@ module AsposeCellsCloud
122
134
  # Calculates hash code according to all attributes.
123
135
  # @return [Fixnum] Hash code
124
136
  def hash
125
- [ operate_object , operate_parameter , destination_workbook ].hash
137
+ [ operate_object , operate_parameter , destination_data_source , destination_workbook ].hash
126
138
  end
127
139
 
128
140
  # Builds the object from hash
@@ -65,7 +65,7 @@ module AsposeCellsCloud
65
65
  attr_accessor :is_rectangular_cornered
66
66
  #Gets the chart legend.
67
67
  attr_accessor :legend
68
- #
68
+ #Represents chart name.
69
69
  attr_accessor :name
70
70
  #Gets a collection representing the data series in the chart.
71
71
  attr_accessor :n_series
@@ -107,9 +107,9 @@ module AsposeCellsCloud
107
107
  attr_accessor :size_with_window
108
108
  #Gets and sets the builtin style.
109
109
  attr_accessor :style
110
- #
110
+ #Represents chart title.
111
111
  attr_accessor :title
112
- #
112
+ #Represents chart type.
113
113
  attr_accessor :type
114
114
  #Gets the chart's Y axis.
115
115
  attr_accessor :value_axis
@@ -174,29 +174,29 @@ module AsposeCellsCloud
174
174
  def self.swagger_types
175
175
  {
176
176
  :'auto_scaling' => :'BOOLEAN',
177
- :'back_wall' => :'LinkElement',
178
- :'category_axis' => :'LinkElement',
179
- :'chart_area' => :'LinkElement',
180
- :'chart_data_table' => :'LinkElement',
177
+ :'back_wall' => :'Walls',
178
+ :'category_axis' => :'Axis',
179
+ :'chart_area' => :'ChartArea',
180
+ :'chart_data_table' => :'ChartDataTable',
181
181
  :'chart_object' => :'LinkElement',
182
182
  :'depth_percent' => :'Integer',
183
183
  :'elevation' => :'Integer',
184
184
  :'first_slice_angle' => :'Integer',
185
- :'floor' => :'LinkElement',
185
+ :'floor' => :'Floor',
186
186
  :'gap_depth' => :'Integer',
187
187
  :'gap_width' => :'Integer',
188
188
  :'height_percent' => :'Integer',
189
189
  :'hide_pivot_field_buttons' => :'BOOLEAN',
190
190
  :'is3_d' => :'BOOLEAN',
191
191
  :'is_rectangular_cornered' => :'BOOLEAN',
192
- :'legend' => :'LinkElement',
192
+ :'legend' => :'Legend',
193
193
  :'name' => :'String',
194
- :'n_series' => :'LinkElement',
194
+ :'n_series' => :'SeriesItems',
195
195
  :'page_setup' => :'LinkElement',
196
196
  :'perspective' => :'Integer',
197
197
  :'pivot_source' => :'String',
198
198
  :'placement' => :'String',
199
- :'plot_area' => :'LinkElement',
199
+ :'plot_area' => :'PlotArea',
200
200
  :'plot_empty_cells_type' => :'String',
201
201
  :'plot_visible_cells' => :'BOOLEAN',
202
202
  :'print_size' => :'String',
@@ -213,7 +213,7 @@ module AsposeCellsCloud
213
213
  :'style' => :'Integer',
214
214
  :'title' => :'LinkElement',
215
215
  :'type' => :'String',
216
- :'value_axis' => :'LinkElement',
216
+ :'value_axis' => :'Axis',
217
217
  :'walls' => :'LinkElement',
218
218
  :'walls_and_gridlines2_d' => :'BOOLEAN',
219
219
  :'link' => :'Link'
@@ -48,8 +48,6 @@ module AsposeCellsCloud
48
48
  #
49
49
  attr_accessor :shadow
50
50
  #
51
- attr_accessor :shape_properties
52
- #
53
51
  attr_accessor :width
54
52
  #
55
53
  attr_accessor :height
@@ -69,7 +67,6 @@ module AsposeCellsCloud
69
67
  :'is_automatic_size' => :'IsAutomaticSize',
70
68
  :'is_inner_mode' => :'IsInnerMode',
71
69
  :'shadow' => :'Shadow',
72
- :'shape_properties' => :'ShapeProperties',
73
70
  :'width' => :'Width',
74
71
  :'height' => :'Height',
75
72
  :'x' => :'X',
@@ -88,7 +85,6 @@ module AsposeCellsCloud
88
85
  :'is_automatic_size' => :'BOOLEAN',
89
86
  :'is_inner_mode' => :'BOOLEAN',
90
87
  :'shadow' => :'BOOLEAN',
91
- :'shape_properties' => :'Array<LinkElement>',
92
88
  :'width' => :'Integer',
93
89
  :'height' => :'Integer',
94
90
  :'x' => :'Integer',
@@ -128,9 +124,6 @@ module AsposeCellsCloud
128
124
  if attributes.has_key?(:'Shadow')
129
125
  self.shadow = attributes[:'Shadow']
130
126
  end
131
- if attributes.has_key?(:'ShapeProperties')
132
- self.shape_properties = attributes[:'ShapeProperties']
133
- end
134
127
  if attributes.has_key?(:'Width')
135
128
  self.width = attributes[:'Width']
136
129
  end
@@ -174,9 +167,6 @@ module AsposeCellsCloud
174
167
  if @shadow.nil?
175
168
  invalid_properties.push("invalid value for 'shadow', shadow cannot be nil.")
176
169
  end
177
- if @shape_properties.nil?
178
- invalid_properties.push("invalid value for 'shape_properties', shape_properties cannot be nil.")
179
- end
180
170
  if @width.nil?
181
171
  invalid_properties.push("invalid value for 'width', width cannot be nil.")
182
172
  end
@@ -204,7 +194,6 @@ module AsposeCellsCloud
204
194
  return false if @is_automatic_size.nil?
205
195
  return false if @is_inner_mode.nil?
206
196
  return false if @shadow.nil?
207
- return false if @shape_properties.nil?
208
197
  return false if @width.nil?
209
198
  return false if @height.nil?
210
199
  return false if @x.nil?
@@ -225,7 +214,6 @@ module AsposeCellsCloud
225
214
  is_automatic_size == o.is_automatic_size &&
226
215
  is_inner_mode == o.is_inner_mode &&
227
216
  shadow == o.shadow &&
228
- shape_properties == o.shape_properties &&
229
217
  width == o.width &&
230
218
  height == o.height &&
231
219
  x == o.x &&
@@ -242,7 +230,7 @@ module AsposeCellsCloud
242
230
  # Calculates hash code according to all attributes.
243
231
  # @return [Fixnum] Hash code
244
232
  def hash
245
- [ area , auto_scale_font , background_mode , border , font , is_automatic_size , is_inner_mode , shadow , shape_properties , width , height , x , y ].hash
233
+ [ area , auto_scale_font , background_mode , border , font , is_automatic_size , is_inner_mode , shadow , width , height , x , y ].hash
246
234
  end
247
235
 
248
236
  # Builds the object from hash
@@ -47,8 +47,6 @@ module AsposeCellsCloud
47
47
  attr_accessor :is_inner_mode
48
48
  #True if the frame has a shadow.
49
49
  attr_accessor :shadow
50
- #Gets the object.
51
- attr_accessor :shape_properties
52
50
  #Gets or sets the width of frame in units of 1/4000 of the chart area.
53
51
  attr_accessor :width
54
52
  #Gets or sets the height of frame in units of 1/4000 of the chart area.
@@ -69,7 +67,6 @@ module AsposeCellsCloud
69
67
  :'is_automatic_size' => :'IsAutomaticSize',
70
68
  :'is_inner_mode' => :'IsInnerMode',
71
69
  :'shadow' => :'Shadow',
72
- :'shape_properties' => :'ShapeProperties',
73
70
  :'width' => :'Width',
74
71
  :'height' => :'Height',
75
72
  :'x' => :'X',
@@ -88,7 +85,6 @@ module AsposeCellsCloud
88
85
  :'is_automatic_size' => :'BOOLEAN',
89
86
  :'is_inner_mode' => :'BOOLEAN',
90
87
  :'shadow' => :'BOOLEAN',
91
- :'shape_properties' => :'Array<LinkElement>',
92
88
  :'width' => :'Integer',
93
89
  :'height' => :'Integer',
94
90
  :'x' => :'Integer',
@@ -128,9 +124,6 @@ module AsposeCellsCloud
128
124
  if attributes.has_key?(:'Shadow')
129
125
  self.shadow = attributes[:'Shadow']
130
126
  end
131
- if attributes.has_key?(:'ShapeProperties')
132
- self.shape_properties = attributes[:'ShapeProperties']
133
- end
134
127
  if attributes.has_key?(:'Width')
135
128
  self.width = attributes[:'Width']
136
129
  end
@@ -174,9 +167,6 @@ module AsposeCellsCloud
174
167
  if @shadow.nil?
175
168
  invalid_properties.push("invalid value for 'shadow', shadow cannot be nil.")
176
169
  end
177
- if @shape_properties.nil?
178
- invalid_properties.push("invalid value for 'shape_properties', shape_properties cannot be nil.")
179
- end
180
170
  if @width.nil?
181
171
  invalid_properties.push("invalid value for 'width', width cannot be nil.")
182
172
  end
@@ -204,7 +194,6 @@ module AsposeCellsCloud
204
194
  return false if @is_automatic_size.nil?
205
195
  return false if @is_inner_mode.nil?
206
196
  return false if @shadow.nil?
207
- return false if @shape_properties.nil?
208
197
  return false if @width.nil?
209
198
  return false if @height.nil?
210
199
  return false if @x.nil?
@@ -225,7 +214,6 @@ module AsposeCellsCloud
225
214
  is_automatic_size == o.is_automatic_size &&
226
215
  is_inner_mode == o.is_inner_mode &&
227
216
  shadow == o.shadow &&
228
- shape_properties == o.shape_properties &&
229
217
  width == o.width &&
230
218
  height == o.height &&
231
219
  x == o.x &&
@@ -242,7 +230,7 @@ module AsposeCellsCloud
242
230
  # Calculates hash code according to all attributes.
243
231
  # @return [Fixnum] Hash code
244
232
  def hash
245
- [ area , auto_scale_font , background_mode , border , font , is_automatic_size , is_inner_mode , shadow , shape_properties , width , height , x , y ].hash
233
+ [ area , auto_scale_font , background_mode , border , font , is_automatic_size , is_inner_mode , shadow , width , height , x , y ].hash
246
234
  end
247
235
 
248
236
  # Builds the object from hash
@@ -31,27 +31,27 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class ChartOperateParameter
34
- #
34
+ #Represents chart index.
35
35
  attr_accessor :chart_index
36
- #
36
+ #Represents chart type.
37
37
  attr_accessor :chart_type
38
- #
38
+ #Represents upper left row index of chart.
39
39
  attr_accessor :upper_left_row
40
- #
40
+ #Represents upper left column index of chart.
41
41
  attr_accessor :upper_left_column
42
- #
42
+ #Represents lower right row index of chart.
43
43
  attr_accessor :lower_right_row
44
- #
44
+ #Represents lower right column index of chart.
45
45
  attr_accessor :lower_right_column
46
- #
46
+ #Represents chart area.
47
47
  attr_accessor :area
48
- #
48
+ #Represents whether to plot the series from a range of cell values by row or by column.
49
49
  attr_accessor :is_vertical
50
- #
50
+ #Represents chart category data.
51
51
  attr_accessor :category_data
52
- #
52
+ #Represents whether auto get serial name.
53
53
  attr_accessor :is_auto_get_serial_name
54
- #
54
+ #Represents chart title.
55
55
  attr_accessor :title
56
56
  #
57
57
  attr_accessor :operate_type
@@ -47,6 +47,8 @@ module AsposeCellsCloud
47
47
  attr_accessor :x_value
48
48
  #Gets or sets the Y value of the chart point.
49
49
  attr_accessor :y_value
50
+ #Gets or sets a value indicates whether this data points is in the second pie or bar on a pie of pie or bar of pie chart.
51
+ attr_accessor :is_in_secondary_plot
50
52
  #
51
53
  attr_accessor :link
52
54
 
@@ -61,6 +63,7 @@ module AsposeCellsCloud
61
63
  :'shadow' => :'Shadow',
62
64
  :'x_value' => :'XValue',
63
65
  :'y_value' => :'YValue',
66
+ :'is_in_secondary_plot' => :'IsInSecondaryPlot',
64
67
  :'link' => :'link'
65
68
  }
66
69
  end
@@ -74,8 +77,9 @@ module AsposeCellsCloud
74
77
  :'explosion' => :'Integer',
75
78
  :'marker' => :'Marker',
76
79
  :'shadow' => :'BOOLEAN',
77
- :'x_value' => :'String',
78
- :'y_value' => :'String',
80
+ :'x_value' => :'Object',
81
+ :'y_value' => :'Object',
82
+ :'is_in_secondary_plot' => :'BOOLEAN',
79
83
  :'link' => :'Link'
80
84
  }
81
85
  end
@@ -112,6 +116,9 @@ module AsposeCellsCloud
112
116
  if attributes.has_key?(:'YValue')
113
117
  self.y_value = attributes[:'YValue']
114
118
  end
119
+ if attributes.has_key?(:'IsInSecondaryPlot')
120
+ self.is_in_secondary_plot = attributes[:'IsInSecondaryPlot']
121
+ end
115
122
  if attributes.has_key?(:'link')
116
123
  self.link = attributes[:'link']
117
124
  end
@@ -146,6 +153,9 @@ module AsposeCellsCloud
146
153
  if @y_value.nil?
147
154
  invalid_properties.push("invalid value for 'y_value', y_value cannot be nil.")
148
155
  end
156
+ if @is_in_secondary_plot.nil?
157
+ invalid_properties.push("invalid value for 'is_in_secondary_plot', is_in_secondary_plot cannot be nil.")
158
+ end
149
159
  if @link.nil?
150
160
  invalid_properties.push("invalid value for 'link', link cannot be nil.")
151
161
  end
@@ -164,6 +174,7 @@ module AsposeCellsCloud
164
174
  return false if @shadow.nil?
165
175
  return false if @x_value.nil?
166
176
  return false if @y_value.nil?
177
+ return false if @is_in_secondary_plot.nil?
167
178
  return false if @link.nil?
168
179
  return true
169
180
  end
@@ -181,6 +192,7 @@ module AsposeCellsCloud
181
192
  shadow == o.shadow &&
182
193
  x_value == o.x_value &&
183
194
  y_value == o.y_value &&
195
+ is_in_secondary_plot == o.is_in_secondary_plot &&
184
196
  link == o.link
185
197
  std_dev == o.std_dev
186
198
  end
@@ -194,7 +206,7 @@ module AsposeCellsCloud
194
206
  # Calculates hash code according to all attributes.
195
207
  # @return [Fixnum] Hash code
196
208
  def hash
197
- [ area , border , data_labels , explosion , marker , shadow , x_value , y_value , link ].hash
209
+ [ area , border , data_labels , explosion , marker , shadow , x_value , y_value , is_in_secondary_plot , link ].hash
198
210
  end
199
211
 
200
212
  # Builds the object from hash
@@ -47,7 +47,7 @@ module AsposeCellsCloud
47
47
  # Attribute type mapping.
48
48
  def self.swagger_types
49
49
  {
50
- :'chart_point_list' => :'Array<LinkElement>',
50
+ :'chart_point_list' => :'Array<ChartPoint>',
51
51
  :'link' => :'Link'
52
52
  }
53
53
  end
@@ -31,18 +31,21 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class ConvertTaskParameter
34
- #
34
+ #Represents data source of task object.
35
+ attr_accessor :data_source
36
+ #Represents data source of task object.
35
37
  attr_accessor :workbook
36
- #
38
+ #Represents destination file.
37
39
  attr_accessor :destination_file
38
- #
40
+ #Represents Excel data region.
39
41
  attr_accessor :region
40
- #
42
+ #Represents save options.
41
43
  attr_accessor :save_options
42
44
 
43
45
  # Attribute mapping from ruby-style variable name to JSON key.
44
46
  def self.attribute_map
45
47
  {
48
+ :'data_source' => :'DataSource',
46
49
  :'workbook' => :'Workbook',
47
50
  :'destination_file' => :'DestinationFile',
48
51
  :'region' => :'Region',
@@ -53,6 +56,7 @@ module AsposeCellsCloud
53
56
  # Attribute type mapping.
54
57
  def self.swagger_types
55
58
  {
59
+ :'data_source' => :'DataSource',
56
60
  :'workbook' => :'FileSource',
57
61
  :'destination_file' => :'String',
58
62
  :'region' => :'String',
@@ -68,6 +72,9 @@ module AsposeCellsCloud
68
72
  # convert string to symbol for hash key
69
73
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
70
74
 
75
+ if attributes.has_key?(:'DataSource')
76
+ self.data_source = attributes[:'DataSource']
77
+ end
71
78
  if attributes.has_key?(:'Workbook')
72
79
  self.workbook = attributes[:'Workbook']
73
80
  end
@@ -87,6 +94,9 @@ module AsposeCellsCloud
87
94
  # @return Array for valid properies with the reasons
88
95
  def list_invalid_properties
89
96
  invalid_properties = Array.new
97
+ if @data_source.nil?
98
+ invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
99
+ end
90
100
  if @workbook.nil?
91
101
  invalid_properties.push("invalid value for 'workbook', workbook cannot be nil.")
92
102
  end
@@ -106,6 +116,7 @@ module AsposeCellsCloud
106
116
  # Check to see if the all the properties in the model are valid
107
117
  # @return true if the model is valid
108
118
  def valid?
119
+ return false if @data_source.nil?
109
120
  return false if @workbook.nil?
110
121
  return false if @destination_file.nil?
111
122
  return false if @region.nil?
@@ -118,6 +129,7 @@ module AsposeCellsCloud
118
129
  def ==(o)
119
130
  return true if self.equal?(o)
120
131
  self.class == o.class &&
132
+ data_source == o.data_source &&
121
133
  workbook == o.workbook &&
122
134
  destination_file == o.destination_file &&
123
135
  region == o.region &&
@@ -134,7 +146,7 @@ module AsposeCellsCloud
134
146
  # Calculates hash code according to all attributes.
135
147
  # @return [Fixnum] Hash code
136
148
  def hash
137
- [ workbook , destination_file , region , save_options ].hash
149
+ [ data_source , workbook , destination_file , region , save_options ].hash
138
150
  end
139
151
 
140
152
  # Builds the object from hash