aspose_cells_cloud 24.3 → 24.5

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.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +16 -7
  3. data/lib/aspose_cells_cloud/api/cells_api.rb +8 -0
  4. data/lib/aspose_cells_cloud/models/analyzed_result.rb +4 -4
  5. data/lib/aspose_cells_cloud/models/analyzed_table_description.rb +16 -16
  6. data/lib/aspose_cells_cloud/models/axis.rb +1 -1
  7. data/lib/aspose_cells_cloud/models/cells_object_operate_task_parameter.rb +16 -4
  8. data/lib/aspose_cells_cloud/models/chart.rb +12 -12
  9. data/lib/aspose_cells_cloud/models/chart_area.rb +1 -13
  10. data/lib/aspose_cells_cloud/models/chart_frame.rb +1 -13
  11. data/lib/aspose_cells_cloud/models/chart_operate_parameter.rb +11 -11
  12. data/lib/aspose_cells_cloud/models/chart_point.rb +15 -3
  13. data/lib/aspose_cells_cloud/models/chart_points.rb +1 -1
  14. data/lib/aspose_cells_cloud/models/convert_task_parameter.rb +17 -5
  15. data/lib/aspose_cells_cloud/models/convert_worksheet_task_parameter.rb +33 -9
  16. data/lib/aspose_cells_cloud/models/data_cleansing.rb +2 -2
  17. data/lib/aspose_cells_cloud/models/data_column_fill_value.rb +2 -2
  18. data/lib/aspose_cells_cloud/models/data_fill.rb +3 -3
  19. data/lib/aspose_cells_cloud/models/data_fill_value.rb +5 -5
  20. data/lib/aspose_cells_cloud/models/{split_result_document.rb → data_item.rb} +23 -23
  21. data/lib/aspose_cells_cloud/models/data_labels.rb +1 -13
  22. data/lib/aspose_cells_cloud/models/{analyze_excel_response.rb → data_source.rb} +25 -13
  23. data/lib/aspose_cells_cloud/models/{analyze_suggestion.rb → data_transformation_request.rb} +50 -86
  24. data/lib/aspose_cells_cloud/models/deduplication_region.rb +2 -2
  25. data/lib/aspose_cells_cloud/models/discover_chart.rb +6 -6
  26. data/lib/aspose_cells_cloud/models/discover_pivot_table.rb +4 -4
  27. data/lib/aspose_cells_cloud/models/display_unit_label.rb +1 -25
  28. data/lib/aspose_cells_cloud/models/excel_data_statistics.rb +5 -17
  29. data/lib/aspose_cells_cloud/models/file_info.rb +3 -3
  30. data/lib/aspose_cells_cloud/models/import2_dimension_double_array_option.rb +13 -1
  31. data/lib/aspose_cells_cloud/models/import2_dimension_int_array_option.rb +13 -1
  32. data/lib/aspose_cells_cloud/models/import2_dimension_string_array_option.rb +13 -1
  33. data/lib/aspose_cells_cloud/models/import_batch_data_option.rb +13 -1
  34. data/lib/aspose_cells_cloud/models/import_csv_data_option.rb +13 -1
  35. data/lib/aspose_cells_cloud/models/import_data_task_parameter.rb +28 -4
  36. data/lib/aspose_cells_cloud/models/import_double_array_option.rb +13 -1
  37. data/lib/aspose_cells_cloud/models/import_int_array_option.rb +13 -1
  38. data/lib/aspose_cells_cloud/models/import_json_request.rb +1 -1
  39. data/lib/aspose_cells_cloud/models/import_option.rb +13 -1
  40. data/lib/aspose_cells_cloud/models/import_picture_option.rb +13 -1
  41. data/lib/aspose_cells_cloud/models/import_string_array_option.rb +13 -1
  42. data/lib/aspose_cells_cloud/models/import_xml_request.rb +1 -1
  43. data/lib/aspose_cells_cloud/models/legend.rb +1 -13
  44. data/lib/aspose_cells_cloud/models/legend_entry.rb +2 -2
  45. data/lib/aspose_cells_cloud/models/list_object_operate_parameter.rb +1 -1
  46. data/lib/aspose_cells_cloud/models/load_data.rb +258 -0
  47. data/lib/aspose_cells_cloud/models/load_to.rb +234 -0
  48. data/lib/aspose_cells_cloud/models/marker.rb +4 -4
  49. data/lib/aspose_cells_cloud/models/merge_queries.rb +306 -0
  50. data/lib/aspose_cells_cloud/models/operate_object.rb +2 -2
  51. data/lib/aspose_cells_cloud/models/operate_object_position.rb +19 -7
  52. data/lib/aspose_cells_cloud/models/operate_parameter.rb +1 -1
  53. data/lib/aspose_cells_cloud/models/page_break_operate_parameter.rb +6 -6
  54. data/lib/aspose_cells_cloud/models/page_setup_operate_parameter.rb +1 -1
  55. data/lib/aspose_cells_cloud/models/pivot_column.rb +222 -0
  56. data/lib/aspose_cells_cloud/models/pivot_table.rb +1 -1
  57. data/lib/aspose_cells_cloud/models/pivot_table_operate_parameter.rb +8 -8
  58. data/lib/aspose_cells_cloud/models/plot_area.rb +1 -13
  59. data/lib/aspose_cells_cloud/models/pptx_save_options.rb +3 -3
  60. data/lib/aspose_cells_cloud/models/query_data_source.rb +234 -0
  61. data/lib/aspose_cells_cloud/models/result_destination.rb +3 -3
  62. data/lib/aspose_cells_cloud/models/save_files_to_cloud_result.rb +1 -1
  63. data/lib/aspose_cells_cloud/models/save_result.rb +1 -1
  64. data/lib/aspose_cells_cloud/models/save_result_task_parameter.rb +2 -2
  65. data/lib/aspose_cells_cloud/models/series.rb +8 -32
  66. data/lib/aspose_cells_cloud/models/series_items.rb +1 -1
  67. data/lib/aspose_cells_cloud/models/shape_operate_parameter.rb +1 -1
  68. data/lib/aspose_cells_cloud/models/single_value.rb +2 -2
  69. data/lib/aspose_cells_cloud/models/smart_marker_task_parameter.rb +43 -7
  70. data/lib/aspose_cells_cloud/models/sort_key.rb +2 -2
  71. data/lib/aspose_cells_cloud/models/split_result.rb +1 -1
  72. data/lib/aspose_cells_cloud/models/split_workbook_task_parameter.rb +28 -4
  73. data/lib/aspose_cells_cloud/models/task_data.rb +1 -1
  74. data/lib/aspose_cells_cloud/models/task_description.rb +2 -2
  75. data/lib/aspose_cells_cloud/models/task_run_result.rb +3 -3
  76. data/lib/aspose_cells_cloud/models/text_item.rb +1 -1
  77. data/lib/aspose_cells_cloud/models/text_items.rb +1 -1
  78. data/lib/aspose_cells_cloud/models/text_options.rb +6 -6
  79. data/lib/aspose_cells_cloud/models/title.rb +1 -13
  80. data/lib/aspose_cells_cloud/models/transformation.rb +222 -0
  81. data/lib/aspose_cells_cloud/models/trendline.rb +2 -2
  82. data/lib/aspose_cells_cloud/models/trendlines.rb +1 -1
  83. data/lib/aspose_cells_cloud/models/unpivot_column.rb +234 -0
  84. data/lib/aspose_cells_cloud/models/workbook_settings_operate_parameter.rb +1 -1
  85. data/lib/aspose_cells_cloud/models/worksheet_data_statistics.rb +10 -10
  86. data/lib/aspose_cells_cloud/models/worksheet_operate_parameter.rb +3 -3
  87. data/lib/aspose_cells_cloud/requests/post_data_transformation_request.rb +103 -0
  88. data/lib/aspose_cells_cloud/version.rb +1 -1
  89. data/lib/aspose_cells_cloud.rb +14 -6
  90. data/spec/api/xml_controller_spec.rb +1 -1
  91. metadata +26 -13
