aspose_cells_cloud 24.4 → 24.7
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 +18 -4
- data/lib/aspose_cells_cloud/api/cells_api.rb +16 -1
- data/lib/aspose_cells_cloud/models/abstract_calculation_monitor.rb +3 -3
- data/lib/aspose_cells_cloud/models/{analyze_suggestion.rb → add_text_options.rb} +83 -71
- 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/{split_result_document.rb → applied_operate.rb} +12 -24
- data/lib/aspose_cells_cloud/models/{transformation.rb → applied_step.rb} +23 -23
- data/lib/aspose_cells_cloud/models/axis.rb +1 -1
- data/lib/aspose_cells_cloud/models/{analyze_excel_response.rb → base_operate_options.rb} +12 -12
- 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/{query_data_source.rb → data_query.rb} +44 -20
- data/lib/aspose_cells_cloud/models/data_source.rb +2 -2
- data/lib/aspose_cells_cloud/models/data_transformation_request.rb +26 -14
- 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 +11 -35
- data/lib/aspose_cells_cloud/models/load_to.rb +3 -3
- data/lib/aspose_cells_cloud/models/marker.rb +4 -4
- data/lib/aspose_cells_cloud/models/{query_table.rb → merge_queries.rb} +65 -53
- 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_column.rb +18 -6
- 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/unpivot_column.rb +19 -7
- 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/requests/post_access_token_request.rb +92 -0
- data/lib/aspose_cells_cloud/requests/post_add_text_content_request.rb +103 -0
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +9 -7
- data/spec/api/data_processing_controller_spec.rb +34 -0
- metadata +10 -8
|
@@ -86,8 +86,6 @@ module AsposeCellsCloud
|
|
|
86
86
|
#
|
|
87
87
|
attr_accessor :shadow
|
|
88
88
|
#
|
|
89
|
-
attr_accessor :shape_properties
|
|
90
|
-
#
|
|
91
89
|
attr_accessor :width
|
|
92
90
|
#
|
|
93
91
|
attr_accessor :height
|
|
@@ -126,7 +124,6 @@ module AsposeCellsCloud
|
|
|
126
124
|
:'is_automatic_size' => :'IsAutomaticSize',
|
|
127
125
|
:'is_inner_mode' => :'IsInnerMode',
|
|
128
126
|
:'shadow' => :'Shadow',
|
|
129
|
-
:'shape_properties' => :'ShapeProperties',
|
|
130
127
|
:'width' => :'Width',
|
|
131
128
|
:'height' => :'Height',
|
|
132
129
|
:'x' => :'X',
|
|
@@ -164,7 +161,6 @@ module AsposeCellsCloud
|
|
|
164
161
|
:'is_automatic_size' => :'BOOLEAN',
|
|
165
162
|
:'is_inner_mode' => :'BOOLEAN',
|
|
166
163
|
:'shadow' => :'BOOLEAN',
|
|
167
|
-
:'shape_properties' => :'Array<LinkElement>',
|
|
168
164
|
:'width' => :'Integer',
|
|
169
165
|
:'height' => :'Integer',
|
|
170
166
|
:'x' => :'Integer',
|
|
@@ -261,9 +257,6 @@ module AsposeCellsCloud
|
|
|
261
257
|
if attributes.has_key?(:'Shadow')
|
|
262
258
|
self.shadow = attributes[:'Shadow']
|
|
263
259
|
end
|
|
264
|
-
if attributes.has_key?(:'ShapeProperties')
|
|
265
|
-
self.shape_properties = attributes[:'ShapeProperties']
|
|
266
|
-
end
|
|
267
260
|
if attributes.has_key?(:'Width')
|
|
268
261
|
self.width = attributes[:'Width']
|
|
269
262
|
end
|
|
@@ -364,9 +357,6 @@ module AsposeCellsCloud
|
|
|
364
357
|
if @shadow.nil?
|
|
365
358
|
invalid_properties.push("invalid value for 'shadow', shadow cannot be nil.")
|
|
366
359
|
end
|
|
367
|
-
if @shape_properties.nil?
|
|
368
|
-
invalid_properties.push("invalid value for 'shape_properties', shape_properties cannot be nil.")
|
|
369
|
-
end
|
|
370
360
|
if @width.nil?
|
|
371
361
|
invalid_properties.push("invalid value for 'width', width cannot be nil.")
|
|
372
362
|
end
|
|
@@ -413,7 +403,6 @@ module AsposeCellsCloud
|
|
|
413
403
|
return false if @is_automatic_size.nil?
|
|
414
404
|
return false if @is_inner_mode.nil?
|
|
415
405
|
return false if @shadow.nil?
|
|
416
|
-
return false if @shape_properties.nil?
|
|
417
406
|
return false if @width.nil?
|
|
418
407
|
return false if @height.nil?
|
|
419
408
|
return false if @x.nil?
|
|
@@ -453,7 +442,6 @@ module AsposeCellsCloud
|
|
|
453
442
|
is_automatic_size == o.is_automatic_size &&
|
|
454
443
|
is_inner_mode == o.is_inner_mode &&
|
|
455
444
|
shadow == o.shadow &&
|
|
456
|
-
shape_properties == o.shape_properties &&
|
|
457
445
|
width == o.width &&
|
|
458
446
|
height == o.height &&
|
|
459
447
|
x == o.x &&
|
|
@@ -470,7 +458,7 @@ module AsposeCellsCloud
|
|
|
470
458
|
# Calculates hash code according to all attributes.
|
|
471
459
|
# @return [Fixnum] Hash code
|
|
472
460
|
def hash
|
|
473
|
-
[ is_auto_text , is_deleted , linked_source , number , number_format , number_format_linked , position , rotation_angle , separator , show_bubble_size , show_category_name , show_legend_key , show_percentage , show_series_name , show_value , text , text_direction , text_horizontal_alignment , text_vertical_alignment , area , auto_scale_font , background_mode , border , font , is_automatic_size , is_inner_mode , shadow ,
|
|
461
|
+
[ is_auto_text , is_deleted , linked_source , number , number_format , number_format_linked , position , rotation_angle , separator , show_bubble_size , show_category_name , show_legend_key , show_percentage , show_series_name , show_value , 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
|
|
474
462
|
end
|
|
475
463
|
|
|
476
464
|
# Builds the object from hash
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
--------------------------------------------------------------------------------------------------------------------
|
|
3
|
-
<copyright company="Aspose" file="
|
|
3
|
+
<copyright company="Aspose" file="DataQueryrb.cs">
|
|
4
4
|
Copyright (c) 2024 Aspose.Cells Cloud
|
|
5
5
|
</copyright>
|
|
6
6
|
<summary>
|
|
@@ -30,29 +30,37 @@ require 'date'
|
|
|
30
30
|
|
|
31
31
|
module AsposeCellsCloud
|
|
32
32
|
|
|
33
|
-
class
|
|
34
|
-
#
|
|
33
|
+
class DataQuery
|
|
34
|
+
#Define a name for data query. Unique identification.
|
|
35
|
+
attr_accessor :name
|
|
36
|
+
#The specific data object type. When the value is File, DataItem is invalid.
|
|
35
37
|
attr_accessor :data_source_data_type
|
|
36
|
-
#
|
|
37
|
-
attr_accessor :data_file
|
|
38
|
-
#
|
|
38
|
+
#Indicates the source of the mount data.
|
|
39
39
|
attr_accessor :data_source
|
|
40
|
+
#When data souce is request files, FileInfo store the contents of the file.
|
|
41
|
+
attr_accessor :file_info
|
|
42
|
+
#The specific data object type and name.
|
|
43
|
+
attr_accessor :data_item
|
|
40
44
|
|
|
41
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
42
46
|
def self.attribute_map
|
|
43
47
|
{
|
|
48
|
+
:'name' => :'Name',
|
|
44
49
|
:'data_source_data_type' => :'DataSourceDataType',
|
|
45
|
-
:'
|
|
46
|
-
:'
|
|
50
|
+
:'data_source' => :'DataSource',
|
|
51
|
+
:'file_info' => :'FileInfo',
|
|
52
|
+
:'data_item' => :'DataItem'
|
|
47
53
|
}
|
|
48
54
|
end
|
|
49
55
|
|
|
50
56
|
# Attribute type mapping.
|
|
51
57
|
def self.swagger_types
|
|
52
58
|
{
|
|
59
|
+
:'name' => :'String',
|
|
53
60
|
:'data_source_data_type' => :'String',
|
|
54
|
-
:'
|
|
55
|
-
:'
|
|
61
|
+
:'data_source' => :'DataSource',
|
|
62
|
+
:'file_info' => :'FileInfo',
|
|
63
|
+
:'data_item' => :'DataItem'
|
|
56
64
|
}
|
|
57
65
|
end
|
|
58
66
|
|
|
@@ -64,15 +72,21 @@ module AsposeCellsCloud
|
|
|
64
72
|
# convert string to symbol for hash key
|
|
65
73
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
66
74
|
|
|
75
|
+
if attributes.has_key?(:'Name')
|
|
76
|
+
self.name = attributes[:'Name']
|
|
77
|
+
end
|
|
67
78
|
if attributes.has_key?(:'DataSourceDataType')
|
|
68
79
|
self.data_source_data_type = attributes[:'DataSourceDataType']
|
|
69
80
|
end
|
|
70
|
-
if attributes.has_key?(:'DataFile')
|
|
71
|
-
self.data_file = attributes[:'DataFile']
|
|
72
|
-
end
|
|
73
81
|
if attributes.has_key?(:'DataSource')
|
|
74
82
|
self.data_source = attributes[:'DataSource']
|
|
75
83
|
end
|
|
84
|
+
if attributes.has_key?(:'FileInfo')
|
|
85
|
+
self.file_info = attributes[:'FileInfo']
|
|
86
|
+
end
|
|
87
|
+
if attributes.has_key?(:'DataItem')
|
|
88
|
+
self.data_item = attributes[:'DataItem']
|
|
89
|
+
end
|
|
76
90
|
|
|
77
91
|
end
|
|
78
92
|
|
|
@@ -80,15 +94,21 @@ module AsposeCellsCloud
|
|
|
80
94
|
# @return Array for valid properies with the reasons
|
|
81
95
|
def list_invalid_properties
|
|
82
96
|
invalid_properties = Array.new
|
|
97
|
+
if @name.nil?
|
|
98
|
+
invalid_properties.push("invalid value for 'name', name cannot be nil.")
|
|
99
|
+
end
|
|
83
100
|
if @data_source_data_type.nil?
|
|
84
101
|
invalid_properties.push("invalid value for 'data_source_data_type', data_source_data_type cannot be nil.")
|
|
85
102
|
end
|
|
86
|
-
if @data_file.nil?
|
|
87
|
-
invalid_properties.push("invalid value for 'data_file', data_file cannot be nil.")
|
|
88
|
-
end
|
|
89
103
|
if @data_source.nil?
|
|
90
104
|
invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
|
|
91
105
|
end
|
|
106
|
+
if @file_info.nil?
|
|
107
|
+
invalid_properties.push("invalid value for 'file_info', file_info cannot be nil.")
|
|
108
|
+
end
|
|
109
|
+
if @data_item.nil?
|
|
110
|
+
invalid_properties.push("invalid value for 'data_item', data_item cannot be nil.")
|
|
111
|
+
end
|
|
92
112
|
|
|
93
113
|
return invalid_properties
|
|
94
114
|
end
|
|
@@ -96,9 +116,11 @@ module AsposeCellsCloud
|
|
|
96
116
|
# Check to see if the all the properties in the model are valid
|
|
97
117
|
# @return true if the model is valid
|
|
98
118
|
def valid?
|
|
119
|
+
return false if @name.nil?
|
|
99
120
|
return false if @data_source_data_type.nil?
|
|
100
|
-
return false if @data_file.nil?
|
|
101
121
|
return false if @data_source.nil?
|
|
122
|
+
return false if @file_info.nil?
|
|
123
|
+
return false if @data_item.nil?
|
|
102
124
|
return true
|
|
103
125
|
end
|
|
104
126
|
|
|
@@ -107,9 +129,11 @@ module AsposeCellsCloud
|
|
|
107
129
|
def ==(o)
|
|
108
130
|
return true if self.equal?(o)
|
|
109
131
|
self.class == o.class &&
|
|
132
|
+
name == o.name &&
|
|
110
133
|
data_source_data_type == o.data_source_data_type &&
|
|
111
|
-
|
|
112
|
-
|
|
134
|
+
data_source == o.data_source &&
|
|
135
|
+
file_info == o.file_info &&
|
|
136
|
+
data_item == o.data_item
|
|
113
137
|
std_dev == o.std_dev
|
|
114
138
|
end
|
|
115
139
|
|
|
@@ -122,7 +146,7 @@ module AsposeCellsCloud
|
|
|
122
146
|
# Calculates hash code according to all attributes.
|
|
123
147
|
# @return [Fixnum] Hash code
|
|
124
148
|
def hash
|
|
125
|
-
[
|
|
149
|
+
[ name , data_source_data_type , data_source , file_info , data_item ].hash
|
|
126
150
|
end
|
|
127
151
|
|
|
128
152
|
# Builds the object from hash
|
|
@@ -31,9 +31,9 @@ require 'date'
|
|
|
31
31
|
module AsposeCellsCloud
|
|
32
32
|
|
|
33
33
|
class DataSource
|
|
34
|
-
#
|
|
34
|
+
#Represents data source type.
|
|
35
35
|
attr_accessor :data_source_type
|
|
36
|
-
#
|
|
36
|
+
#Represents data path.
|
|
37
37
|
attr_accessor :data_path
|
|
38
38
|
|
|
39
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -31,23 +31,26 @@ require 'date'
|
|
|
31
31
|
module AsposeCellsCloud
|
|
32
32
|
|
|
33
33
|
class DataTransformationRequest
|
|
34
|
-
#
|
|
34
|
+
#Indicates the source of the mount data.
|
|
35
35
|
attr_accessor :file_info
|
|
36
|
-
#
|
|
37
|
-
attr_accessor :
|
|
38
|
-
#
|
|
36
|
+
#Indicates the source of the mount data.
|
|
37
|
+
attr_accessor :data_source
|
|
38
|
+
#Indicates load data.
|
|
39
39
|
attr_accessor :load_data
|
|
40
|
+
#Indicates applied step list.
|
|
41
|
+
attr_accessor :applied_steps
|
|
40
42
|
#
|
|
41
43
|
attr_accessor :region
|
|
42
|
-
#
|
|
44
|
+
#Indicates output format
|
|
43
45
|
attr_accessor :out_format
|
|
44
46
|
|
|
45
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
48
|
def self.attribute_map
|
|
47
49
|
{
|
|
48
50
|
:'file_info' => :'FileInfo',
|
|
49
|
-
:'
|
|
51
|
+
:'data_source' => :'DataSource',
|
|
50
52
|
:'load_data' => :'LoadData',
|
|
53
|
+
:'applied_steps' => :'AppliedSteps',
|
|
51
54
|
:'region' => :'Region',
|
|
52
55
|
:'out_format' => :'OutFormat'
|
|
53
56
|
}
|
|
@@ -57,8 +60,9 @@ module AsposeCellsCloud
|
|
|
57
60
|
def self.swagger_types
|
|
58
61
|
{
|
|
59
62
|
:'file_info' => :'FileInfo',
|
|
60
|
-
:'
|
|
63
|
+
:'data_source' => :'DataSource',
|
|
61
64
|
:'load_data' => :'LoadData',
|
|
65
|
+
:'applied_steps' => :'Array<AppliedStep>',
|
|
62
66
|
:'region' => :'String',
|
|
63
67
|
:'out_format' => :'String'
|
|
64
68
|
}
|
|
@@ -75,12 +79,15 @@ module AsposeCellsCloud
|
|
|
75
79
|
if attributes.has_key?(:'FileInfo')
|
|
76
80
|
self.file_info = attributes[:'FileInfo']
|
|
77
81
|
end
|
|
78
|
-
if attributes.has_key?(:'
|
|
79
|
-
self.
|
|
82
|
+
if attributes.has_key?(:'DataSource')
|
|
83
|
+
self.data_source = attributes[:'DataSource']
|
|
80
84
|
end
|
|
81
85
|
if attributes.has_key?(:'LoadData')
|
|
82
86
|
self.load_data = attributes[:'LoadData']
|
|
83
87
|
end
|
|
88
|
+
if attributes.has_key?(:'AppliedSteps')
|
|
89
|
+
self.applied_steps = attributes[:'AppliedSteps']
|
|
90
|
+
end
|
|
84
91
|
if attributes.has_key?(:'Region')
|
|
85
92
|
self.region = attributes[:'Region']
|
|
86
93
|
end
|
|
@@ -97,12 +104,15 @@ module AsposeCellsCloud
|
|
|
97
104
|
if @file_info.nil?
|
|
98
105
|
invalid_properties.push("invalid value for 'file_info', file_info cannot be nil.")
|
|
99
106
|
end
|
|
100
|
-
if @
|
|
101
|
-
invalid_properties.push("invalid value for '
|
|
107
|
+
if @data_source.nil?
|
|
108
|
+
invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
|
|
102
109
|
end
|
|
103
110
|
if @load_data.nil?
|
|
104
111
|
invalid_properties.push("invalid value for 'load_data', load_data cannot be nil.")
|
|
105
112
|
end
|
|
113
|
+
if @applied_steps.nil?
|
|
114
|
+
invalid_properties.push("invalid value for 'applied_steps', applied_steps cannot be nil.")
|
|
115
|
+
end
|
|
106
116
|
if @region.nil?
|
|
107
117
|
invalid_properties.push("invalid value for 'region', region cannot be nil.")
|
|
108
118
|
end
|
|
@@ -117,8 +127,9 @@ module AsposeCellsCloud
|
|
|
117
127
|
# @return true if the model is valid
|
|
118
128
|
def valid?
|
|
119
129
|
return false if @file_info.nil?
|
|
120
|
-
return false if @
|
|
130
|
+
return false if @data_source.nil?
|
|
121
131
|
return false if @load_data.nil?
|
|
132
|
+
return false if @applied_steps.nil?
|
|
122
133
|
return false if @region.nil?
|
|
123
134
|
return false if @out_format.nil?
|
|
124
135
|
return true
|
|
@@ -130,8 +141,9 @@ module AsposeCellsCloud
|
|
|
130
141
|
return true if self.equal?(o)
|
|
131
142
|
self.class == o.class &&
|
|
132
143
|
file_info == o.file_info &&
|
|
133
|
-
|
|
144
|
+
data_source == o.data_source &&
|
|
134
145
|
load_data == o.load_data &&
|
|
146
|
+
applied_steps == o.applied_steps &&
|
|
135
147
|
region == o.region &&
|
|
136
148
|
out_format == o.out_format
|
|
137
149
|
std_dev == o.std_dev
|
|
@@ -146,7 +158,7 @@ module AsposeCellsCloud
|
|
|
146
158
|
# Calculates hash code according to all attributes.
|
|
147
159
|
# @return [Fixnum] Hash code
|
|
148
160
|
def hash
|
|
149
|
-
[ file_info ,
|
|
161
|
+
[ file_info , data_source , load_data , applied_steps , region , out_format ].hash
|
|
150
162
|
end
|
|
151
163
|
|
|
152
164
|
# Builds the object from hash
|
|
@@ -31,9 +31,9 @@ require 'date'
|
|
|
31
31
|
module AsposeCellsCloud
|
|
32
32
|
|
|
33
33
|
class DeduplicationRegion
|
|
34
|
-
#
|
|
34
|
+
#Represents data range.
|
|
35
35
|
attr_accessor :ranges
|
|
36
|
-
#
|
|
36
|
+
#Represents worksheet name list.
|
|
37
37
|
attr_accessor :worksheet_name_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 DiscoverChart
|
|
34
|
-
#
|
|
34
|
+
#Represents chart name.
|
|
35
35
|
attr_accessor :name
|
|
36
|
-
#
|
|
36
|
+
#Represents worksheet name which is where the chart is located.
|
|
37
37
|
attr_accessor :sheet_name
|
|
38
|
-
#
|
|
38
|
+
#Represents chart title.
|
|
39
39
|
attr_accessor :title
|
|
40
|
-
#
|
|
40
|
+
#Represents chart type.
|
|
41
41
|
attr_accessor :type
|
|
42
|
-
#
|
|
42
|
+
#Represents chart data range.
|
|
43
43
|
attr_accessor :data_range
|
|
44
|
-
#Base64String
|
|
44
|
+
#Represents chart thumbnail. Base64String
|
|
45
45
|
attr_accessor :thumbnail
|
|
46
46
|
|
|
47
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -31,11 +31,11 @@ require 'date'
|
|
|
31
31
|
module AsposeCellsCloud
|
|
32
32
|
|
|
33
33
|
class DiscoverPivotTable
|
|
34
|
-
#
|
|
34
|
+
#Represents pivot table name.
|
|
35
35
|
attr_accessor :name
|
|
36
|
-
#
|
|
36
|
+
#Represents pivot table title.
|
|
37
37
|
attr_accessor :title
|
|
38
|
-
#
|
|
38
|
+
#Represents pivot table data range.
|
|
39
39
|
attr_accessor :data_range
|
|
40
40
|
#Represents row fields in a PivotTable report.
|
|
41
41
|
attr_accessor :pivot_field_rows
|
|
@@ -43,7 +43,7 @@ module AsposeCellsCloud
|
|
|
43
43
|
attr_accessor :pivot_field_columns
|
|
44
44
|
#Represents data fields in a PivotTable report.
|
|
45
45
|
attr_accessor :pivot_field_data
|
|
46
|
-
#Base64String
|
|
46
|
+
#Represents pivot table thumbnail. Base64String
|
|
47
47
|
attr_accessor :thumbnail
|
|
48
48
|
|
|
49
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -38,8 +38,6 @@ module AsposeCellsCloud
|
|
|
38
38
|
#Gets or sets the text of display unit label.
|
|
39
39
|
attr_accessor :text
|
|
40
40
|
#
|
|
41
|
-
attr_accessor :text_direction
|
|
42
|
-
#
|
|
43
41
|
attr_accessor :text_horizontal_alignment
|
|
44
42
|
#
|
|
45
43
|
attr_accessor :text_vertical_alignment
|
|
@@ -60,8 +58,6 @@ module AsposeCellsCloud
|
|
|
60
58
|
#
|
|
61
59
|
attr_accessor :shadow
|
|
62
60
|
#
|
|
63
|
-
attr_accessor :shape_properties
|
|
64
|
-
#
|
|
65
61
|
attr_accessor :width
|
|
66
62
|
#
|
|
67
63
|
attr_accessor :height
|
|
@@ -76,7 +72,6 @@ module AsposeCellsCloud
|
|
|
76
72
|
:'linked_source' => :'LinkedSource',
|
|
77
73
|
:'rotation_angle' => :'RotationAngle',
|
|
78
74
|
:'text' => :'Text',
|
|
79
|
-
:'text_direction' => :'TextDirection',
|
|
80
75
|
:'text_horizontal_alignment' => :'TextHorizontalAlignment',
|
|
81
76
|
:'text_vertical_alignment' => :'TextVerticalAlignment',
|
|
82
77
|
:'area' => :'Area',
|
|
@@ -87,7 +82,6 @@ module AsposeCellsCloud
|
|
|
87
82
|
:'is_automatic_size' => :'IsAutomaticSize',
|
|
88
83
|
:'is_inner_mode' => :'IsInnerMode',
|
|
89
84
|
:'shadow' => :'Shadow',
|
|
90
|
-
:'shape_properties' => :'ShapeProperties',
|
|
91
85
|
:'width' => :'Width',
|
|
92
86
|
:'height' => :'Height',
|
|
93
87
|
:'x' => :'X',
|
|
@@ -101,7 +95,6 @@ module AsposeCellsCloud
|
|
|
101
95
|
:'linked_source' => :'String',
|
|
102
96
|
:'rotation_angle' => :'Integer',
|
|
103
97
|
:'text' => :'String',
|
|
104
|
-
:'text_direction' => :'String',
|
|
105
98
|
:'text_horizontal_alignment' => :'String',
|
|
106
99
|
:'text_vertical_alignment' => :'String',
|
|
107
100
|
:'area' => :'Area',
|
|
@@ -112,7 +105,6 @@ module AsposeCellsCloud
|
|
|
112
105
|
:'is_automatic_size' => :'BOOLEAN',
|
|
113
106
|
:'is_inner_mode' => :'BOOLEAN',
|
|
114
107
|
:'shadow' => :'BOOLEAN',
|
|
115
|
-
:'shape_properties' => :'Array<LinkElement>',
|
|
116
108
|
:'width' => :'Integer',
|
|
117
109
|
:'height' => :'Integer',
|
|
118
110
|
:'x' => :'Integer',
|
|
@@ -137,9 +129,6 @@ module AsposeCellsCloud
|
|
|
137
129
|
if attributes.has_key?(:'Text')
|
|
138
130
|
self.text = attributes[:'Text']
|
|
139
131
|
end
|
|
140
|
-
if attributes.has_key?(:'TextDirection')
|
|
141
|
-
self.text_direction = attributes[:'TextDirection']
|
|
142
|
-
end
|
|
143
132
|
if attributes.has_key?(:'TextHorizontalAlignment')
|
|
144
133
|
self.text_horizontal_alignment = attributes[:'TextHorizontalAlignment']
|
|
145
134
|
end
|
|
@@ -170,9 +159,6 @@ module AsposeCellsCloud
|
|
|
170
159
|
if attributes.has_key?(:'Shadow')
|
|
171
160
|
self.shadow = attributes[:'Shadow']
|
|
172
161
|
end
|
|
173
|
-
if attributes.has_key?(:'ShapeProperties')
|
|
174
|
-
self.shape_properties = attributes[:'ShapeProperties']
|
|
175
|
-
end
|
|
176
162
|
if attributes.has_key?(:'Width')
|
|
177
163
|
self.width = attributes[:'Width']
|
|
178
164
|
end
|
|
@@ -201,9 +187,6 @@ module AsposeCellsCloud
|
|
|
201
187
|
if @text.nil?
|
|
202
188
|
invalid_properties.push("invalid value for 'text', text cannot be nil.")
|
|
203
189
|
end
|
|
204
|
-
if @text_direction.nil?
|
|
205
|
-
invalid_properties.push("invalid value for 'text_direction', text_direction cannot be nil.")
|
|
206
|
-
end
|
|
207
190
|
if @text_horizontal_alignment.nil?
|
|
208
191
|
invalid_properties.push("invalid value for 'text_horizontal_alignment', text_horizontal_alignment cannot be nil.")
|
|
209
192
|
end
|
|
@@ -234,9 +217,6 @@ module AsposeCellsCloud
|
|
|
234
217
|
if @shadow.nil?
|
|
235
218
|
invalid_properties.push("invalid value for 'shadow', shadow cannot be nil.")
|
|
236
219
|
end
|
|
237
|
-
if @shape_properties.nil?
|
|
238
|
-
invalid_properties.push("invalid value for 'shape_properties', shape_properties cannot be nil.")
|
|
239
|
-
end
|
|
240
220
|
if @width.nil?
|
|
241
221
|
invalid_properties.push("invalid value for 'width', width cannot be nil.")
|
|
242
222
|
end
|
|
@@ -259,7 +239,6 @@ module AsposeCellsCloud
|
|
|
259
239
|
return false if @linked_source.nil?
|
|
260
240
|
return false if @rotation_angle.nil?
|
|
261
241
|
return false if @text.nil?
|
|
262
|
-
return false if @text_direction.nil?
|
|
263
242
|
return false if @text_horizontal_alignment.nil?
|
|
264
243
|
return false if @text_vertical_alignment.nil?
|
|
265
244
|
return false if @area.nil?
|
|
@@ -270,7 +249,6 @@ module AsposeCellsCloud
|
|
|
270
249
|
return false if @is_automatic_size.nil?
|
|
271
250
|
return false if @is_inner_mode.nil?
|
|
272
251
|
return false if @shadow.nil?
|
|
273
|
-
return false if @shape_properties.nil?
|
|
274
252
|
return false if @width.nil?
|
|
275
253
|
return false if @height.nil?
|
|
276
254
|
return false if @x.nil?
|
|
@@ -286,7 +264,6 @@ module AsposeCellsCloud
|
|
|
286
264
|
linked_source == o.linked_source &&
|
|
287
265
|
rotation_angle == o.rotation_angle &&
|
|
288
266
|
text == o.text &&
|
|
289
|
-
text_direction == o.text_direction &&
|
|
290
267
|
text_horizontal_alignment == o.text_horizontal_alignment &&
|
|
291
268
|
text_vertical_alignment == o.text_vertical_alignment &&
|
|
292
269
|
area == o.area &&
|
|
@@ -297,7 +274,6 @@ module AsposeCellsCloud
|
|
|
297
274
|
is_automatic_size == o.is_automatic_size &&
|
|
298
275
|
is_inner_mode == o.is_inner_mode &&
|
|
299
276
|
shadow == o.shadow &&
|
|
300
|
-
shape_properties == o.shape_properties &&
|
|
301
277
|
width == o.width &&
|
|
302
278
|
height == o.height &&
|
|
303
279
|
x == o.x &&
|
|
@@ -314,7 +290,7 @@ module AsposeCellsCloud
|
|
|
314
290
|
# Calculates hash code according to all attributes.
|
|
315
291
|
# @return [Fixnum] Hash code
|
|
316
292
|
def hash
|
|
317
|
-
[ linked_source , rotation_angle , text ,
|
|
293
|
+
[ linked_source , rotation_angle , text , 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
|
|
318
294
|
end
|
|
319
295
|
|
|
320
296
|
# Builds the object from hash
|
|
@@ -31,24 +31,20 @@ require 'date'
|
|
|
31
31
|
module AsposeCellsCloud
|
|
32
32
|
|
|
33
33
|
class ExcelDataStatistics
|
|
34
|
-
#
|
|
34
|
+
#Represents worksheet data statistics list.
|
|
35
35
|
attr_accessor :worksheet_data_statistics
|
|
36
|
-
#
|
|
37
|
-
attr_accessor :names_count
|
|
38
36
|
|
|
39
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
40
38
|
def self.attribute_map
|
|
41
39
|
{
|
|
42
|
-
:'worksheet_data_statistics' => :'WorksheetDataStatistics'
|
|
43
|
-
:'names_count' => :'NamesCount'
|
|
40
|
+
:'worksheet_data_statistics' => :'WorksheetDataStatistics'
|
|
44
41
|
}
|
|
45
42
|
end
|
|
46
43
|
|
|
47
44
|
# Attribute type mapping.
|
|
48
45
|
def self.swagger_types
|
|
49
46
|
{
|
|
50
|
-
:'worksheet_data_statistics' => :'Array<WorksheetDataStatistics>'
|
|
51
|
-
:'names_count' => :'Integer'
|
|
47
|
+
:'worksheet_data_statistics' => :'Array<WorksheetDataStatistics>'
|
|
52
48
|
}
|
|
53
49
|
end
|
|
54
50
|
|
|
@@ -63,9 +59,6 @@ module AsposeCellsCloud
|
|
|
63
59
|
if attributes.has_key?(:'WorksheetDataStatistics')
|
|
64
60
|
self.worksheet_data_statistics = attributes[:'WorksheetDataStatistics']
|
|
65
61
|
end
|
|
66
|
-
if attributes.has_key?(:'NamesCount')
|
|
67
|
-
self.names_count = attributes[:'NamesCount']
|
|
68
|
-
end
|
|
69
62
|
|
|
70
63
|
end
|
|
71
64
|
|
|
@@ -76,9 +69,6 @@ module AsposeCellsCloud
|
|
|
76
69
|
if @worksheet_data_statistics.nil?
|
|
77
70
|
invalid_properties.push("invalid value for 'worksheet_data_statistics', worksheet_data_statistics cannot be nil.")
|
|
78
71
|
end
|
|
79
|
-
if @names_count.nil?
|
|
80
|
-
invalid_properties.push("invalid value for 'names_count', names_count cannot be nil.")
|
|
81
|
-
end
|
|
82
72
|
|
|
83
73
|
return invalid_properties
|
|
84
74
|
end
|
|
@@ -87,7 +77,6 @@ module AsposeCellsCloud
|
|
|
87
77
|
# @return true if the model is valid
|
|
88
78
|
def valid?
|
|
89
79
|
return false if @worksheet_data_statistics.nil?
|
|
90
|
-
return false if @names_count.nil?
|
|
91
80
|
return true
|
|
92
81
|
end
|
|
93
82
|
|
|
@@ -96,8 +85,7 @@ module AsposeCellsCloud
|
|
|
96
85
|
def ==(o)
|
|
97
86
|
return true if self.equal?(o)
|
|
98
87
|
self.class == o.class &&
|
|
99
|
-
worksheet_data_statistics == o.worksheet_data_statistics
|
|
100
|
-
names_count == o.names_count
|
|
88
|
+
worksheet_data_statistics == o.worksheet_data_statistics
|
|
101
89
|
std_dev == o.std_dev
|
|
102
90
|
end
|
|
103
91
|
|
|
@@ -110,7 +98,7 @@ module AsposeCellsCloud
|
|
|
110
98
|
# Calculates hash code according to all attributes.
|
|
111
99
|
# @return [Fixnum] Hash code
|
|
112
100
|
def hash
|
|
113
|
-
[ worksheet_data_statistics
|
|
101
|
+
[ worksheet_data_statistics ].hash
|
|
114
102
|
end
|
|
115
103
|
|
|
116
104
|
# Builds the object from hash
|
|
@@ -31,11 +31,11 @@ require 'date'
|
|
|
31
31
|
module AsposeCellsCloud
|
|
32
32
|
|
|
33
33
|
class FileInfo
|
|
34
|
-
#
|
|
34
|
+
#Represents filename.
|
|
35
35
|
attr_accessor :filename
|
|
36
|
-
#
|
|
36
|
+
#Represents file size.
|
|
37
37
|
attr_accessor :file_size
|
|
38
|
-
#
|
|
38
|
+
#Represents file content, byte to base64 string.
|
|
39
39
|
attr_accessor :file_content
|
|
40
40
|
|
|
41
41
|
# 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 ImportDataTaskParameter
|
|
34
|
-
#
|
|
34
|
+
#Represents data source of task object.
|
|
35
35
|
attr_accessor :data_source
|
|
36
|
-
#
|
|
36
|
+
#Represents data source of task object.
|
|
37
37
|
attr_accessor :workbook
|
|
38
|
-
#
|
|
38
|
+
#Represents import option.
|
|
39
39
|
attr_accessor :import_option
|
|
40
|
-
#
|
|
40
|
+
#Represents destination data source.
|
|
41
41
|
attr_accessor :target_data_source
|
|
42
|
-
#
|
|
42
|
+
#Represents destination data source.
|
|
43
43
|
attr_accessor :destination_workbook
|
|
44
44
|
|
|
45
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|