aspose_cells_cloud 24.4 → 24.5
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 +4 -4
- data/README.md +9 -4
- data/lib/aspose_cells_cloud/models/analyzed_result.rb +4 -4
- data/lib/aspose_cells_cloud/models/analyzed_table_description.rb +16 -16
- data/lib/aspose_cells_cloud/models/axis.rb +1 -1
- data/lib/aspose_cells_cloud/models/cells_object_operate_task_parameter.rb +14 -14
- data/lib/aspose_cells_cloud/models/chart.rb +12 -12
- data/lib/aspose_cells_cloud/models/chart_area.rb +1 -13
- data/lib/aspose_cells_cloud/models/chart_frame.rb +1 -13
- data/lib/aspose_cells_cloud/models/chart_operate_parameter.rb +11 -11
- data/lib/aspose_cells_cloud/models/chart_point.rb +15 -3
- data/lib/aspose_cells_cloud/models/chart_points.rb +1 -1
- data/lib/aspose_cells_cloud/models/convert_task_parameter.rb +5 -5
- data/lib/aspose_cells_cloud/models/convert_worksheet_task_parameter.rb +10 -10
- data/lib/aspose_cells_cloud/models/data_cleansing.rb +2 -2
- data/lib/aspose_cells_cloud/models/data_column_fill_value.rb +2 -2
- data/lib/aspose_cells_cloud/models/data_fill.rb +3 -3
- data/lib/aspose_cells_cloud/models/data_fill_value.rb +5 -5
- data/lib/aspose_cells_cloud/models/data_item.rb +2 -2
- data/lib/aspose_cells_cloud/models/data_labels.rb +1 -13
- data/lib/aspose_cells_cloud/models/data_source.rb +2 -2
- data/lib/aspose_cells_cloud/models/deduplication_region.rb +2 -2
- data/lib/aspose_cells_cloud/models/discover_chart.rb +6 -6
- data/lib/aspose_cells_cloud/models/discover_pivot_table.rb +4 -4
- data/lib/aspose_cells_cloud/models/display_unit_label.rb +1 -25
- data/lib/aspose_cells_cloud/models/excel_data_statistics.rb +5 -17
- data/lib/aspose_cells_cloud/models/file_info.rb +3 -3
- data/lib/aspose_cells_cloud/models/import_data_task_parameter.rb +5 -5
- data/lib/aspose_cells_cloud/models/legend.rb +1 -13
- data/lib/aspose_cells_cloud/models/legend_entry.rb +2 -2
- data/lib/aspose_cells_cloud/models/list_object_operate_parameter.rb +1 -1
- data/lib/aspose_cells_cloud/models/load_data.rb +16 -4
- data/lib/aspose_cells_cloud/models/marker.rb +4 -4
- data/lib/aspose_cells_cloud/models/{analyze_suggestion.rb → merge_queries.rb} +92 -80
- data/lib/aspose_cells_cloud/models/operate_object.rb +2 -2
- data/lib/aspose_cells_cloud/models/operate_object_position.rb +7 -7
- data/lib/aspose_cells_cloud/models/operate_parameter.rb +1 -1
- data/lib/aspose_cells_cloud/models/page_break_operate_parameter.rb +6 -6
- data/lib/aspose_cells_cloud/models/page_setup_operate_parameter.rb +1 -1
- data/lib/aspose_cells_cloud/models/pivot_table.rb +1 -1
- data/lib/aspose_cells_cloud/models/pivot_table_operate_parameter.rb +8 -8
- data/lib/aspose_cells_cloud/models/plot_area.rb +1 -13
- data/lib/aspose_cells_cloud/models/result_destination.rb +3 -3
- data/lib/aspose_cells_cloud/models/save_result.rb +1 -1
- data/lib/aspose_cells_cloud/models/save_result_task_parameter.rb +2 -2
- data/lib/aspose_cells_cloud/models/series.rb +8 -32
- data/lib/aspose_cells_cloud/models/series_items.rb +1 -1
- data/lib/aspose_cells_cloud/models/shape_operate_parameter.rb +1 -1
- data/lib/aspose_cells_cloud/models/single_value.rb +2 -2
- data/lib/aspose_cells_cloud/models/smart_marker_task_parameter.rb +6 -6
- data/lib/aspose_cells_cloud/models/sort_key.rb +2 -2
- data/lib/aspose_cells_cloud/models/split_result.rb +1 -1
- data/lib/aspose_cells_cloud/models/split_workbook_task_parameter.rb +5 -5
- data/lib/aspose_cells_cloud/models/task_data.rb +1 -1
- data/lib/aspose_cells_cloud/models/task_description.rb +2 -2
- data/lib/aspose_cells_cloud/models/task_run_result.rb +2 -2
- data/lib/aspose_cells_cloud/models/text_item.rb +1 -1
- data/lib/aspose_cells_cloud/models/text_items.rb +1 -1
- data/lib/aspose_cells_cloud/models/text_options.rb +6 -6
- data/lib/aspose_cells_cloud/models/title.rb +1 -13
- data/lib/aspose_cells_cloud/models/trendline.rb +2 -2
- data/lib/aspose_cells_cloud/models/trendlines.rb +1 -1
- data/lib/aspose_cells_cloud/models/workbook_settings_operate_parameter.rb +1 -1
- data/lib/aspose_cells_cloud/models/worksheet_data_statistics.rb +10 -10
- data/lib/aspose_cells_cloud/models/worksheet_operate_parameter.rb +3 -3
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +2 -4
- metadata +3 -5
- data/lib/aspose_cells_cloud/models/analyze_excel_response.rb +0 -210
- data/lib/aspose_cells_cloud/models/split_result_document.rb +0 -222
|
@@ -31,17 +31,17 @@ require 'date'
|
|
|
31
31
|
module AsposeCellsCloud
|
|
32
32
|
|
|
33
33
|
class SmartMarkerTaskParameter
|
|
34
|
-
#
|
|
34
|
+
#Represents data source of task object.
|
|
35
35
|
attr_accessor :source_workbook
|
|
36
|
-
#
|
|
36
|
+
#Represents data source of task object.
|
|
37
37
|
attr_accessor :destination_workbook
|
|
38
|
-
#
|
|
38
|
+
#Represents xml file.
|
|
39
39
|
attr_accessor :xml_file
|
|
40
|
-
#
|
|
40
|
+
#Represents destination data source.
|
|
41
41
|
attr_accessor :data_source
|
|
42
|
-
#
|
|
42
|
+
#Represents destination data source.
|
|
43
43
|
attr_accessor :target_data_source
|
|
44
|
-
#
|
|
44
|
+
#Represents xml file.
|
|
45
45
|
attr_accessor :xml_file_data_source
|
|
46
46
|
|
|
47
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -31,15 +31,15 @@ require 'date'
|
|
|
31
31
|
module AsposeCellsCloud
|
|
32
32
|
|
|
33
33
|
class SplitWorkbookTaskParameter
|
|
34
|
-
#
|
|
34
|
+
#Represents data source of task object.
|
|
35
35
|
attr_accessor :workbook
|
|
36
|
-
#
|
|
36
|
+
#Represents data source of task object.
|
|
37
37
|
attr_accessor :destination_file_position
|
|
38
|
-
#
|
|
38
|
+
#Represents destination data source.
|
|
39
39
|
attr_accessor :data_source
|
|
40
|
-
#
|
|
40
|
+
#Represents destination data source.
|
|
41
41
|
attr_accessor :target_data_source
|
|
42
|
-
#
|
|
42
|
+
#Represents destination data file format.
|
|
43
43
|
attr_accessor :destination_file_format
|
|
44
44
|
#SheetName /NewGuid
|
|
45
45
|
attr_accessor :split_name_rule
|
|
@@ -31,9 +31,9 @@ require 'date'
|
|
|
31
31
|
module AsposeCellsCloud
|
|
32
32
|
|
|
33
33
|
class TaskDescription
|
|
34
|
-
#
|
|
34
|
+
#Represents task type.
|
|
35
35
|
attr_accessor :task_type
|
|
36
|
-
#
|
|
36
|
+
#Represents task parameter.
|
|
37
37
|
attr_accessor :task_parameter
|
|
38
38
|
|
|
39
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -31,9 +31,9 @@ require 'date'
|
|
|
31
31
|
module AsposeCellsCloud
|
|
32
32
|
|
|
33
33
|
class TaskRunResult
|
|
34
|
-
#
|
|
34
|
+
#Represents task run result description.
|
|
35
35
|
attr_accessor :description
|
|
36
|
-
#
|
|
36
|
+
#Represents out data file list.
|
|
37
37
|
attr_accessor :out_file_list
|
|
38
38
|
|
|
39
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -31,17 +31,17 @@ require 'date'
|
|
|
31
31
|
module AsposeCellsCloud
|
|
32
32
|
|
|
33
33
|
class TextOptions
|
|
34
|
-
#
|
|
34
|
+
#Represents fill format.
|
|
35
35
|
attr_accessor :fill
|
|
36
|
-
#
|
|
36
|
+
#Represents kerning.
|
|
37
37
|
attr_accessor :kerning
|
|
38
|
-
#
|
|
38
|
+
#Represents outline format.
|
|
39
39
|
attr_accessor :outline
|
|
40
|
-
#
|
|
40
|
+
#Represents shadow effect.
|
|
41
41
|
attr_accessor :shadow
|
|
42
|
-
#
|
|
42
|
+
#Represents spacing.
|
|
43
43
|
attr_accessor :spacing
|
|
44
|
-
#
|
|
44
|
+
#Represents under line color.
|
|
45
45
|
attr_accessor :underline_color
|
|
46
46
|
#
|
|
47
47
|
attr_accessor :color
|
|
@@ -62,8 +62,6 @@ module AsposeCellsCloud
|
|
|
62
62
|
#
|
|
63
63
|
attr_accessor :shadow
|
|
64
64
|
#
|
|
65
|
-
attr_accessor :shape_properties
|
|
66
|
-
#
|
|
67
65
|
attr_accessor :width
|
|
68
66
|
#
|
|
69
67
|
attr_accessor :height
|
|
@@ -90,7 +88,6 @@ module AsposeCellsCloud
|
|
|
90
88
|
:'is_automatic_size' => :'IsAutomaticSize',
|
|
91
89
|
:'is_inner_mode' => :'IsInnerMode',
|
|
92
90
|
:'shadow' => :'Shadow',
|
|
93
|
-
:'shape_properties' => :'ShapeProperties',
|
|
94
91
|
:'width' => :'Width',
|
|
95
92
|
:'height' => :'Height',
|
|
96
93
|
:'x' => :'X',
|
|
@@ -116,7 +113,6 @@ module AsposeCellsCloud
|
|
|
116
113
|
:'is_automatic_size' => :'BOOLEAN',
|
|
117
114
|
:'is_inner_mode' => :'BOOLEAN',
|
|
118
115
|
:'shadow' => :'BOOLEAN',
|
|
119
|
-
:'shape_properties' => :'Array<LinkElement>',
|
|
120
116
|
:'width' => :'Integer',
|
|
121
117
|
:'height' => :'Integer',
|
|
122
118
|
:'x' => :'Integer',
|
|
@@ -177,9 +173,6 @@ module AsposeCellsCloud
|
|
|
177
173
|
if attributes.has_key?(:'Shadow')
|
|
178
174
|
self.shadow = attributes[:'Shadow']
|
|
179
175
|
end
|
|
180
|
-
if attributes.has_key?(:'ShapeProperties')
|
|
181
|
-
self.shape_properties = attributes[:'ShapeProperties']
|
|
182
|
-
end
|
|
183
176
|
if attributes.has_key?(:'Width')
|
|
184
177
|
self.width = attributes[:'Width']
|
|
185
178
|
end
|
|
@@ -244,9 +237,6 @@ module AsposeCellsCloud
|
|
|
244
237
|
if @shadow.nil?
|
|
245
238
|
invalid_properties.push("invalid value for 'shadow', shadow cannot be nil.")
|
|
246
239
|
end
|
|
247
|
-
if @shape_properties.nil?
|
|
248
|
-
invalid_properties.push("invalid value for 'shape_properties', shape_properties cannot be nil.")
|
|
249
|
-
end
|
|
250
240
|
if @width.nil?
|
|
251
241
|
invalid_properties.push("invalid value for 'width', width cannot be nil.")
|
|
252
242
|
end
|
|
@@ -281,7 +271,6 @@ module AsposeCellsCloud
|
|
|
281
271
|
return false if @is_automatic_size.nil?
|
|
282
272
|
return false if @is_inner_mode.nil?
|
|
283
273
|
return false if @shadow.nil?
|
|
284
|
-
return false if @shape_properties.nil?
|
|
285
274
|
return false if @width.nil?
|
|
286
275
|
return false if @height.nil?
|
|
287
276
|
return false if @x.nil?
|
|
@@ -309,7 +298,6 @@ module AsposeCellsCloud
|
|
|
309
298
|
is_automatic_size == o.is_automatic_size &&
|
|
310
299
|
is_inner_mode == o.is_inner_mode &&
|
|
311
300
|
shadow == o.shadow &&
|
|
312
|
-
shape_properties == o.shape_properties &&
|
|
313
301
|
width == o.width &&
|
|
314
302
|
height == o.height &&
|
|
315
303
|
x == o.x &&
|
|
@@ -326,7 +314,7 @@ module AsposeCellsCloud
|
|
|
326
314
|
# Calculates hash code according to all attributes.
|
|
327
315
|
# @return [Fixnum] Hash code
|
|
328
316
|
def hash
|
|
329
|
-
[ is_visible , linked_source , rotation_angle , text , text_direction , text_horizontal_alignment , text_vertical_alignment , area , auto_scale_font , background_mode , border , font , is_automatic_size , is_inner_mode , shadow ,
|
|
317
|
+
[ is_visible , linked_source , rotation_angle , text , text_direction , text_horizontal_alignment , text_vertical_alignment , area , auto_scale_font , background_mode , border , font , is_automatic_size , is_inner_mode , shadow , width , height , x , y ].hash
|
|
330
318
|
end
|
|
331
319
|
|
|
332
320
|
# Builds the object from hash
|
|
@@ -139,13 +139,13 @@ module AsposeCellsCloud
|
|
|
139
139
|
{
|
|
140
140
|
:'link' => :'Link',
|
|
141
141
|
:'backward' => :'Float',
|
|
142
|
-
:'data_labels' => :'
|
|
142
|
+
:'data_labels' => :'DataLabels',
|
|
143
143
|
:'display_equation' => :'BOOLEAN',
|
|
144
144
|
:'display_r_squared' => :'BOOLEAN',
|
|
145
145
|
:'forward' => :'Float',
|
|
146
146
|
:'intercept' => :'Float',
|
|
147
147
|
:'is_name_auto' => :'BOOLEAN',
|
|
148
|
-
:'legend_entry' => :'
|
|
148
|
+
:'legend_entry' => :'LegendEntry',
|
|
149
149
|
:'name' => :'String',
|
|
150
150
|
:'order' => :'Integer',
|
|
151
151
|
:'period' => :'Integer',
|
|
@@ -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
|
data/lib/aspose_cells_cloud.rb
CHANGED
|
@@ -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'
|
|
@@ -340,6 +338,7 @@ require 'aspose_cells_cloud/models/rendering_font'
|
|
|
340
338
|
require 'aspose_cells_cloud/models/rendering_watermark'
|
|
341
339
|
require 'aspose_cells_cloud/models/load_data'
|
|
342
340
|
require 'aspose_cells_cloud/models/load_to'
|
|
341
|
+
require 'aspose_cells_cloud/models/merge_queries'
|
|
343
342
|
require 'aspose_cells_cloud/models/pivot_column'
|
|
344
343
|
require 'aspose_cells_cloud/models/query_data_source'
|
|
345
344
|
require 'aspose_cells_cloud/models/query_table'
|
|
@@ -350,11 +349,11 @@ 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/cell_value'
|
|
353
353
|
require 'aspose_cells_cloud/models/custom_parser_config'
|
|
354
354
|
require 'aspose_cells_cloud/models/import2_dimension_double_array_option'
|
|
355
355
|
require 'aspose_cells_cloud/models/import2_dimension_int_array_option'
|
|
356
356
|
require 'aspose_cells_cloud/models/import2_dimension_string_array_option'
|
|
357
|
-
require 'aspose_cells_cloud/models/cell_value'
|
|
358
357
|
require 'aspose_cells_cloud/models/import_batch_data_option'
|
|
359
358
|
require 'aspose_cells_cloud/models/import_csv_data_option'
|
|
360
359
|
require 'aspose_cells_cloud/models/import_double_array_option'
|
|
@@ -436,7 +435,6 @@ require 'aspose_cells_cloud/models/walls'
|
|
|
436
435
|
require 'aspose_cells_cloud/models/analyzed_column_description'
|
|
437
436
|
require 'aspose_cells_cloud/models/analyzed_result'
|
|
438
437
|
require 'aspose_cells_cloud/models/analyzed_table_description'
|
|
439
|
-
require 'aspose_cells_cloud/models/analyze_suggestion'
|
|
440
438
|
require 'aspose_cells_cloud/models/discover_chart'
|
|
441
439
|
require 'aspose_cells_cloud/models/discover_pivot_table'
|
|
442
440
|
require 'aspose_cells_cloud/models/excel_data_statistics'
|
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
|
+
version: '24.5'
|
|
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-
|
|
11
|
+
date: 2024-05-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -242,8 +242,6 @@ files:
|
|
|
242
242
|
- lib/aspose_cells_cloud/models/abstract_calculation_engine.rb
|
|
243
243
|
- lib/aspose_cells_cloud/models/abstract_calculation_monitor.rb
|
|
244
244
|
- 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
245
|
- lib/aspose_cells_cloud/models/analyzed_column_description.rb
|
|
248
246
|
- lib/aspose_cells_cloud/models/analyzed_result.rb
|
|
249
247
|
- lib/aspose_cells_cloud/models/analyzed_table_description.rb
|
|
@@ -456,6 +454,7 @@ files:
|
|
|
456
454
|
- lib/aspose_cells_cloud/models/markdown_save_options.rb
|
|
457
455
|
- lib/aspose_cells_cloud/models/marker.rb
|
|
458
456
|
- lib/aspose_cells_cloud/models/match_condition_request.rb
|
|
457
|
+
- lib/aspose_cells_cloud/models/merge_queries.rb
|
|
459
458
|
- lib/aspose_cells_cloud/models/merged_cell.rb
|
|
460
459
|
- lib/aspose_cells_cloud/models/merged_cell_response.rb
|
|
461
460
|
- lib/aspose_cells_cloud/models/merged_cells.rb
|
|
@@ -570,7 +569,6 @@ files:
|
|
|
570
569
|
- lib/aspose_cells_cloud/models/spinner.rb
|
|
571
570
|
- lib/aspose_cells_cloud/models/spinner_response.rb
|
|
572
571
|
- lib/aspose_cells_cloud/models/split_result.rb
|
|
573
|
-
- lib/aspose_cells_cloud/models/split_result_document.rb
|
|
574
572
|
- lib/aspose_cells_cloud/models/split_result_response.rb
|
|
575
573
|
- lib/aspose_cells_cloud/models/split_workbook_task_parameter.rb
|
|
576
574
|
- lib/aspose_cells_cloud/models/spreadsheet_m_l2003_save_options.rb
|
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
--------------------------------------------------------------------------------------------------------------------
|
|
3
|
-
<copyright company="Aspose" file="AnalyzeExcelResponserb.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 'date'
|
|
30
|
-
|
|
31
|
-
module AsposeCellsCloud
|
|
32
|
-
|
|
33
|
-
class AnalyzeExcelResponse
|
|
34
|
-
#
|
|
35
|
-
attr_accessor :suggestions
|
|
36
|
-
|
|
37
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
|
38
|
-
def self.attribute_map
|
|
39
|
-
{
|
|
40
|
-
:'suggestions' => :'Suggestions'
|
|
41
|
-
}
|
|
42
|
-
end
|
|
43
|
-
|
|
44
|
-
# Attribute type mapping.
|
|
45
|
-
def self.swagger_types
|
|
46
|
-
{
|
|
47
|
-
:'suggestions' => :'Array<AnalyzeSuggestion>'
|
|
48
|
-
}
|
|
49
|
-
end
|
|
50
|
-
|
|
51
|
-
# Initializes the object
|
|
52
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
|
53
|
-
def initialize(attributes = {})
|
|
54
|
-
return unless attributes.is_a?(Hash)
|
|
55
|
-
|
|
56
|
-
# convert string to symbol for hash key
|
|
57
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
58
|
-
|
|
59
|
-
if attributes.has_key?(:'Suggestions')
|
|
60
|
-
self.suggestions = attributes[:'Suggestions']
|
|
61
|
-
end
|
|
62
|
-
|
|
63
|
-
end
|
|
64
|
-
|
|
65
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
|
66
|
-
# @return Array for valid properies with the reasons
|
|
67
|
-
def list_invalid_properties
|
|
68
|
-
invalid_properties = Array.new
|
|
69
|
-
if @suggestions.nil?
|
|
70
|
-
invalid_properties.push("invalid value for 'suggestions', suggestions cannot be nil.")
|
|
71
|
-
end
|
|
72
|
-
|
|
73
|
-
return invalid_properties
|
|
74
|
-
end
|
|
75
|
-
|
|
76
|
-
# Check to see if the all the properties in the model are valid
|
|
77
|
-
# @return true if the model is valid
|
|
78
|
-
def valid?
|
|
79
|
-
return false if @suggestions.nil?
|
|
80
|
-
return true
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
# Checks equality by comparing each attribute.
|
|
84
|
-
# @param [Object] Object to be compared
|
|
85
|
-
def ==(o)
|
|
86
|
-
return true if self.equal?(o)
|
|
87
|
-
self.class == o.class &&
|
|
88
|
-
suggestions == o.suggestions
|
|
89
|
-
std_dev == o.std_dev
|
|
90
|
-
end
|
|
91
|
-
|
|
92
|
-
# @see the `==` method
|
|
93
|
-
# @param [Object] Object to be compared
|
|
94
|
-
def eql?(o)
|
|
95
|
-
self == o
|
|
96
|
-
end
|
|
97
|
-
|
|
98
|
-
# Calculates hash code according to all attributes.
|
|
99
|
-
# @return [Fixnum] Hash code
|
|
100
|
-
def hash
|
|
101
|
-
[ suggestions ].hash
|
|
102
|
-
end
|
|
103
|
-
|
|
104
|
-
# Builds the object from hash
|
|
105
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
|
106
|
-
# @return [Object] Returns the model itself
|
|
107
|
-
def build_from_hash(attributes)
|
|
108
|
-
return nil unless attributes.is_a?(Hash)
|
|
109
|
-
self.class.swagger_types.each_pair do |key, type|
|
|
110
|
-
if type =~ /\AArray<(.*)>/i
|
|
111
|
-
# check to ensure the input is an array given that the the attribute
|
|
112
|
-
# is documented as an array but the input is not
|
|
113
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
114
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
|
115
|
-
end
|
|
116
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
117
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
118
|
-
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
self
|
|
122
|
-
end
|
|
123
|
-
|
|
124
|
-
# Deserializes the data based on type
|
|
125
|
-
# @param string type Data type
|
|
126
|
-
# @param string value Value to be deserialized
|
|
127
|
-
# @return [Object] Deserialized data
|
|
128
|
-
def _deserialize(type, value)
|
|
129
|
-
case type.to_sym
|
|
130
|
-
when :DateTime
|
|
131
|
-
DateTime.parse(value)
|
|
132
|
-
when :Date
|
|
133
|
-
Date.parse(value)
|
|
134
|
-
when :String
|
|
135
|
-
value.to_s
|
|
136
|
-
when :Integer
|
|
137
|
-
value.to_i
|
|
138
|
-
when :Float
|
|
139
|
-
value.to_f
|
|
140
|
-
when :BOOLEAN
|
|
141
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
142
|
-
true
|
|
143
|
-
else
|
|
144
|
-
false
|
|
145
|
-
end
|
|
146
|
-
when :Object
|
|
147
|
-
# generic object (usually a Hash), return directly
|
|
148
|
-
value
|
|
149
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
150
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
151
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
152
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
153
|
-
k_type = Regexp.last_match[:k_type]
|
|
154
|
-
v_type = Regexp.last_match[:v_type]
|
|
155
|
-
{}.tap do |hash|
|
|
156
|
-
value.each do |k, v|
|
|
157
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
158
|
-
end
|
|
159
|
-
end
|
|
160
|
-
else # model
|
|
161
|
-
temp_model = AsposeCellsCloud.const_get(type).new
|
|
162
|
-
temp_model.build_from_hash(value)
|
|
163
|
-
end
|
|
164
|
-
end
|
|
165
|
-
|
|
166
|
-
# Returns the string representation of the object
|
|
167
|
-
# @return [String] String presentation of the object
|
|
168
|
-
def to_s
|
|
169
|
-
to_hash.to_s
|
|
170
|
-
end
|
|
171
|
-
|
|
172
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
173
|
-
# @return [Hash] Returns the object in the form of hash
|
|
174
|
-
def to_body
|
|
175
|
-
to_hash
|
|
176
|
-
end
|
|
177
|
-
|
|
178
|
-
# Returns the object in the form of hash
|
|
179
|
-
# @return [Hash] Returns the object in the form of hash
|
|
180
|
-
def to_hash
|
|
181
|
-
hash = {}
|
|
182
|
-
self.class.attribute_map.each_pair do |attr, param|
|
|
183
|
-
value = self.send(attr)
|
|
184
|
-
next if value.nil?
|
|
185
|
-
hash[param] = _to_hash(value)
|
|
186
|
-
end
|
|
187
|
-
hash
|
|
188
|
-
end
|
|
189
|
-
|
|
190
|
-
# Outputs non-array value in the form of hash
|
|
191
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
192
|
-
# @param [Object] value Any valid value
|
|
193
|
-
# @return [Hash] Returns the value in the form of hash
|
|
194
|
-
def _to_hash(value)
|
|
195
|
-
if value.is_a?(Array)
|
|
196
|
-
value.compact.map{ |v| _to_hash(v) }
|
|
197
|
-
elsif value.is_a?(Hash)
|
|
198
|
-
{}.tap do |hash|
|
|
199
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
200
|
-
end
|
|
201
|
-
elsif value.respond_to? :to_hash
|
|
202
|
-
value.to_hash
|
|
203
|
-
else
|
|
204
|
-
value
|
|
205
|
-
end
|
|
206
|
-
end
|
|
207
|
-
|
|
208
|
-
end
|
|
209
|
-
|
|
210
|
-
end
|