@@ -31,17 +31,17 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class DiscoverChart
34
- #
34
+ #Represents chart name.
35
35
  attr_accessor :name
36
- #
36
+ #Represents worksheet name which is where the chart is located.
37
37
  attr_accessor :sheet_name
38
- #
38
+ #Represents chart title.
39
39
  attr_accessor :title
40
- #
40
+ #Represents chart type.
41
41
  attr_accessor :type
42
- #
42
+ #Represents chart data range.
43
43
  attr_accessor :data_range
44
- #Base64String
44
+ #Represents chart thumbnail. Base64String
45
45
  attr_accessor :thumbnail
46
46
 
47
47
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -31,11 +31,11 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class DiscoverPivotTable
34
- #
34
+ #Represents pivot table name.
35
35
  attr_accessor :name
36
- #
36
+ #Represents pivot table title.
37
37
  attr_accessor :title
38
- #
38
+ #Represents pivot table data range.
39
39
  attr_accessor :data_range
40
40
  #Represents row fields in a PivotTable report.
41
41
  attr_accessor :pivot_field_rows
@@ -43,7 +43,7 @@ module AsposeCellsCloud
43
43
  attr_accessor :pivot_field_columns
44
44
  #Represents data fields in a PivotTable report.
45
45
  attr_accessor :pivot_field_data
