aspose_cells_cloud 24.2.1 → 24.4
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 +314 -89
- data/lib/aspose_cells_cloud/api/cells_api.rb +64 -0
- data/lib/aspose_cells_cloud/models/cells_object_operate_task_parameter.rb +13 -1
- data/lib/aspose_cells_cloud/models/chart.rb +1 -1
- data/lib/aspose_cells_cloud/models/convert_task_parameter.rb +13 -1
- data/lib/aspose_cells_cloud/models/convert_worksheet_task_parameter.rb +25 -1
- data/lib/aspose_cells_cloud/models/data_cleansing.rb +234 -0
- data/lib/aspose_cells_cloud/models/data_cleansing_request.rb +258 -0
- data/lib/aspose_cells_cloud/models/data_column_fill_value.rb +222 -0
- data/lib/aspose_cells_cloud/models/data_deduplication_request.rb +258 -0
- data/lib/aspose_cells_cloud/models/data_fill.rb +234 -0
- data/lib/aspose_cells_cloud/models/data_fill_request.rb +258 -0
- data/lib/aspose_cells_cloud/models/data_fill_value.rb +258 -0
- data/lib/aspose_cells_cloud/models/data_item.rb +222 -0
- data/lib/aspose_cells_cloud/models/data_source.rb +222 -0
- data/lib/aspose_cells_cloud/models/data_transformation_request.rb +258 -0
- data/lib/aspose_cells_cloud/models/deduplication_region.rb +222 -0
- data/lib/aspose_cells_cloud/models/delete_incomplete_rows_request.rb +258 -0
- data/lib/aspose_cells_cloud/models/file_info.rb +3 -3
- data/lib/aspose_cells_cloud/models/import2_dimension_double_array_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import2_dimension_int_array_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import2_dimension_string_array_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import_batch_data_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import_csv_data_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import_data_task_parameter.rb +25 -1
- data/lib/aspose_cells_cloud/models/import_double_array_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import_int_array_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import_json_request.rb +1 -1
- data/lib/aspose_cells_cloud/models/import_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import_picture_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import_string_array_option.rb +13 -1
- data/lib/aspose_cells_cloud/models/import_xml_request.rb +1 -1
- data/lib/aspose_cells_cloud/models/load_data.rb +246 -0
- data/lib/aspose_cells_cloud/models/load_to.rb +234 -0
- data/lib/aspose_cells_cloud/models/operate_object_position.rb +13 -1
- data/lib/aspose_cells_cloud/models/pivot_column.rb +222 -0
- data/lib/aspose_cells_cloud/models/pptx_save_options.rb +3 -3
- data/lib/aspose_cells_cloud/models/query_data_source.rb +234 -0
- data/lib/aspose_cells_cloud/models/save_files_to_cloud_result.rb +1 -1
- data/lib/aspose_cells_cloud/models/smart_marker_task_parameter.rb +40 -4
- data/lib/aspose_cells_cloud/models/split_workbook_task_parameter.rb +25 -1
- data/lib/aspose_cells_cloud/models/task_run_result.rb +1 -1
- data/lib/aspose_cells_cloud/models/transformation.rb +222 -0
- data/lib/aspose_cells_cloud/models/unpivot_column.rb +234 -0
- data/lib/aspose_cells_cloud/models/workbook_settings.rb +1 -13
- data/lib/aspose_cells_cloud/requests/post_data_cleansing_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_data_deduplication_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_data_fill_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_data_transformation_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_delete_incomplete_rows_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_data_cleansing_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_data_deduplication_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/post_workbook_data_fill_request.rb +149 -0
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +28 -2
- data/spec/api/data_processing_controller_spec.rb +73 -0
- data/spec/api/xml_controller_spec.rb +1 -1
- metadata +45 -10
@@ -31,18 +31,24 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class ImportDataTaskParameter
|
34
|
+
#
|
35
|
+
attr_accessor :data_source
|
34
36
|
#
|
35
37
|
attr_accessor :workbook
|
36
38
|
#
|
37
39
|
attr_accessor :import_option
|
38
40
|
#
|
41
|
+
attr_accessor :target_data_source
|
42
|
+
#
|
39
43
|
attr_accessor :destination_workbook
|
40
44
|
|
41
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
46
|
def self.attribute_map
|
43
47
|
{
|
48
|
+
:'data_source' => :'DataSource',
|
44
49
|
:'workbook' => :'Workbook',
|
45
50
|
:'import_option' => :'ImportOption',
|
51
|
+
:'target_data_source' => :'TargetDataSource',
|
46
52
|
:'destination_workbook' => :'DestinationWorkbook'
|
47
53
|
}
|
48
54
|
end
|
@@ -50,8 +56,10 @@ module AsposeCellsCloud
|
|
50
56
|
# Attribute type mapping.
|
51
57
|
def self.swagger_types
|
52
58
|
{
|
59
|
+
:'data_source' => :'DataSource',
|
53
60
|
:'workbook' => :'FileSource',
|
54
61
|
:'import_option' => :'ImportOption',
|
62
|
+
:'target_data_source' => :'DataSource',
|
55
63
|
:'destination_workbook' => :'FileSource'
|
56
64
|
}
|
57
65
|
end
|
@@ -64,12 +72,18 @@ 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?(:'DataSource')
|
76
|
+
self.data_source = attributes[:'DataSource']
|
77
|
+
end
|
67
78
|
if attributes.has_key?(:'Workbook')
|
68
79
|
self.workbook = attributes[:'Workbook']
|
69
80
|
end
|
70
81
|
if attributes.has_key?(:'ImportOption')
|
71
82
|
self.import_option = attributes[:'ImportOption']
|
72
83
|
end
|
84
|
+
if attributes.has_key?(:'TargetDataSource')
|
85
|
+
self.target_data_source = attributes[:'TargetDataSource']
|
86
|
+
end
|
73
87
|
if attributes.has_key?(:'DestinationWorkbook')
|
74
88
|
self.destination_workbook = attributes[:'DestinationWorkbook']
|
75
89
|
end
|
@@ -80,12 +94,18 @@ 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 @data_source.nil?
|
98
|
+
invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
|
99
|
+
end
|
83
100
|
if @workbook.nil?
|
84
101
|
invalid_properties.push("invalid value for 'workbook', workbook cannot be nil.")
|
85
102
|
end
|
86
103
|
if @import_option.nil?
|
87
104
|
invalid_properties.push("invalid value for 'import_option', import_option cannot be nil.")
|
88
105
|
end
|
106
|
+
if @target_data_source.nil?
|
107
|
+
invalid_properties.push("invalid value for 'target_data_source', target_data_source cannot be nil.")
|
108
|
+
end
|
89
109
|
if @destination_workbook.nil?
|
90
110
|
invalid_properties.push("invalid value for 'destination_workbook', destination_workbook cannot be nil.")
|
91
111
|
end
|
@@ -96,8 +116,10 @@ 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 @data_source.nil?
|
99
120
|
return false if @workbook.nil?
|
100
121
|
return false if @import_option.nil?
|
122
|
+
return false if @target_data_source.nil?
|
101
123
|
return false if @destination_workbook.nil?
|
102
124
|
return true
|
103
125
|
end
|
@@ -107,8 +129,10 @@ module AsposeCellsCloud
|
|
107
129
|
def ==(o)
|
108
130
|
return true if self.equal?(o)
|
109
131
|
self.class == o.class &&
|
132
|
+
data_source == o.data_source &&
|
110
133
|
workbook == o.workbook &&
|
111
134
|
import_option == o.import_option &&
|
135
|
+
target_data_source == o.target_data_source &&
|
112
136
|
destination_workbook == o.destination_workbook
|
113
137
|
std_dev == o.std_dev
|
114
138
|
end
|
@@ -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
|
-
[ workbook , import_option , destination_workbook ].hash
|
149
|
+
[ data_source , workbook , import_option , target_data_source , destination_workbook ].hash
|
126
150
|
end
|
127
151
|
|
128
152
|
# Builds the object from hash
|
@@ -46,6 +46,8 @@ module AsposeCellsCloud
|
|
46
46
|
#
|
47
47
|
attr_accessor :import_data_type
|
48
48
|
#
|
49
|
+
attr_accessor :data_source
|
50
|
+
#
|
49
51
|
attr_accessor :source
|
50
52
|
|
51
53
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -58,6 +60,7 @@ module AsposeCellsCloud
|
|
58
60
|
:'destination_worksheet' => :'DestinationWorksheet',
|
59
61
|
:'is_insert' => :'IsInsert',
|
60
62
|
:'import_data_type' => :'ImportDataType',
|
63
|
+
:'data_source' => :'DataSource',
|
61
64
|
:'source' => :'Source'
|
62
65
|
}
|
63
66
|
end
|
@@ -72,6 +75,7 @@ module AsposeCellsCloud
|
|
72
75
|
:'destination_worksheet' => :'String',
|
73
76
|
:'is_insert' => :'BOOLEAN',
|
74
77
|
:'import_data_type' => :'String',
|
78
|
+
:'data_source' => :'DataSource',
|
75
79
|
:'source' => :'FileSource'
|
76
80
|
}
|
77
81
|
end
|
@@ -105,6 +109,9 @@ module AsposeCellsCloud
|
|
105
109
|
if attributes.has_key?(:'ImportDataType')
|
106
110
|
self.import_data_type = attributes[:'ImportDataType']
|
107
111
|
end
|
112
|
+
if attributes.has_key?(:'DataSource')
|
113
|
+
self.data_source = attributes[:'DataSource']
|
114
|
+
end
|
108
115
|
if attributes.has_key?(:'Source')
|
109
116
|
self.source = attributes[:'Source']
|
110
117
|
end
|
@@ -136,6 +143,9 @@ module AsposeCellsCloud
|
|
136
143
|
if @import_data_type.nil?
|
137
144
|
invalid_properties.push("invalid value for 'import_data_type', import_data_type cannot be nil.")
|
138
145
|
end
|
146
|
+
if @data_source.nil?
|
147
|
+
invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
|
148
|
+
end
|
139
149
|
if @source.nil?
|
140
150
|
invalid_properties.push("invalid value for 'source', source cannot be nil.")
|
141
151
|
end
|
@@ -153,6 +163,7 @@ module AsposeCellsCloud
|
|
153
163
|
return false if @destination_worksheet.nil?
|
154
164
|
return false if @is_insert.nil?
|
155
165
|
return false if @import_data_type.nil?
|
166
|
+
return false if @data_source.nil?
|
156
167
|
return false if @source.nil?
|
157
168
|
return true
|
158
169
|
end
|
@@ -169,6 +180,7 @@ module AsposeCellsCloud
|
|
169
180
|
destination_worksheet == o.destination_worksheet &&
|
170
181
|
is_insert == o.is_insert &&
|
171
182
|
import_data_type == o.import_data_type &&
|
183
|
+
data_source == o.data_source &&
|
172
184
|
source == o.source
|
173
185
|
std_dev == o.std_dev
|
174
186
|
end
|
@@ -182,7 +194,7 @@ module AsposeCellsCloud
|
|
182
194
|
# Calculates hash code according to all attributes.
|
183
195
|
# @return [Fixnum] Hash code
|
184
196
|
def hash
|
185
|
-
[ first_row , first_column , is_vertical , data , destination_worksheet , is_insert , import_data_type , source ].hash
|
197
|
+
[ first_row , first_column , is_vertical , data , destination_worksheet , is_insert , import_data_type , data_source , source ].hash
|
186
198
|
end
|
187
199
|
|
188
200
|
# Builds the object from hash
|
@@ -46,6 +46,8 @@ module AsposeCellsCloud
|
|
46
46
|
#
|
47
47
|
attr_accessor :import_data_type
|
48
48
|
#
|
49
|
+
attr_accessor :data_source
|
50
|
+
#
|
49
51
|
attr_accessor :source
|
50
52
|
|
51
53
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -58,6 +60,7 @@ module AsposeCellsCloud
|
|
58
60
|
:'destination_worksheet' => :'DestinationWorksheet',
|
59
61
|
:'is_insert' => :'IsInsert',
|
60
62
|
:'import_data_type' => :'ImportDataType',
|
63
|
+
:'data_source' => :'DataSource',
|
61
64
|
:'source' => :'Source'
|
62
65
|
}
|
63
66
|
end
|
@@ -72,6 +75,7 @@ module AsposeCellsCloud
|
|
72
75
|
:'destination_worksheet' => :'String',
|
73
76
|
:'is_insert' => :'BOOLEAN',
|
74
77
|
:'import_data_type' => :'String',
|
78
|
+
:'data_source' => :'DataSource',
|
75
79
|
:'source' => :'FileSource'
|
76
80
|
}
|
77
81
|
end
|
@@ -105,6 +109,9 @@ module AsposeCellsCloud
|
|
105
109
|
if attributes.has_key?(:'ImportDataType')
|
106
110
|
self.import_data_type = attributes[:'ImportDataType']
|
107
111
|
end
|
112
|
+
if attributes.has_key?(:'DataSource')
|
113
|
+
self.data_source = attributes[:'DataSource']
|
114
|
+
end
|
108
115
|
if attributes.has_key?(:'Source')
|
109
116
|
self.source = attributes[:'Source']
|
110
117
|
end
|
@@ -136,6 +143,9 @@ module AsposeCellsCloud
|
|
136
143
|
if @import_data_type.nil?
|
137
144
|
invalid_properties.push("invalid value for 'import_data_type', import_data_type cannot be nil.")
|
138
145
|
end
|
146
|
+
if @data_source.nil?
|
147
|
+
invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
|
148
|
+
end
|
139
149
|
if @source.nil?
|
140
150
|
invalid_properties.push("invalid value for 'source', source cannot be nil.")
|
141
151
|
end
|
@@ -153,6 +163,7 @@ module AsposeCellsCloud
|
|
153
163
|
return false if @destination_worksheet.nil?
|
154
164
|
return false if @is_insert.nil?
|
155
165
|
return false if @import_data_type.nil?
|
166
|
+
return false if @data_source.nil?
|
156
167
|
return false if @source.nil?
|
157
168
|
return true
|
158
169
|
end
|
@@ -169,6 +180,7 @@ module AsposeCellsCloud
|
|
169
180
|
destination_worksheet == o.destination_worksheet &&
|
170
181
|
is_insert == o.is_insert &&
|
171
182
|
import_data_type == o.import_data_type &&
|
183
|
+
data_source == o.data_source &&
|
172
184
|
source == o.source
|
173
185
|
std_dev == o.std_dev
|
174
186
|
end
|
@@ -182,7 +194,7 @@ module AsposeCellsCloud
|
|
182
194
|
# Calculates hash code according to all attributes.
|
183
195
|
# @return [Fixnum] Hash code
|
184
196
|
def hash
|
185
|
-
[ first_row , first_column , is_vertical , data , destination_worksheet , is_insert , import_data_type , source ].hash
|
197
|
+
[ first_row , first_column , is_vertical , data , destination_worksheet , is_insert , import_data_type , data_source , source ].hash
|
186
198
|
end
|
187
199
|
|
188
200
|
# Builds the object from hash
|
@@ -38,6 +38,8 @@ module AsposeCellsCloud
|
|
38
38
|
#
|
39
39
|
attr_accessor :import_data_type
|
40
40
|
#
|
41
|
+
attr_accessor :data_source
|
42
|
+
#
|
41
43
|
attr_accessor :source
|
42
44
|
|
43
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -46,6 +48,7 @@ module AsposeCellsCloud
|
|
46
48
|
:'destination_worksheet' => :'DestinationWorksheet',
|
47
49
|
:'is_insert' => :'IsInsert',
|
48
50
|
:'import_data_type' => :'ImportDataType',
|
51
|
+
:'data_source' => :'DataSource',
|
49
52
|
:'source' => :'Source'
|
50
53
|
}
|
51
54
|
end
|
@@ -56,6 +59,7 @@ module AsposeCellsCloud
|
|
56
59
|
:'destination_worksheet' => :'String',
|
57
60
|
:'is_insert' => :'BOOLEAN',
|
58
61
|
:'import_data_type' => :'String',
|
62
|
+
:'data_source' => :'DataSource',
|
59
63
|
:'source' => :'FileSource'
|
60
64
|
}
|
61
65
|
end
|
@@ -77,6 +81,9 @@ module AsposeCellsCloud
|
|
77
81
|
if attributes.has_key?(:'ImportDataType')
|
78
82
|
self.import_data_type = attributes[:'ImportDataType']
|
79
83
|
end
|
84
|
+
if attributes.has_key?(:'DataSource')
|
85
|
+
self.data_source = attributes[:'DataSource']
|
86
|
+
end
|
80
87
|
if attributes.has_key?(:'Source')
|
81
88
|
self.source = attributes[:'Source']
|
82
89
|
end
|
@@ -96,6 +103,9 @@ module AsposeCellsCloud
|
|
96
103
|
if @import_data_type.nil?
|
97
104
|
invalid_properties.push("invalid value for 'import_data_type', import_data_type cannot be nil.")
|
98
105
|
end
|
106
|
+
if @data_source.nil?
|
107
|
+
invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
|
108
|
+
end
|
99
109
|
if @source.nil?
|
100
110
|
invalid_properties.push("invalid value for 'source', source cannot be nil.")
|
101
111
|
end
|
@@ -109,6 +119,7 @@ module AsposeCellsCloud
|
|
109
119
|
return false if @destination_worksheet.nil?
|
110
120
|
return false if @is_insert.nil?
|
111
121
|
return false if @import_data_type.nil?
|
122
|
+
return false if @data_source.nil?
|
112
123
|
return false if @source.nil?
|
113
124
|
return true
|
114
125
|
end
|
@@ -121,6 +132,7 @@ module AsposeCellsCloud
|
|
121
132
|
destination_worksheet == o.destination_worksheet &&
|
122
133
|
is_insert == o.is_insert &&
|
123
134
|
import_data_type == o.import_data_type &&
|
135
|
+
data_source == o.data_source &&
|
124
136
|
source == o.source
|
125
137
|
std_dev == o.std_dev
|
126
138
|
end
|
@@ -134,7 +146,7 @@ module AsposeCellsCloud
|
|
134
146
|
# Calculates hash code according to all attributes.
|
135
147
|
# @return [Fixnum] Hash code
|
136
148
|
def hash
|
137
|
-
[ destination_worksheet , is_insert , import_data_type , source ].hash
|
149
|
+
[ destination_worksheet , is_insert , import_data_type , data_source , source ].hash
|
138
150
|
end
|
139
151
|
|
140
152
|
# Builds the object from hash
|
@@ -50,6 +50,8 @@ module AsposeCellsCloud
|
|
50
50
|
#
|
51
51
|
attr_accessor :import_data_type
|
52
52
|
#
|
53
|
+
attr_accessor :data_source
|
54
|
+
#
|
53
55
|
attr_accessor :source
|
54
56
|
|
55
57
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -64,6 +66,7 @@ module AsposeCellsCloud
|
|
64
66
|
:'destination_worksheet' => :'DestinationWorksheet',
|
65
67
|
:'is_insert' => :'IsInsert',
|
66
68
|
:'import_data_type' => :'ImportDataType',
|
69
|
+
:'data_source' => :'DataSource',
|
67
70
|
:'source' => :'Source'
|
68
71
|
}
|
69
72
|
end
|
@@ -80,6 +83,7 @@ module AsposeCellsCloud
|
|
80
83
|
:'destination_worksheet' => :'String',
|
81
84
|
:'is_insert' => :'BOOLEAN',
|
82
85
|
:'import_data_type' => :'String',
|
86
|
+
:'data_source' => :'DataSource',
|
83
87
|
:'source' => :'FileSource'
|
84
88
|
}
|
85
89
|
end
|
@@ -119,6 +123,9 @@ module AsposeCellsCloud
|
|
119
123
|
if attributes.has_key?(:'ImportDataType')
|
120
124
|
self.import_data_type = attributes[:'ImportDataType']
|
121
125
|
end
|
126
|
+
if attributes.has_key?(:'DataSource')
|
127
|
+
self.data_source = attributes[:'DataSource']
|
128
|
+
end
|
122
129
|
if attributes.has_key?(:'Source')
|
123
130
|
self.source = attributes[:'Source']
|
124
131
|
end
|
@@ -156,6 +163,9 @@ module AsposeCellsCloud
|
|
156
163
|
if @import_data_type.nil?
|
157
164
|
invalid_properties.push("invalid value for 'import_data_type', import_data_type cannot be nil.")
|
158
165
|
end
|
166
|
+
if @data_source.nil?
|
167
|
+
invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
|
168
|
+
end
|
159
169
|
if @source.nil?
|
160
170
|
invalid_properties.push("invalid value for 'source', source cannot be nil.")
|
161
171
|
end
|
@@ -175,6 +185,7 @@ module AsposeCellsCloud
|
|
175
185
|
return false if @destination_worksheet.nil?
|
176
186
|
return false if @is_insert.nil?
|
177
187
|
return false if @import_data_type.nil?
|
188
|
+
return false if @data_source.nil?
|
178
189
|
return false if @source.nil?
|
179
190
|
return true
|
180
191
|
end
|
@@ -193,6 +204,7 @@ module AsposeCellsCloud
|
|
193
204
|
destination_worksheet == o.destination_worksheet &&
|
194
205
|
is_insert == o.is_insert &&
|
195
206
|
import_data_type == o.import_data_type &&
|
207
|
+
data_source == o.data_source &&
|
196
208
|
source == o.source
|
197
209
|
std_dev == o.std_dev
|
198
210
|
end
|
@@ -206,7 +218,7 @@ module AsposeCellsCloud
|
|
206
218
|
# Calculates hash code according to all attributes.
|
207
219
|
# @return [Fixnum] Hash code
|
208
220
|
def hash
|
209
|
-
[ upper_left_row , upper_left_column , lower_right_row , lower_right_column , filename , data , destination_worksheet , is_insert , import_data_type , source ].hash
|
221
|
+
[ upper_left_row , upper_left_column , lower_right_row , lower_right_column , filename , data , destination_worksheet , is_insert , import_data_type , data_source , source ].hash
|
210
222
|
end
|
211
223
|
|
212
224
|
# Builds the object from hash
|
@@ -46,6 +46,8 @@ module AsposeCellsCloud
|
|
46
46
|
#
|
47
47
|
attr_accessor :import_data_type
|
48
48
|
#
|
49
|
+
attr_accessor :data_source
|
50
|
+
#
|
49
51
|
attr_accessor :source
|
50
52
|
|
51
53
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -58,6 +60,7 @@ module AsposeCellsCloud
|
|
58
60
|
:'destination_worksheet' => :'DestinationWorksheet',
|
59
61
|
:'is_insert' => :'IsInsert',
|
60
62
|
:'import_data_type' => :'ImportDataType',
|
63
|
+
:'data_source' => :'DataSource',
|
61
64
|
:'source' => :'Source'
|
62
65
|
}
|
63
66
|
end
|
@@ -72,6 +75,7 @@ module AsposeCellsCloud
|
|
72
75
|
:'destination_worksheet' => :'String',
|
73
76
|
:'is_insert' => :'BOOLEAN',
|
74
77
|
:'import_data_type' => :'String',
|
78
|
+
:'data_source' => :'DataSource',
|
75
79
|
:'source' => :'FileSource'
|
76
80
|
}
|
77
81
|
end
|
@@ -105,6 +109,9 @@ module AsposeCellsCloud
|
|
105
109
|
if attributes.has_key?(:'ImportDataType')
|
106
110
|
self.import_data_type = attributes[:'ImportDataType']
|
107
111
|
end
|
112
|
+
if attributes.has_key?(:'DataSource')
|
113
|
+
self.data_source = attributes[:'DataSource']
|
114
|
+
end
|
108
115
|
if attributes.has_key?(:'Source')
|
109
116
|
self.source = attributes[:'Source']
|
110
117
|
end
|
@@ -136,6 +143,9 @@ module AsposeCellsCloud
|
|
136
143
|
if @import_data_type.nil?
|
137
144
|
invalid_properties.push("invalid value for 'import_data_type', import_data_type cannot be nil.")
|
138
145
|
end
|
146
|
+
if @data_source.nil?
|
147
|
+
invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
|
148
|
+
end
|
139
149
|
if @source.nil?
|
140
150
|
invalid_properties.push("invalid value for 'source', source cannot be nil.")
|
141
151
|
end
|
@@ -153,6 +163,7 @@ module AsposeCellsCloud
|
|
153
163
|
return false if @destination_worksheet.nil?
|
154
164
|
return false if @is_insert.nil?
|
155
165
|
return false if @import_data_type.nil?
|
166
|
+
return false if @data_source.nil?
|
156
167
|
return false if @source.nil?
|
157
168
|
return true
|
158
169
|
end
|
@@ -169,6 +180,7 @@ module AsposeCellsCloud
|
|
169
180
|
destination_worksheet == o.destination_worksheet &&
|
170
181
|
is_insert == o.is_insert &&
|
171
182
|
import_data_type == o.import_data_type &&
|
183
|
+
data_source == o.data_source &&
|
172
184
|
source == o.source
|
173
185
|
std_dev == o.std_dev
|
174
186
|
end
|
@@ -182,7 +194,7 @@ module AsposeCellsCloud
|
|
182
194
|
# Calculates hash code according to all attributes.
|
183
195
|
# @return [Fixnum] Hash code
|
184
196
|
def hash
|
185
|
-
[ first_row , first_column , is_vertical , data , destination_worksheet , is_insert , import_data_type , source ].hash
|
197
|
+
[ first_row , first_column , is_vertical , data , destination_worksheet , is_insert , import_data_type , data_source , source ].hash
|
186
198
|
end
|
187
199
|
|
188
200
|
# Builds the object from hash
|