aspose_cells_cloud 24.4 → 24.7
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -52,8 +52,6 @@ module AsposeCellsCloud
|
|
52
52
|
#
|
53
53
|
attr_accessor :shadow
|
54
54
|
#
|
55
|
-
attr_accessor :shape_properties
|
56
|
-
#
|
57
55
|
attr_accessor :width
|
58
56
|
#
|
59
57
|
attr_accessor :height
|
@@ -75,7 +73,6 @@ module AsposeCellsCloud
|
|
75
73
|
:'is_automatic_size' => :'IsAutomaticSize',
|
76
74
|
:'is_inner_mode' => :'IsInnerMode',
|
77
75
|
:'shadow' => :'Shadow',
|
78
|
-
:'shape_properties' => :'ShapeProperties',
|
79
76
|
:'width' => :'Width',
|
80
77
|
:'height' => :'Height',
|
81
78
|
:'x' => :'X',
|
@@ -96,7 +93,6 @@ module AsposeCellsCloud
|
|
96
93
|
:'is_automatic_size' => :'BOOLEAN',
|
97
94
|
:'is_inner_mode' => :'BOOLEAN',
|
98
95
|
:'shadow' => :'BOOLEAN',
|
99
|
-
:'shape_properties' => :'Array<LinkElement>',
|
100
96
|
:'width' => :'Integer',
|
101
97
|
:'height' => :'Integer',
|
102
98
|
:'x' => :'Integer',
|
@@ -142,9 +138,6 @@ module AsposeCellsCloud
|
|
142
138
|
if attributes.has_key?(:'Shadow')
|
143
139
|
self.shadow = attributes[:'Shadow']
|
144
140
|
end
|
145
|
-
if attributes.has_key?(:'ShapeProperties')
|
146
|
-
self.shape_properties = attributes[:'ShapeProperties']
|
147
|
-
end
|
148
141
|
if attributes.has_key?(:'Width')
|
149
142
|
self.width = attributes[:'Width']
|
150
143
|
end
|
@@ -194,9 +187,6 @@ module AsposeCellsCloud
|
|
194
187
|
if @shadow.nil?
|
195
188
|
invalid_properties.push("invalid value for 'shadow', shadow cannot be nil.")
|
196
189
|
end
|
197
|
-
if @shape_properties.nil?
|
198
|
-
invalid_properties.push("invalid value for 'shape_properties', shape_properties cannot be nil.")
|
199
|
-
end
|
200
190
|
if @width.nil?
|
201
191
|
invalid_properties.push("invalid value for 'width', width cannot be nil.")
|
202
192
|
end
|
@@ -226,7 +216,6 @@ module AsposeCellsCloud
|
|
226
216
|
return false if @is_automatic_size.nil?
|
227
217
|
return false if @is_inner_mode.nil?
|
228
218
|
return false if @shadow.nil?
|
229
|
-
return false if @shape_properties.nil?
|
230
219
|
return false if @width.nil?
|
231
220
|
return false if @height.nil?
|
232
221
|
return false if @x.nil?
|
@@ -249,7 +238,6 @@ module AsposeCellsCloud
|
|
249
238
|
is_automatic_size == o.is_automatic_size &&
|
250
239
|
is_inner_mode == o.is_inner_mode &&
|
251
240
|
shadow == o.shadow &&
|
252
|
-
shape_properties == o.shape_properties &&
|
253
241
|
width == o.width &&
|
254
242
|
height == o.height &&
|
255
243
|
x == o.x &&
|
@@ -266,7 +254,7 @@ module AsposeCellsCloud
|
|
266
254
|
# Calculates hash code according to all attributes.
|
267
255
|
# @return [Fixnum] Hash code
|
268
256
|
def hash
|
269
|
-
[ position , legend_entries , area , auto_scale_font , background_mode , border , font , is_automatic_size , is_inner_mode , shadow ,
|
257
|
+
[ position , legend_entries , area , auto_scale_font , background_mode , border , font , is_automatic_size , is_inner_mode , shadow , width , height , x , y ].hash
|
270
258
|
end
|
271
259
|
|
272
260
|
# Builds the object from hash
|
@@ -56,10 +56,10 @@ module AsposeCellsCloud
|
|
56
56
|
# Attribute type mapping.
|
57
57
|
def self.swagger_types
|
58
58
|
{
|
59
|
-
:'auto_scale_font' => :'
|
59
|
+
:'auto_scale_font' => :'BOOLEAN',
|
60
60
|
:'background_mode' => :'String',
|
61
61
|
:'font' => :'Font',
|
62
|
-
:'is_deleted' => :'
|
62
|
+
:'is_deleted' => :'BOOLEAN',
|
63
63
|
:'link' => :'Link'
|
64
64
|
}
|
65
65
|
end
|
@@ -33,20 +33,14 @@ module AsposeCellsCloud
|
|
33
33
|
class LoadData
|
34
34
|
#Indicates begin position for loading data.
|
35
35
|
attr_accessor :load_to
|
36
|
-
#Indicates
|
37
|
-
attr_accessor :
|
38
|
-
#When data souce is request files, FileInfo store the contents of the file.
|
39
|
-
attr_accessor :file_info
|
40
|
-
#The specific data object type and name.
|
41
|
-
attr_accessor :data_item
|
36
|
+
#Indicates data query for data loading.
|
37
|
+
attr_accessor :data_query
|
42
38
|
|
43
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
44
40
|
def self.attribute_map
|
45
41
|
{
|
46
42
|
:'load_to' => :'LoadTo',
|
47
|
-
:'
|
48
|
-
:'file_info' => :'FileInfo',
|
49
|
-
:'data_item' => :'DataItem'
|
43
|
+
:'data_query' => :'DataQuery'
|
50
44
|
}
|
51
45
|
end
|
52
46
|
|
@@ -54,9 +48,7 @@ module AsposeCellsCloud
|
|
54
48
|
def self.swagger_types
|
55
49
|
{
|
56
50
|
:'load_to' => :'LoadTo',
|
57
|
-
:'
|
58
|
-
:'file_info' => :'FileInfo',
|
59
|
-
:'data_item' => :'DataItem'
|
51
|
+
:'data_query' => :'DataQuery'
|
60
52
|
}
|
61
53
|
end
|
62
54
|
|
@@ -71,14 +63,8 @@ module AsposeCellsCloud
|
|
71
63
|
if attributes.has_key?(:'LoadTo')
|
72
64
|
self.load_to = attributes[:'LoadTo']
|
73
65
|
end
|
74
|
-
if attributes.has_key?(:'
|
75
|
-
self.
|
76
|
-
end
|
77
|
-
if attributes.has_key?(:'FileInfo')
|
78
|
-
self.file_info = attributes[:'FileInfo']
|
79
|
-
end
|
80
|
-
if attributes.has_key?(:'DataItem')
|
81
|
-
self.data_item = attributes[:'DataItem']
|
66
|
+
if attributes.has_key?(:'DataQuery')
|
67
|
+
self.data_query = attributes[:'DataQuery']
|
82
68
|
end
|
83
69
|
|
84
70
|
end
|
@@ -90,14 +76,8 @@ module AsposeCellsCloud
|
|
90
76
|
if @load_to.nil?
|
91
77
|
invalid_properties.push("invalid value for 'load_to', load_to cannot be nil.")
|
92
78
|
end
|
93
|
-
if @
|
94
|
-
invalid_properties.push("invalid value for '
|
95
|
-
end
|
96
|
-
if @file_info.nil?
|
97
|
-
invalid_properties.push("invalid value for 'file_info', file_info cannot be nil.")
|
98
|
-
end
|
99
|
-
if @data_item.nil?
|
100
|
-
invalid_properties.push("invalid value for 'data_item', data_item cannot be nil.")
|
79
|
+
if @data_query.nil?
|
80
|
+
invalid_properties.push("invalid value for 'data_query', data_query cannot be nil.")
|
101
81
|
end
|
102
82
|
|
103
83
|
return invalid_properties
|
@@ -107,9 +87,7 @@ module AsposeCellsCloud
|
|
107
87
|
# @return true if the model is valid
|
108
88
|
def valid?
|
109
89
|
return false if @load_to.nil?
|
110
|
-
return false if @
|
111
|
-
return false if @file_info.nil?
|
112
|
-
return false if @data_item.nil?
|
90
|
+
return false if @data_query.nil?
|
113
91
|
return true
|
114
92
|
end
|
115
93
|
|
@@ -119,9 +97,7 @@ module AsposeCellsCloud
|
|
119
97
|
return true if self.equal?(o)
|
120
98
|
self.class == o.class &&
|
121
99
|
load_to == o.load_to &&
|
122
|
-
|
123
|
-
file_info == o.file_info &&
|
124
|
-
data_item == o.data_item
|
100
|
+
data_query == o.data_query
|
125
101
|
std_dev == o.std_dev
|
126
102
|
end
|
127
103
|
|
@@ -134,7 +110,7 @@ module AsposeCellsCloud
|
|
134
110
|
# Calculates hash code according to all attributes.
|
135
111
|
# @return [Fixnum] Hash code
|
136
112
|
def hash
|
137
|
-
[ load_to ,
|
113
|
+
[ load_to , data_query ].hash
|
138
114
|
end
|
139
115
|
|
140
116
|
# Builds the object from hash
|
@@ -31,11 +31,11 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class LoadTo
|
34
|
-
#
|
34
|
+
#The worksheet name.
|
35
35
|
attr_accessor :worksheet
|
36
|
-
#
|
36
|
+
#The begin row index of worksheet.
|
37
37
|
attr_accessor :begin_row_index
|
38
|
-
#
|
38
|
+
#The begin column index of worksheet.
|
39
39
|
attr_accessor :begin_column_index
|
40
40
|
|
41
41
|
# 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 Marker
|
34
|
-
#Gets the border.
|
34
|
+
#Gets the border.
|
35
35
|
attr_accessor :border
|
36
|
-
#Gets the area.
|
36
|
+
#Gets the area.
|
37
37
|
attr_accessor :area
|
38
|
-
#Represents the marker size in unit of points. Applies to line chart, scatter chart, or radar chart.
|
38
|
+
#Represents the marker size in unit of points. Applies to line chart, scatter chart, or radar chart.
|
39
39
|
attr_accessor :marker_size
|
40
|
-
#Represents the marker style. Applies to line chart, scatter chart, or radar chart.
|
40
|
+
#Represents the marker style. Applies to line chart, scatter chart, or radar chart.
|
41
41
|
attr_accessor :marker_style
|
42
42
|
|
43
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
=begin
|
2
2
|
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
<copyright company="Aspose" file="
|
3
|
+
<copyright company="Aspose" file="MergeQueriesrb.cs">
|
4
4
|
Copyright (c) 2024 Aspose.Cells Cloud
|
5
5
|
</copyright>
|
6
6
|
<summary>
|
@@ -30,37 +30,41 @@ require 'date'
|
|
30
30
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
|
-
class
|
34
|
-
#
|
35
|
-
attr_accessor :
|
36
|
-
#
|
37
|
-
attr_accessor :
|
38
|
-
#
|
39
|
-
attr_accessor :
|
40
|
-
#
|
41
|
-
attr_accessor :
|
42
|
-
#
|
43
|
-
attr_accessor :
|
33
|
+
class MergeQueries
|
34
|
+
#Indicates the name of the data query , it is matched in the data query set.
|
35
|
+
attr_accessor :data_query_name_a
|
36
|
+
#Represents index field of DataA.
|
37
|
+
attr_accessor :data_a_index_field
|
38
|
+
#Indicates the name of the data query , it is matched in the data query set.
|
39
|
+
attr_accessor :data_query_name_b
|
40
|
+
#Represents index field of DataB.
|
41
|
+
attr_accessor :data_b_index_field
|
42
|
+
#Represents ethods of data consolidation.
|
43
|
+
attr_accessor :join_type
|
44
|
+
#
|
45
|
+
attr_accessor :applied_operate_type
|
44
46
|
|
45
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
46
48
|
def self.attribute_map
|
47
49
|
{
|
48
|
-
:'
|
49
|
-
:'
|
50
|
-
:'
|
51
|
-
:'
|
52
|
-
:'
|
50
|
+
:'data_query_name_a' => :'DataQueryNameA',
|
51
|
+
:'data_a_index_field' => :'DataAIndexField',
|
52
|
+
:'data_query_name_b' => :'DataQueryNameB',
|
53
|
+
:'data_b_index_field' => :'DataBIndexField',
|
54
|
+
:'join_type' => :'JoinType',
|
55
|
+
:'applied_operate_type' => :'AppliedOperateType'
|
53
56
|
}
|
54
57
|
end
|
55
58
|
|
56
59
|
# Attribute type mapping.
|
57
60
|
def self.swagger_types
|
58
61
|
{
|
59
|
-
:'
|
60
|
-
:'
|
61
|
-
:'
|
62
|
-
:'
|
63
|
-
:'
|
62
|
+
:'data_query_name_a' => :'String',
|
63
|
+
:'data_a_index_field' => :'String',
|
64
|
+
:'data_query_name_b' => :'String',
|
65
|
+
:'data_b_index_field' => :'String',
|
66
|
+
:'join_type' => :'String',
|
67
|
+
:'applied_operate_type' => :'String'
|
64
68
|
}
|
65
69
|
end
|
66
70
|
|
@@ -72,20 +76,23 @@ module AsposeCellsCloud
|
|
72
76
|
# convert string to symbol for hash key
|
73
77
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
74
78
|
|
75
|
-
if attributes.has_key?(:'
|
76
|
-
self.
|
79
|
+
if attributes.has_key?(:'DataQueryNameA')
|
80
|
+
self.data_query_name_a = attributes[:'DataQueryNameA']
|
77
81
|
end
|
78
|
-
if attributes.has_key?(:'
|
79
|
-
self.
|
82
|
+
if attributes.has_key?(:'DataAIndexField')
|
83
|
+
self.data_a_index_field = attributes[:'DataAIndexField']
|
80
84
|
end
|
81
|
-
if attributes.has_key?(:'
|
82
|
-
self.
|
85
|
+
if attributes.has_key?(:'DataQueryNameB')
|
86
|
+
self.data_query_name_b = attributes[:'DataQueryNameB']
|
83
87
|
end
|
84
|
-
if attributes.has_key?(:'
|
85
|
-
self.
|
88
|
+
if attributes.has_key?(:'DataBIndexField')
|
89
|
+
self.data_b_index_field = attributes[:'DataBIndexField']
|
86
90
|
end
|
87
|
-
if attributes.has_key?(:'
|
88
|
-
self.
|
91
|
+
if attributes.has_key?(:'JoinType')
|
92
|
+
self.join_type = attributes[:'JoinType']
|
93
|
+
end
|
94
|
+
if attributes.has_key?(:'AppliedOperateType')
|
95
|
+
self.applied_operate_type = attributes[:'AppliedOperateType']
|
89
96
|
end
|
90
97
|
|
91
98
|
end
|
@@ -94,20 +101,23 @@ module AsposeCellsCloud
|
|
94
101
|
# @return Array for valid properies with the reasons
|
95
102
|
def list_invalid_properties
|
96
103
|
invalid_properties = Array.new
|
97
|
-
if @
|
98
|
-
invalid_properties.push("invalid value for '
|
104
|
+
if @data_query_name_a.nil?
|
105
|
+
invalid_properties.push("invalid value for 'data_query_name_a', data_query_name_a cannot be nil.")
|
106
|
+
end
|
107
|
+
if @data_a_index_field.nil?
|
108
|
+
invalid_properties.push("invalid value for 'data_a_index_field', data_a_index_field cannot be nil.")
|
99
109
|
end
|
100
|
-
if @
|
101
|
-
invalid_properties.push("invalid value for '
|
110
|
+
if @data_query_name_b.nil?
|
111
|
+
invalid_properties.push("invalid value for 'data_query_name_b', data_query_name_b cannot be nil.")
|
102
112
|
end
|
103
|
-
if @
|
104
|
-
invalid_properties.push("invalid value for '
|
113
|
+
if @data_b_index_field.nil?
|
114
|
+
invalid_properties.push("invalid value for 'data_b_index_field', data_b_index_field cannot be nil.")
|
105
115
|
end
|
106
|
-
if @
|
107
|
-
invalid_properties.push("invalid value for '
|
116
|
+
if @join_type.nil?
|
117
|
+
invalid_properties.push("invalid value for 'join_type', join_type cannot be nil.")
|
108
118
|
end
|
109
|
-
if @
|
110
|
-
invalid_properties.push("invalid value for '
|
119
|
+
if @applied_operate_type.nil?
|
120
|
+
invalid_properties.push("invalid value for 'applied_operate_type', applied_operate_type cannot be nil.")
|
111
121
|
end
|
112
122
|
|
113
123
|
return invalid_properties
|
@@ -116,11 +126,12 @@ module AsposeCellsCloud
|
|
116
126
|
# Check to see if the all the properties in the model are valid
|
117
127
|
# @return true if the model is valid
|
118
128
|
def valid?
|
119
|
-
return false if @
|
120
|
-
return false if @
|
121
|
-
return false if @
|
122
|
-
return false if @
|
123
|
-
return false if @
|
129
|
+
return false if @data_query_name_a.nil?
|
130
|
+
return false if @data_a_index_field.nil?
|
131
|
+
return false if @data_query_name_b.nil?
|
132
|
+
return false if @data_b_index_field.nil?
|
133
|
+
return false if @join_type.nil?
|
134
|
+
return false if @applied_operate_type.nil?
|
124
135
|
return true
|
125
136
|
end
|
126
137
|
|
@@ -129,11 +140,12 @@ module AsposeCellsCloud
|
|
129
140
|
def ==(o)
|
130
141
|
return true if self.equal?(o)
|
131
142
|
self.class == o.class &&
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
143
|
+
data_query_name_a == o.data_query_name_a &&
|
144
|
+
data_a_index_field == o.data_a_index_field &&
|
145
|
+
data_query_name_b == o.data_query_name_b &&
|
146
|
+
data_b_index_field == o.data_b_index_field &&
|
147
|
+
join_type == o.join_type &&
|
148
|
+
applied_operate_type == o.applied_operate_type
|
137
149
|
std_dev == o.std_dev
|
138
150
|
end
|
139
151
|
|
@@ -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
|
-
[
|
161
|
+
[ data_query_name_a , data_a_index_field , data_query_name_b , data_b_index_field , join_type , applied_operate_type ].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 OperateObject
|
34
|
-
#
|
34
|
+
#Represents operate object type.
|
35
35
|
attr_accessor :operate_object_type
|
36
|
-
#
|
36
|
+
#Represents position of operate object.
|
37
37
|
attr_accessor :position
|
38
38
|
|
39
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -31,19 +31,19 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class OperateObjectPosition
|
34
|
-
#
|
34
|
+
#Represents data source of operate object.
|
35
35
|
attr_accessor :data_source
|
36
|
-
#
|
36
|
+
#Represents data source of operate object.
|
37
37
|
attr_accessor :workbook
|
38
|
-
#
|
38
|
+
#Represents worksheet name of operate object.
|
39
39
|
attr_accessor :sheet_name
|
40
|
-
#
|
40
|
+
#Represents chart index of operate object.
|
41
41
|
attr_accessor :chart_index
|
42
|
-
#
|
42
|
+
#Represents shape index of operate object.
|
43
43
|
attr_accessor :shape_index
|
44
|
-
#
|
44
|
+
#Represents cell name of operate object.
|
45
45
|
attr_accessor :cell_name
|
46
|
-
#
|
46
|
+
#Represents list object index of operate object.
|
47
47
|
attr_accessor :list_object_index
|
48
48
|
|
49
49
|
# 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 PageBreakOperateParameter
|
34
|
-
#
|
34
|
+
#Represents page break type.
|
35
35
|
attr_accessor :page_break_type
|
36
|
-
#
|
36
|
+
#Represents page break index.
|
37
37
|
attr_accessor :index
|
38
|
-
#
|
38
|
+
#Represents row index of page break.
|
39
39
|
attr_accessor :row
|
40
|
-
#
|
40
|
+
#Represents column index of page break.
|
41
41
|
attr_accessor :column
|
42
|
-
#
|
42
|
+
#Represents start row index of page break.
|
43
43
|
attr_accessor :start_index
|
44
|
-
#
|
44
|
+
#Represents end row index of page break.
|
45
45
|
attr_accessor :end_index
|
46
46
|
#
|
47
47
|
attr_accessor :operate_type
|
@@ -31,16 +31,19 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class PivotColumn
|
34
|
-
#
|
34
|
+
#Represents pivot column name.
|
35
35
|
attr_accessor :pivot_column_name
|
36
|
-
#
|
36
|
+
#Represents column name that sets the column's value to the value of the pivot column.
|
37
37
|
attr_accessor :value_column_names
|
38
|
+
#
|
39
|
+
attr_accessor :applied_operate_type
|
38
40
|
|
39
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
40
42
|
def self.attribute_map
|
41
43
|
{
|
42
44
|
:'pivot_column_name' => :'PivotColumnName',
|
43
|
-
:'value_column_names' => :'ValueColumnNames'
|
45
|
+
:'value_column_names' => :'ValueColumnNames',
|
46
|
+
:'applied_operate_type' => :'AppliedOperateType'
|
44
47
|
}
|
45
48
|
end
|
46
49
|
|
@@ -48,7 +51,8 @@ module AsposeCellsCloud
|
|
48
51
|
def self.swagger_types
|
49
52
|
{
|
50
53
|
:'pivot_column_name' => :'String',
|
51
|
-
:'value_column_names' => :'Array<String>'
|
54
|
+
:'value_column_names' => :'Array<String>',
|
55
|
+
:'applied_operate_type' => :'String'
|
52
56
|
}
|
53
57
|
end
|
54
58
|
|
@@ -66,6 +70,9 @@ module AsposeCellsCloud
|
|
66
70
|
if attributes.has_key?(:'ValueColumnNames')
|
67
71
|
self.value_column_names = attributes[:'ValueColumnNames']
|
68
72
|
end
|
73
|
+
if attributes.has_key?(:'AppliedOperateType')
|
74
|
+
self.applied_operate_type = attributes[:'AppliedOperateType']
|
75
|
+
end
|
69
76
|
|
70
77
|
end
|
71
78
|
|
@@ -79,6 +86,9 @@ module AsposeCellsCloud
|
|
79
86
|
if @value_column_names.nil?
|
80
87
|
invalid_properties.push("invalid value for 'value_column_names', value_column_names cannot be nil.")
|
81
88
|
end
|
89
|
+
if @applied_operate_type.nil?
|
90
|
+
invalid_properties.push("invalid value for 'applied_operate_type', applied_operate_type cannot be nil.")
|
91
|
+
end
|
82
92
|
|
83
93
|
return invalid_properties
|
84
94
|
end
|
@@ -88,6 +98,7 @@ module AsposeCellsCloud
|
|
88
98
|
def valid?
|
89
99
|
return false if @pivot_column_name.nil?
|
90
100
|
return false if @value_column_names.nil?
|
101
|
+
return false if @applied_operate_type.nil?
|
91
102
|
return true
|
92
103
|
end
|
93
104
|
|
@@ -97,7 +108,8 @@ module AsposeCellsCloud
|
|
97
108
|
return true if self.equal?(o)
|
98
109
|
self.class == o.class &&
|
99
110
|
pivot_column_name == o.pivot_column_name &&
|
100
|
-
value_column_names == o.value_column_names
|
111
|
+
value_column_names == o.value_column_names &&
|
112
|
+
applied_operate_type == o.applied_operate_type
|
101
113
|
std_dev == o.std_dev
|
102
114
|
end
|
103
115
|
|
@@ -110,7 +122,7 @@ module AsposeCellsCloud
|
|
110
122
|
# Calculates hash code according to all attributes.
|
111
123
|
# @return [Fixnum] Hash code
|
112
124
|
def hash
|
113
|
-
[ pivot_column_name , value_column_names ].hash
|
125
|
+
[ pivot_column_name , value_column_names , applied_operate_type ].hash
|
114
126
|
end
|
115
127
|
|
116
128
|
# Builds the object from hash
|
@@ -31,21 +31,21 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class PivotTableOperateParameter
|
34
|
-
#
|
34
|
+
#Represents source data of pivot table.
|
35
35
|
attr_accessor :source_data
|
36
|
-
#
|
36
|
+
#Represents start cell name of the pivot table.
|
37
37
|
attr_accessor :dest_cell_name
|
38
|
-
#
|
38
|
+
#Represents table name of pivot table.
|
39
39
|
attr_accessor :table_name
|
40
|
-
#
|
40
|
+
#Represents whether the same source is used.
|
41
41
|
attr_accessor :use_same_source
|
42
|
-
#
|
42
|
+
#Represents pivot table index.
|
43
43
|
attr_accessor :pivot_table_index
|
44
|
-
#
|
44
|
+
#Represents pivot row fields.
|
45
45
|
attr_accessor :pivot_field_rows
|
46
|
-
#
|
46
|
+
#Represents pivot column fields.
|
47
47
|
attr_accessor :pivot_field_columns
|
48
|
-
#
|
48
|
+
#Represents pivot data field.
|
49
49
|
attr_accessor :pivot_field_data
|
50
50
|
#
|
51
51
|
attr_accessor :operate_type
|