46
- #Base64String
46
+ #Represents pivot table thumbnail. Base64String
47
47
  attr_accessor :thumbnail
48
48
 
49
49
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -38,8 +38,6 @@ module AsposeCellsCloud
38
38
  #Gets or sets the text of display unit label.
39
39
  attr_accessor :text
40
40
  #
41
- attr_accessor :text_direction
42
- #
43
41
  attr_accessor :text_horizontal_alignment
44
42
  #
45
43
  attr_accessor :text_vertical_alignment
@@ -60,8 +58,6 @@ module AsposeCellsCloud
60
58
  #
61
59
  attr_accessor :shadow
62
60
  #
63
- attr_accessor :shape_properties
64
- #
65
61
  attr_accessor :width
66
62
  #
67
63
  attr_accessor :height
@@ -76,7 +72,6 @@ module AsposeCellsCloud
76
72
  :'linked_source' => :'LinkedSource',
77
73
  :'rotation_angle' => :'RotationAngle',
78
74
  :'text' => :'Text',
79
- :'text_direction' => :'TextDirection',
80
75
  :'text_horizontal_alignment' => :'TextHorizontalAlignment',
81
76
  :'text_vertical_alignment' => :'TextVerticalAlignment',
82
77
  :'area' => :'Area',
@@ -87,7 +82,6 @@ module AsposeCellsCloud
87
82
  :'is_automatic_size' => :'IsAutomaticSize',
88
83
  :'is_inner_mode' => :'IsInnerMode',
89
84
  :'shadow' => :'Shadow',
90
- :'shape_properties' => :'ShapeProperties',
91
85
  :'width' => :'Width',
92
86
  :'height' => :'Height',
93
87
  :'x' => :'X',
@@ -101,7 +95,6 @@ module AsposeCellsCloud
101
95
  :'linked_source' => :'String',
102
96
  :'rotation_angle' => :'Integer',
103
97
  :'text' => :'String',
104
- :'text_direction' => :'String',
105
98
  :'text_horizontal_alignment' => :'String',
106
99
  :'text_vertical_alignment' => :'String',
107
100
  :'area' => :'Area',
@@ -112,7 +105,6 @@ module AsposeCellsCloud
112
105
  :'is_automatic_size' => :'BOOLEAN',
113
106
  :'is_inner_mode' => :'BOOLEAN',
114
107
  :'shadow' => :'BOOLEAN',
115
- :'shape_properties' => :'Array<LinkElement>',
116
108
  :'width' => :'Integer',
117
109
  :'height' => :'Integer',
118
110
  :'x' => :'Integer',
