aspose_cells_cloud 24.5 → 24.8
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 -5
- data/lib/aspose_cells_cloud/api/cells_api.rb +23 -1
- data/lib/aspose_cells_cloud/api_client.rb +5 -4
- data/lib/aspose_cells_cloud/models/abstract_calculation_monitor.rb +3 -3
- data/lib/aspose_cells_cloud/models/add_text_options.rb +306 -0
- data/lib/aspose_cells_cloud/models/applied_operate.rb +210 -0
- data/lib/aspose_cells_cloud/models/{transformation.rb → applied_step.rb} +23 -23
- data/lib/aspose_cells_cloud/models/base_operate_options.rb +210 -0
- data/lib/aspose_cells_cloud/models/{query_table.rb → data_query.rb} +46 -46
- data/lib/aspose_cells_cloud/models/data_transformation_request.rb +26 -14
- data/lib/aspose_cells_cloud/models/load_data.rb +11 -47
- data/lib/aspose_cells_cloud/models/load_to.rb +3 -3
- data/lib/aspose_cells_cloud/models/merge_queries.rb +39 -75
- data/lib/aspose_cells_cloud/models/pivot_column.rb +18 -6
- data/lib/aspose_cells_cloud/models/{query_data_source.rb → scope_item.rb} +21 -33
- data/lib/aspose_cells_cloud/models/scope_options.rb +222 -0
- data/lib/aspose_cells_cloud/models/trim_content_options.rb +318 -0
- data/lib/aspose_cells_cloud/models/unpivot_column.rb +19 -7
- 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/requests/post_trim_content_request.rb +103 -0
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +11 -3
- data/spec/api/data_processing_controller_spec.rb +34 -0
- data/spec/api/text_processing_controller_spec.rb +54 -0
- metadata +14 -5
@@ -33,23 +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
|
42
|
-
#
|
43
|
-
attr_accessor :merge_queries
|
36
|
+
#Indicates data query for data loading.
|
37
|
+
attr_accessor :data_query
|
44
38
|
|
45
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
46
40
|
def self.attribute_map
|
47
41
|
{
|
48
42
|
:'load_to' => :'LoadTo',
|
49
|
-
:'
|
50
|
-
:'file_info' => :'FileInfo',
|
51
|
-
:'data_item' => :'DataItem',
|
52
|
-
:'merge_queries' => :'MergeQueries'
|
43
|
+
:'data_query' => :'DataQuery'
|
53
44
|
}
|
54
45
|
end
|
55
46
|
|
@@ -57,10 +48,7 @@ module AsposeCellsCloud
|
|
57
48
|
def self.swagger_types
|
58
49
|
{
|
59
50
|
:'load_to' => :'LoadTo',
|
60
|
-
:'
|
61
|
-
:'file_info' => :'FileInfo',
|
62
|
-
:'data_item' => :'DataItem',
|
63
|
-
:'merge_queries' => :'MergeQueries'
|
51
|
+
:'data_query' => :'DataQuery'
|
64
52
|
}
|
65
53
|
end
|
66
54
|
|
@@ -75,17 +63,8 @@ module AsposeCellsCloud
|
|
75
63
|
if attributes.has_key?(:'LoadTo')
|
76
64
|
self.load_to = attributes[:'LoadTo']
|
77
65
|
end
|
78
|
-
if attributes.has_key?(:'
|
79
|
-
self.
|
80
|
-
end
|
81
|
-
if attributes.has_key?(:'FileInfo')
|
82
|
-
self.file_info = attributes[:'FileInfo']
|
83
|
-
end
|
84
|
-
if attributes.has_key?(:'DataItem')
|
85
|
-
self.data_item = attributes[:'DataItem']
|
86
|
-
end
|
87
|
-
if attributes.has_key?(:'MergeQueries')
|
88
|
-
self.merge_queries = attributes[:'MergeQueries']
|
66
|
+
if attributes.has_key?(:'DataQuery')
|
67
|
+
self.data_query = attributes[:'DataQuery']
|
89
68
|
end
|
90
69
|
|
91
70
|
end
|
@@ -97,17 +76,8 @@ module AsposeCellsCloud
|
|
97
76
|
if @load_to.nil?
|
98
77
|
invalid_properties.push("invalid value for 'load_to', load_to cannot be nil.")
|
99
78
|
end
|
100
|
-
if @
|
101
|
-
invalid_properties.push("invalid value for '
|
102
|
-
end
|
103
|
-
if @file_info.nil?
|
104
|
-
invalid_properties.push("invalid value for 'file_info', file_info cannot be nil.")
|
105
|
-
end
|
106
|
-
if @data_item.nil?
|
107
|
-
invalid_properties.push("invalid value for 'data_item', data_item cannot be nil.")
|
108
|
-
end
|
109
|
-
if @merge_queries.nil?
|
110
|
-
invalid_properties.push("invalid value for 'merge_queries', merge_queries cannot be nil.")
|
79
|
+
if @data_query.nil?
|
80
|
+
invalid_properties.push("invalid value for 'data_query', data_query cannot be nil.")
|
111
81
|
end
|
112
82
|
|
113
83
|
return invalid_properties
|
@@ -117,10 +87,7 @@ module AsposeCellsCloud
|
|
117
87
|
# @return true if the model is valid
|
118
88
|
def valid?
|
119
89
|
return false if @load_to.nil?
|
120
|
-
return false if @
|
121
|
-
return false if @file_info.nil?
|
122
|
-
return false if @data_item.nil?
|
123
|
-
return false if @merge_queries.nil?
|
90
|
+
return false if @data_query.nil?
|
124
91
|
return true
|
125
92
|
end
|
126
93
|
|
@@ -130,10 +97,7 @@ module AsposeCellsCloud
|
|
130
97
|
return true if self.equal?(o)
|
131
98
|
self.class == o.class &&
|
132
99
|
load_to == o.load_to &&
|
133
|
-
|
134
|
-
file_info == o.file_info &&
|
135
|
-
data_item == o.data_item &&
|
136
|
-
merge_queries == o.merge_queries
|
100
|
+
data_query == o.data_query
|
137
101
|
std_dev == o.std_dev
|
138
102
|
end
|
139
103
|
|
@@ -146,7 +110,7 @@ module AsposeCellsCloud
|
|
146
110
|
# Calculates hash code according to all attributes.
|
147
111
|
# @return [Fixnum] Hash code
|
148
112
|
def hash
|
149
|
-
[ load_to ,
|
113
|
+
[ load_to , data_query ].hash
|
150
114
|
end
|
151
115
|
|
152
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,52 +31,40 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class MergeQueries
|
34
|
-
#Indicates the
|
35
|
-
attr_accessor :
|
36
|
-
#
|
37
|
-
attr_accessor :file_info_a
|
38
|
-
#Represents data item.
|
39
|
-
attr_accessor :data_item_a
|
40
|
-
#Represents index field of DataA
|
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.
|
41
37
|
attr_accessor :data_a_index_field
|
42
|
-
#Indicates the
|
43
|
-
attr_accessor :
|
44
|
-
#
|
45
|
-
attr_accessor :file_info_b
|
46
|
-
#Represents data item.
|
47
|
-
attr_accessor :data_item_b
|
48
|
-
#Represents index field of DataB
|
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.
|
49
41
|
attr_accessor :data_b_index_field
|
50
|
-
#
|
42
|
+
#Represents ethods of data consolidation.
|
51
43
|
attr_accessor :join_type
|
44
|
+
#
|
45
|
+
attr_accessor :applied_operate_type
|
52
46
|
|
53
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
54
48
|
def self.attribute_map
|
55
49
|
{
|
56
|
-
:'
|
57
|
-
:'file_info_a' => :'FileInfoA',
|
58
|
-
:'data_item_a' => :'DataItemA',
|
50
|
+
:'data_query_name_a' => :'DataQueryNameA',
|
59
51
|
:'data_a_index_field' => :'DataAIndexField',
|
60
|
-
:'
|
61
|
-
:'file_info_b' => :'FileInfoB',
|
62
|
-
:'data_item_b' => :'DataItemB',
|
52
|
+
:'data_query_name_b' => :'DataQueryNameB',
|
63
53
|
:'data_b_index_field' => :'DataBIndexField',
|
64
|
-
:'join_type' => :'JoinType'
|
54
|
+
:'join_type' => :'JoinType',
|
55
|
+
:'applied_operate_type' => :'AppliedOperateType'
|
65
56
|
}
|
66
57
|
end
|
67
58
|
|
68
59
|
# Attribute type mapping.
|
69
60
|
def self.swagger_types
|
70
61
|
{
|
71
|
-
:'
|
72
|
-
:'file_info_a' => :'FileInfo',
|
73
|
-
:'data_item_a' => :'DataItem',
|
62
|
+
:'data_query_name_a' => :'String',
|
74
63
|
:'data_a_index_field' => :'String',
|
75
|
-
:'
|
76
|
-
:'file_info_b' => :'FileInfo',
|
77
|
-
:'data_item_b' => :'DataItem',
|
64
|
+
:'data_query_name_b' => :'String',
|
78
65
|
:'data_b_index_field' => :'String',
|
79
|
-
:'join_type' => :'String'
|
66
|
+
:'join_type' => :'String',
|
67
|
+
:'applied_operate_type' => :'String'
|
80
68
|
}
|
81
69
|
end
|
82
70
|
|
@@ -88,26 +76,14 @@ module AsposeCellsCloud
|
|
88
76
|
# convert string to symbol for hash key
|
89
77
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
90
78
|
|
91
|
-
if attributes.has_key?(:'
|
92
|
-
self.
|
93
|
-
end
|
94
|
-
if attributes.has_key?(:'FileInfoA')
|
95
|
-
self.file_info_a = attributes[:'FileInfoA']
|
96
|
-
end
|
97
|
-
if attributes.has_key?(:'DataItemA')
|
98
|
-
self.data_item_a = attributes[:'DataItemA']
|
79
|
+
if attributes.has_key?(:'DataQueryNameA')
|
80
|
+
self.data_query_name_a = attributes[:'DataQueryNameA']
|
99
81
|
end
|
100
82
|
if attributes.has_key?(:'DataAIndexField')
|
101
83
|
self.data_a_index_field = attributes[:'DataAIndexField']
|
102
84
|
end
|
103
|
-
if attributes.has_key?(:'
|
104
|
-
self.
|
105
|
-
end
|
106
|
-
if attributes.has_key?(:'FileInfoB')
|
107
|
-
self.file_info_b = attributes[:'FileInfoB']
|
108
|
-
end
|
109
|
-
if attributes.has_key?(:'DataItemB')
|
110
|
-
self.data_item_b = attributes[:'DataItemB']
|
85
|
+
if attributes.has_key?(:'DataQueryNameB')
|
86
|
+
self.data_query_name_b = attributes[:'DataQueryNameB']
|
111
87
|
end
|
112
88
|
if attributes.has_key?(:'DataBIndexField')
|
113
89
|
self.data_b_index_field = attributes[:'DataBIndexField']
|
@@ -115,6 +91,9 @@ module AsposeCellsCloud
|
|
115
91
|
if attributes.has_key?(:'JoinType')
|
116
92
|
self.join_type = attributes[:'JoinType']
|
117
93
|
end
|
94
|
+
if attributes.has_key?(:'AppliedOperateType')
|
95
|
+
self.applied_operate_type = attributes[:'AppliedOperateType']
|
96
|
+
end
|
118
97
|
|
119
98
|
end
|
120
99
|
|
@@ -122,26 +101,14 @@ module AsposeCellsCloud
|
|
122
101
|
# @return Array for valid properies with the reasons
|
123
102
|
def list_invalid_properties
|
124
103
|
invalid_properties = Array.new
|
125
|
-
if @
|
126
|
-
invalid_properties.push("invalid value for '
|
127
|
-
end
|
128
|
-
if @file_info_a.nil?
|
129
|
-
invalid_properties.push("invalid value for 'file_info_a', file_info_a cannot be nil.")
|
130
|
-
end
|
131
|
-
if @data_item_a.nil?
|
132
|
-
invalid_properties.push("invalid value for 'data_item_a', data_item_a cannot be nil.")
|
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.")
|
133
106
|
end
|
134
107
|
if @data_a_index_field.nil?
|
135
108
|
invalid_properties.push("invalid value for 'data_a_index_field', data_a_index_field cannot be nil.")
|
136
109
|
end
|
137
|
-
if @
|
138
|
-
invalid_properties.push("invalid value for '
|
139
|
-
end
|
140
|
-
if @file_info_b.nil?
|
141
|
-
invalid_properties.push("invalid value for 'file_info_b', file_info_b cannot be nil.")
|
142
|
-
end
|
143
|
-
if @data_item_b.nil?
|
144
|
-
invalid_properties.push("invalid value for 'data_item_b', data_item_b cannot be nil.")
|
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.")
|
145
112
|
end
|
146
113
|
if @data_b_index_field.nil?
|
147
114
|
invalid_properties.push("invalid value for 'data_b_index_field', data_b_index_field cannot be nil.")
|
@@ -149,6 +116,9 @@ module AsposeCellsCloud
|
|
149
116
|
if @join_type.nil?
|
150
117
|
invalid_properties.push("invalid value for 'join_type', join_type cannot be nil.")
|
151
118
|
end
|
119
|
+
if @applied_operate_type.nil?
|
120
|
+
invalid_properties.push("invalid value for 'applied_operate_type', applied_operate_type cannot be nil.")
|
121
|
+
end
|
152
122
|
|
153
123
|
return invalid_properties
|
154
124
|
end
|
@@ -156,15 +126,12 @@ module AsposeCellsCloud
|
|
156
126
|
# Check to see if the all the properties in the model are valid
|
157
127
|
# @return true if the model is valid
|
158
128
|
def valid?
|
159
|
-
return false if @
|
160
|
-
return false if @file_info_a.nil?
|
161
|
-
return false if @data_item_a.nil?
|
129
|
+
return false if @data_query_name_a.nil?
|
162
130
|
return false if @data_a_index_field.nil?
|
163
|
-
return false if @
|
164
|
-
return false if @file_info_b.nil?
|
165
|
-
return false if @data_item_b.nil?
|
131
|
+
return false if @data_query_name_b.nil?
|
166
132
|
return false if @data_b_index_field.nil?
|
167
133
|
return false if @join_type.nil?
|
134
|
+
return false if @applied_operate_type.nil?
|
168
135
|
return true
|
169
136
|
end
|
170
137
|
|
@@ -173,15 +140,12 @@ module AsposeCellsCloud
|
|
173
140
|
def ==(o)
|
174
141
|
return true if self.equal?(o)
|
175
142
|
self.class == o.class &&
|
176
|
-
|
177
|
-
file_info_a == o.file_info_a &&
|
178
|
-
data_item_a == o.data_item_a &&
|
143
|
+
data_query_name_a == o.data_query_name_a &&
|
179
144
|
data_a_index_field == o.data_a_index_field &&
|
180
|
-
|
181
|
-
file_info_b == o.file_info_b &&
|
182
|
-
data_item_b == o.data_item_b &&
|
145
|
+
data_query_name_b == o.data_query_name_b &&
|
183
146
|
data_b_index_field == o.data_b_index_field &&
|
184
|
-
join_type == o.join_type
|
147
|
+
join_type == o.join_type &&
|
148
|
+
applied_operate_type == o.applied_operate_type
|
185
149
|
std_dev == o.std_dev
|
186
150
|
end
|
187
151
|
|
@@ -194,7 +158,7 @@ module AsposeCellsCloud
|
|
194
158
|
# Calculates hash code according to all attributes.
|
195
159
|
# @return [Fixnum] Hash code
|
196
160
|
def hash
|
197
|
-
[
|
161
|
+
[ data_query_name_a , data_a_index_field , data_query_name_b , data_b_index_field , join_type , applied_operate_type ].hash
|
198
162
|
end
|
199
163
|
|
200
164
|
# Builds the object from hash
|
@@ -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
|
@@ -1,6 +1,6 @@
|
|
1
1
|
=begin
|
2
2
|
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
<copyright company="Aspose" file="
|
3
|
+
<copyright company="Aspose" file="ScopeItemrb.cs">
|
4
4
|
Copyright (c) 2024 Aspose.Cells Cloud
|
5
5
|
</copyright>
|
6
6
|
<summary>
|
@@ -30,29 +30,25 @@ require 'date'
|
|
30
30
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
|
-
class
|
33
|
+
class ScopeItem
|
34
34
|
#
|
35
|
-
attr_accessor :
|
35
|
+
attr_accessor :worksheet_name
|
36
36
|
#
|
37
|
-
attr_accessor :
|
38
|
-
#
|
39
|
-
attr_accessor :data_source
|
37
|
+
attr_accessor :ranges
|
40
38
|
|
41
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
40
|
def self.attribute_map
|
43
41
|
{
|
44
|
-
:'
|
45
|
-
:'
|
46
|
-
:'data_source' => :'DataSource'
|
42
|
+
:'worksheet_name' => :'WorksheetName',
|
43
|
+
:'ranges' => :'Ranges'
|
47
44
|
}
|
48
45
|
end
|
49
46
|
|
50
47
|
# Attribute type mapping.
|
51
48
|
def self.swagger_types
|
52
49
|
{
|
53
|
-
:'
|
54
|
-
:'
|
55
|
-
:'data_source' => :'String'
|
50
|
+
:'worksheet_name' => :'String',
|
51
|
+
:'ranges' => :'Array<String>'
|
56
52
|
}
|
57
53
|
end
|
58
54
|
|
@@ -64,14 +60,11 @@ module AsposeCellsCloud
|
|
64
60
|
# convert string to symbol for hash key
|
65
61
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
66
62
|
|
67
|
-
if attributes.has_key?(:'
|
68
|
-
self.
|
69
|
-
end
|
70
|
-
if attributes.has_key?(:'DataFile')
|
71
|
-
self.data_file = attributes[:'DataFile']
|
63
|
+
if attributes.has_key?(:'WorksheetName')
|
64
|
+
self.worksheet_name = attributes[:'WorksheetName']
|
72
65
|
end
|
73
|
-
if attributes.has_key?(:'
|
74
|
-
self.
|
66
|
+
if attributes.has_key?(:'Ranges')
|
67
|
+
self.ranges = attributes[:'Ranges']
|
75
68
|
end
|
76
69
|
|
77
70
|
end
|
@@ -80,14 +73,11 @@ module AsposeCellsCloud
|
|
80
73
|
# @return Array for valid properies with the reasons
|
81
74
|
def list_invalid_properties
|
82
75
|
invalid_properties = Array.new
|
83
|
-
if @
|
84
|
-
invalid_properties.push("invalid value for '
|
85
|
-
end
|
86
|
-
if @data_file.nil?
|
87
|
-
invalid_properties.push("invalid value for 'data_file', data_file cannot be nil.")
|
76
|
+
if @worksheet_name.nil?
|
77
|
+
invalid_properties.push("invalid value for 'worksheet_name', worksheet_name cannot be nil.")
|
88
78
|
end
|
89
|
-
if @
|
90
|
-
invalid_properties.push("invalid value for '
|
79
|
+
if @ranges.nil?
|
80
|
+
invalid_properties.push("invalid value for 'ranges', ranges cannot be nil.")
|
91
81
|
end
|
92
82
|
|
93
83
|
return invalid_properties
|
@@ -96,9 +86,8 @@ module AsposeCellsCloud
|
|
96
86
|
# Check to see if the all the properties in the model are valid
|
97
87
|
# @return true if the model is valid
|
98
88
|
def valid?
|
99
|
-
return false if @
|
100
|
-
return false if @
|
101
|
-
return false if @data_source.nil?
|
89
|
+
return false if @worksheet_name.nil?
|
90
|
+
return false if @ranges.nil?
|
102
91
|
return true
|
103
92
|
end
|
104
93
|
|
@@ -107,9 +96,8 @@ module AsposeCellsCloud
|
|
107
96
|
def ==(o)
|
108
97
|
return true if self.equal?(o)
|
109
98
|
self.class == o.class &&
|
110
|
-
|
111
|
-
|
112
|
-
data_source == o.data_source
|
99
|
+
worksheet_name == o.worksheet_name &&
|
100
|
+
ranges == o.ranges
|
113
101
|
std_dev == o.std_dev
|
114
102
|
end
|
115
103
|
|
@@ -122,7 +110,7 @@ module AsposeCellsCloud
|
|
122
110
|
# Calculates hash code according to all attributes.
|
123
111
|
# @return [Fixnum] Hash code
|
124
112
|
def hash
|
125
|
-
[
|
113
|
+
[ worksheet_name , ranges ].hash
|
126
114
|
end
|
127
115
|
|
128
116
|
# Builds the object from hash
|