aspose_cells_cloud 24.3 → 24.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -7
- data/lib/aspose_cells_cloud/api/cells_api.rb +8 -0
- data/lib/aspose_cells_cloud/models/analyzed_result.rb +4 -4
- data/lib/aspose_cells_cloud/models/analyzed_table_description.rb +16 -16
- data/lib/aspose_cells_cloud/models/axis.rb +1 -1
- data/lib/aspose_cells_cloud/models/cells_object_operate_task_parameter.rb +16 -4
- 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 +17 -5
- data/lib/aspose_cells_cloud/models/convert_worksheet_task_parameter.rb +33 -9
- 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/{split_result_document.rb → data_item.rb} +23 -23
- data/lib/aspose_cells_cloud/models/data_labels.rb +1 -13
- data/lib/aspose_cells_cloud/models/{analyze_excel_response.rb → data_source.rb} +25 -13
- data/lib/aspose_cells_cloud/models/{analyze_suggestion.rb → data_transformation_request.rb} +50 -86
- 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/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 +28 -4
- 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/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 +258 -0
- data/lib/aspose_cells_cloud/models/load_to.rb +234 -0
- data/lib/aspose_cells_cloud/models/marker.rb +4 -4
- data/lib/aspose_cells_cloud/models/merge_queries.rb +306 -0
- data/lib/aspose_cells_cloud/models/operate_object.rb +2 -2
- data/lib/aspose_cells_cloud/models/operate_object_position.rb +19 -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 +222 -0
- 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/pptx_save_options.rb +3 -3
- data/lib/aspose_cells_cloud/models/query_data_source.rb +234 -0
- data/lib/aspose_cells_cloud/models/result_destination.rb +3 -3
- data/lib/aspose_cells_cloud/models/save_files_to_cloud_result.rb +1 -1
- 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 +43 -7
- 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 +28 -4
- 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 +3 -3
- 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/transformation.rb +222 -0
- 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 +234 -0
- 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_data_transformation_request.rb +103 -0
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +14 -6
- data/spec/api/xml_controller_spec.rb +1 -1
- metadata +26 -13
@@ -31,18 +31,24 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class ImportDataTaskParameter
|
34
|
-
#
|
34
|
+
#Represents data source of task object.
|
35
|
+
attr_accessor :data_source
|
36
|
+
#Represents data source of task object.
|
35
37
|
attr_accessor :workbook
|
36
|
-
#
|
38
|
+
#Represents import option.
|
37
39
|
attr_accessor :import_option
|
38
|
-
#
|
40
|
+
#Represents destination data source.
|
41
|
+
attr_accessor :target_data_source
|
42
|
+
#Represents destination data source.
|
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
|
@@ -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
|