@@ -137,9 +129,6 @@ module AsposeCellsCloud
137
129
  if attributes.has_key?(:'Text')
138
130
  self.text = attributes[:'Text']
139
131
  end
140
- if attributes.has_key?(:'TextDirection')
141
- self.text_direction = attributes[:'TextDirection']
142
- end
143
132
  if attributes.has_key?(:'TextHorizontalAlignment')
144
133
  self.text_horizontal_alignment = attributes[:'TextHorizontalAlignment']
145
134
  end
@@ -170,9 +159,6 @@ module AsposeCellsCloud
170
159
  if attributes.has_key?(:'Shadow')
171
160
  self.shadow = attributes[:'Shadow']
172
161
  end
173
- if attributes.has_key?(:'ShapeProperties')
174
- self.shape_properties = attributes[:'ShapeProperties']
175
- end
176
162
  if attributes.has_key?(:'Width')
177
163
  self.width = attributes[:'Width']
178
164
  end
@@ -201,9 +187,6 @@ module AsposeCellsCloud
201
187
  if @text.nil?
202
188
  invalid_properties.push("invalid value for 'text', text cannot be nil.")
203
189
  end
204
- if @text_direction.nil?
205
- invalid_properties.push("invalid value for 'text_direction', text_direction cannot be nil.")
206
- end
207
190
  if @text_horizontal_alignment.nil?
208
191
  invalid_properties.push("invalid value for 'text_horizontal_alignment', text_horizontal_alignment cannot be nil.")
209
192
  end
@@ -234,9 +217,6 @@ module AsposeCellsCloud
234
217
  if @shadow.nil?
235
218
  invalid_properties.push("invalid value for 'shadow', shadow cannot be nil.")
236
219
  end
237
- if @shape_properties.nil?
238
- invalid_properties.push("invalid value for 'shape_properties', shape_properties cannot be nil.")
239
- end
240
220
  if @width.nil?
241
221
  invalid_properties.push("invalid value for 'width', width cannot be nil.")
242
222
  end
@@ -259,7 +239,6 @@ module AsposeCellsCloud
259
239
  return false if @linked_source.nil?
260
240
  return false if @rotation_angle.nil?
261
241
  return false if @text.nil?
262
- return false if @text_direction.nil?
263
242
  return false if @text_horizontal_alignment.nil?
264
243
  return false if @text_vertical_alignment.nil?
265
244
  return false if @area.nil?
@@ -270,7 +249,6 @@ module AsposeCellsCloud
270
249
  return false if @is_automatic_size.nil?
271
250
  return false if @is_inner_mode.nil?
272
251
  return false if @shadow.nil?
273
- return false if @shape_properties.nil?
274
252
  return false if @width.nil?
275
253
  return false if @height.nil?
276
254
  return false if @x.nil?
@@ -286,7 +264,6 @@ module AsposeCellsCloud
286
264
  linked_source == o.linked_source &&
287
265
  rotation_angle == o.rotation_angle &&
288
266
  text == o.text &&
289
- text_direction == o.text_direction &&
290
267
  text_horizontal_alignment == o.text_horizontal_alignment &&
291
268
  text_vertical_alignment == o.text_vertical_alignment &&
292
269
  area == o.area &&
@@ -297,7 +274,6 @@ module AsposeCellsCloud
297
274
  is_automatic_size == o.is_automatic_size &&
298
275
  is_inner_mode == o.is_inner_mode &&
299
276
  shadow == o.shadow &&
300
- shape_properties == o.shape_properties &&
301
277
  width == o.width &&
302
278
  height == o.height &&
303
279
  x == o.x &&
@@ -314,7 +290,7 @@ module AsposeCellsCloud
314
290
  # Calculates hash code according to all attributes.
315
291
  # @return [Fixnum] Hash code
316
292
  def hash
317
- [ linked_source , rotation_angle , text , text_direction , text_horizontal_alignment , text_vertical_alignment , area , auto_scale_font , background_mode , border , font , is_automatic_size , is_inner_mode , shadow , shape_properties , width , height , x , y ].hash
293
+ [ linked_source , rotation_angle , text , text_horizontal_alignment , text_vertical_alignment , area , auto_scale_font , background_mode , border , font , is_automatic_size , is_inner_mode , shadow , width , height , x , y ].hash
318
294
  end
319
295
 
320
296
  # Builds the object from hash
@@ -31,24 +31,20 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class ExcelDataStatistics
34
- #
34
+ #Represents worksheet data statistics list.
35
35
  attr_accessor :worksheet_data_statistics
36
- #
37
- attr_accessor :names_count
38
36
 
39
37
  # Attribute mapping from ruby-style variable name to JSON key.
40
38
  def self.attribute_map
41
39
  {
42
- :'worksheet_data_statistics' => :'WorksheetDataStatistics',
43
- :'names_count' => :'NamesCount'
40
+ :'worksheet_data_statistics' => :'WorksheetDataStatistics'
44
41
  }
45
42
  end
46
43
 
47
44
  # Attribute type mapping.
48
45
  def self.swagger_types
49
46
  {
50
- :'worksheet_data_statistics' => :'Array<WorksheetDataStatistics>',
51
- :'names_count' => :'Integer'
47
+ :'worksheet_data_statistics' => :'Array<WorksheetDataStatistics>'
52
48
  }
53
49
  end
54
50
 
@@ -63,9 +59,6 @@ module AsposeCellsCloud
63
59
  if attributes.has_key?(:'WorksheetDataStatistics')
64
60
  self.worksheet_data_statistics = attributes[:'WorksheetDataStatistics']
65
61
  end
66
- if attributes.has_key?(:'NamesCount')
67
- self.names_count = attributes[:'NamesCount']
68
- end
69
62
 
70
63
  end
71
64
 
@@ -76,9 +69,6 @@ module AsposeCellsCloud
76
69
  if @worksheet_data_statistics.nil?
77
70
  invalid_properties.push("invalid value for 'worksheet_data_statistics', worksheet_data_statistics cannot be nil.")
78
71
  end
79
- if @names_count.nil?
80
- invalid_properties.push("invalid value for 'names_count', names_count cannot be nil.")
81
- end
82
72
 
83
73
  return invalid_properties
84
74
  end
@@ -87,7 +77,6 @@ module AsposeCellsCloud
87
77
  # @return true if the model is valid
88
78
  def valid?
89
79
  return false if @worksheet_data_statistics.nil?
90
- return false if @names_count.nil?
91
80
  return true
92
81
  end
93
82
 
@@ -96,8 +85,7 @@ module AsposeCellsCloud
96
85
  def ==(o)
97
86
  return true if self.equal?(o)
98
87
  self.class == o.class &&
99
- worksheet_data_statistics == o.worksheet_data_statistics &&
100
- names_count == o.names_count
88
+ worksheet_data_statistics == o.worksheet_data_statistics
101
89
  std_dev == o.std_dev
102
90
  end
103
91
 
@@ -110,7 +98,7 @@ module AsposeCellsCloud
110
98
  # Calculates hash code according to all attributes.
111
99
  # @return [Fixnum] Hash code
112
100
  def hash
113
- [ worksheet_data_statistics , names_count ].hash
101
+ [ worksheet_data_statistics ].hash
114
102
  end
115
103
 
116
104
  # Builds the object from hash
@@ -31,11 +31,11 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class FileInfo
34
- #Filename.
34
+ #Represents filename.
35
35
  attr_accessor :filename
36
- #File size.
36
+ #Represents file size.
37
37
  attr_accessor :file_size
38
- #File content, byte to base64 string.
38
+ #Represents file content, byte to base64 string.
39
39
  attr_accessor :file_content
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -44,6 +44,8 @@ module AsposeCellsCloud
44
44
  #
45
45
  attr_accessor :import_data_type
46
46
  #
47
+ attr_accessor :data_source
48
+ #
47
49
  attr_accessor :source
48
50
 
49
51
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -55,6 +57,7 @@ module AsposeCellsCloud
55
57
  :'destination_worksheet' => :'DestinationWorksheet',
56
58
  :'is_insert' => :'IsInsert',
57
59
  :'import_data_type' => :'ImportDataType',
60
+ :'data_source' => :'DataSource',
58
61
  :'source' => :'Source'
59
62
  }
60
63
  end
@@ -68,6 +71,7 @@ module AsposeCellsCloud
68
71
  :'destination_worksheet' => :'String',
69
72
  :'is_insert' => :'BOOLEAN',
70
73
  :'import_data_type' => :'String',
74
+ :'data_source' => :'DataSource',
71
75
  :'source' => :'FileSource'
72
76
  }
73
77
  end
@@ -98,6 +102,9 @@ module AsposeCellsCloud
98
102
  if attributes.has_key?(:'ImportDataType')
99
103
  self.import_data_type = attributes[:'ImportDataType']
100
104
  end
105
+ if attributes.has_key?(:'DataSource')
106
+ self.data_source = attributes[:'DataSource']
107
+ end
101
108
  if attributes.has_key?(:'Source')
102
109
  self.source = attributes[:'Source']
103
110
  end
@@ -126,6 +133,9 @@ module AsposeCellsCloud
126
133
  if @import_data_type.nil?
127
134
  invalid_properties.push("invalid value for 'import_data_type', import_data_type cannot be nil.")
128
135
  end
136
+ if @data_source.nil?
137
+ invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
138
+ end
129
139
  if @source.nil?
130
140
  invalid_properties.push("invalid value for 'source', source cannot be nil.")
131
141
  end
@@ -142,6 +152,7 @@ module AsposeCellsCloud
142
152
  return false if @destination_worksheet.nil?
143
153
  return false if @is_insert.nil?
144
154
  return false if @import_data_type.nil?
155
+ return false if @data_source.nil?
145
156
  return false if @source.nil?
146
157
  return true
147
158
  end
@@ -157,6 +168,7 @@ module AsposeCellsCloud
157
168
  destination_worksheet == o.destination_worksheet &&
158
169
  is_insert == o.is_insert &&
159
170
  import_data_type == o.import_data_type &&
171
+ data_source == o.data_source &&
160
172
  source == o.source
161
173
  std_dev == o.std_dev
162
174
  end
@@ -170,7 +182,7 @@ module AsposeCellsCloud
170
182
  # Calculates hash code according to all attributes.
171
183
  # @return [Fixnum] Hash code
172
184
  def hash
173
- [ first_row , first_column , data , destination_worksheet , is_insert , import_data_type , source ].hash
185
+ [ first_row , first_column , data , destination_worksheet , is_insert , import_data_type , data_source , source ].hash
174
186
  end
175
187
 
176
188
  # Builds the object from hash
@@ -44,6 +44,8 @@ module AsposeCellsCloud
44
44
  #
45
45
  attr_accessor :import_data_type
46
46
  #
47
+ attr_accessor :data_source
48
+ #
47
49
  attr_accessor :source
48
50
 
49
51
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -55,6 +57,7 @@ module AsposeCellsCloud
55
57
  :'destination_worksheet' => :'DestinationWorksheet',
56
58
  :'is_insert' => :'IsInsert',
57
59
  :'import_data_type' => :'ImportDataType',
60
+ :'data_source' => :'DataSource',
58
61
  :'source' => :'Source'
59
62
  }
60
63
  end
@@ -68,6 +71,7 @@ module AsposeCellsCloud
68
71
  :'destination_worksheet' => :'String',
69
72
  :'is_insert' => :'BOOLEAN',
70
73
  :'import_data_type' => :'String',
74
+ :'data_source' => :'DataSource',
71
75
  :'source' => :'FileSource'
72
76
  }
73
77
  end
@@ -98,6 +102,9 @@ module AsposeCellsCloud
98
102
  if attributes.has_key?(:'ImportDataType')
99
103
  self.import_data_type = attributes[:'ImportDataType']
100
104
  end
105
+ if attributes.has_key?(:'DataSource')
106
+ self.data_source = attributes[:'DataSource']
107
+ end
101
108
  if attributes.has_key?(:'Source')
102
109
  self.source = attributes[:'Source']
103
110
  end
@@ -126,6 +133,9 @@ module AsposeCellsCloud
126
133
  if @import_data_type.nil?
127
134
  invalid_properties.push("invalid value for 'import_data_type', import_data_type cannot be nil.")
128
135
  end
136
+ if @data_source.nil?
137
+ invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
138
+ end
129
139
  if @source.nil?
130
140
  invalid_properties.push("invalid value for 'source', source cannot be nil.")
131
141
  end
@@ -142,6 +152,7 @@ module AsposeCellsCloud
142
152
  return false if @destination_worksheet.nil?
143
153
  return false if @is_insert.nil?
144
154
  return false if @import_data_type.nil?
155
+ return false if @data_source.nil?
145
156
  return false if @source.nil?
146
157
  return true
147
158
  end
@@ -157,6 +168,7 @@ module AsposeCellsCloud
157
168
  destination_worksheet == o.destination_worksheet &&
158
169
  is_insert == o.is_insert &&
159
170
  import_data_type == o.import_data_type &&
171
+ data_source == o.data_source &&
160
172
  source == o.source
161
173
  std_dev == o.std_dev
162
174
  end
@@ -170,7 +182,7 @@ module AsposeCellsCloud
170
182
  # Calculates hash code according to all attributes.
171
183
  # @return [Fixnum] Hash code
172
184
  def hash
173
- [ first_row , first_column , data , destination_worksheet , is_insert , import_data_type , source ].hash
185
+ [ first_row , first_column , data , destination_worksheet , is_insert , import_data_type , data_source , source ].hash
174
186
  end
175
187
 
176
188
  # Builds the object from hash
@@ -44,6 +44,8 @@ module AsposeCellsCloud
44
44
  #
45
45
  attr_accessor :import_data_type
46
46
  #
47
+ attr_accessor :data_source
48
+ #
47
49
  attr_accessor :source
48
50
 
49
51
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -55,6 +57,7 @@ module AsposeCellsCloud
55
57
  :'destination_worksheet' => :'DestinationWorksheet',
56
58
  :'is_insert' => :'IsInsert',
57
59
  :'import_data_type' => :'ImportDataType',
60
+ :'data_source' => :'DataSource',
58
61
  :'source' => :'Source'
59
62
  }
60
63
  end
@@ -68,6 +71,7 @@ module AsposeCellsCloud
68
71
  :'destination_worksheet' => :'String',
69
72
  :'is_insert' => :'BOOLEAN',
70
73
  :'import_data_type' => :'String',
74
+ :'data_source' => :'DataSource',
71
75
  :'source' => :'FileSource'
72
76
  }
73
77
  end
@@ -98,6 +102,9 @@ module AsposeCellsCloud
98
102
  if attributes.has_key?(:'ImportDataType')
99
103
  self.import_data_type = attributes[:'ImportDataType']
100
104
  end
105
+ if attributes.has_key?(:'DataSource')
106
+ self.data_source = attributes[:'DataSource']
107
+ end
101
108
  if attributes.has_key?(:'Source')
102
109
  self.source = attributes[:'Source']
103
110
  end
@@ -126,6 +133,9 @@ module AsposeCellsCloud
126
133
  if @import_data_type.nil?
127
134
  invalid_properties.push("invalid value for 'import_data_type', import_data_type cannot be nil.")
128
135
  end
136
+ if @data_source.nil?
137
+ invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
138
+ end
129
139
  if @source.nil?
130
140
  invalid_properties.push("invalid value for 'source', source cannot be nil.")
131
141
  end
@@ -142,6 +152,7 @@ module AsposeCellsCloud
142
152
  return false if @destination_worksheet.nil?
143
153
  return false if @is_insert.nil?
144
154
  return false if @import_data_type.nil?
155
+ return false if @data_source.nil?
145
156
  return false if @source.nil?
146
157
  return true
147
158
  end
@@ -157,6 +168,7 @@ module AsposeCellsCloud
157
168
  destination_worksheet == o.destination_worksheet &&
158
169
  is_insert == o.is_insert &&
159
170
  import_data_type == o.import_data_type &&
171
+ data_source == o.data_source &&
160
172
  source == o.source
161
173
  std_dev == o.std_dev
162
174
  end
@@ -170,7 +182,7 @@ module AsposeCellsCloud
170
182
  # Calculates hash code according to all attributes.
171
183
  # @return [Fixnum] Hash code
172
184
  def hash
173
- [ first_row , first_column , data , destination_worksheet , is_insert , import_data_type , source ].hash
185
+ [ first_row , first_column , data , destination_worksheet , is_insert , import_data_type , data_source , source ].hash
174
186
  end
175
187
 
176
188
  # Builds the object from hash
@@ -40,6 +40,8 @@ module AsposeCellsCloud
40
40
  #
41
41
  attr_accessor :import_data_type
42
42
  #
43
+ attr_accessor :data_source
44
+ #
43
45
  attr_accessor :source
44
46
 
45
47
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -49,6 +51,7 @@ module AsposeCellsCloud
49
51
  :'destination_worksheet' => :'DestinationWorksheet',
50
52
  :'is_insert' => :'IsInsert',
51
53
  :'import_data_type' => :'ImportDataType',
54
+ :'data_source' => :'DataSource',
52
55
  :'source' => :'Source'
53
56
  }
54
57
  end
@@ -60,6 +63,7 @@ module AsposeCellsCloud
60
63
  :'destination_worksheet' => :'String',
61
64
  :'is_insert' => :'BOOLEAN',
62
65
  :'import_data_type' => :'String',
66
+ :'data_source' => :'DataSource',
63
67
  :'source' => :'FileSource'
64
68
  }
65
69
  end
@@ -84,6 +88,9 @@ module AsposeCellsCloud
84
88
  if attributes.has_key?(:'ImportDataType')
85
89
  self.import_data_type = attributes[:'ImportDataType']
86
90
  end
91
+ if attributes.has_key?(:'DataSource')
92
+ self.data_source = attributes[:'DataSource']
93
+ end
87
94
  if attributes.has_key?(:'Source')
88
95
  self.source = attributes[:'Source']
89
96
  end
@@ -106,6 +113,9 @@ module AsposeCellsCloud
106
113
  if @import_data_type.nil?
107
114
  invalid_properties.push("invalid value for 'import_data_type', import_data_type cannot be nil.")
108
115
  end
116
+ if @data_source.nil?
117
+ invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
118
+ end
109
119
  if @source.nil?
110
120
  invalid_properties.push("invalid value for 'source', source cannot be nil.")
111
121
  end
@@ -120,6 +130,7 @@ module AsposeCellsCloud
120
130
  return false if @destination_worksheet.nil?
121
131
  return false if @is_insert.nil?
122
132
  return false if @import_data_type.nil?
133
+ return false if @data_source.nil?
123
134
  return false if @source.nil?
124
135
  return true
125
136
  end
@@ -133,6 +144,7 @@ module AsposeCellsCloud
133
144
  destination_worksheet == o.destination_worksheet &&
134
145
  is_insert == o.is_insert &&
135
146
  import_data_type == o.import_data_type &&
147
+ data_source == o.data_source &&
136
148
  source == o.source
137
149
  std_dev == o.std_dev
138
150
  end
@@ -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
- [ batch_data , destination_worksheet , is_insert , import_data_type , source ].hash
161
+ [ batch_data , destination_worksheet , is_insert , import_data_type , data_source , source ].hash
150
162
  end
151
163
 
152
164
  # 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
- [ separator_string , convert_numeric_data , first_row , first_column , source_file , custom_parsers , destination_worksheet , is_insert , import_data_type , source ].hash
221
+ [ separator_string , convert_numeric_data , first_row , first_column , source_file , custom_parsers , destination_worksheet , is_insert , import_data_type , data_source , source ].hash
210
222
  end
211
223
 
212
224
  # Builds the object from hash