aspose_cells_cloud 24.3 → 24.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -6
  3. data/lib/aspose_cells_cloud/api/cells_api.rb +8 -0
  4. data/lib/aspose_cells_cloud/models/cells_object_operate_task_parameter.rb +13 -1
  5. data/lib/aspose_cells_cloud/models/convert_task_parameter.rb +13 -1
  6. data/lib/aspose_cells_cloud/models/convert_worksheet_task_parameter.rb +25 -1
  7. data/lib/aspose_cells_cloud/models/data_item.rb +222 -0
  8. data/lib/aspose_cells_cloud/models/data_source.rb +222 -0
  9. data/lib/aspose_cells_cloud/models/data_transformation_request.rb +258 -0
  10. data/lib/aspose_cells_cloud/models/import2_dimension_double_array_option.rb +13 -1
  11. data/lib/aspose_cells_cloud/models/import2_dimension_int_array_option.rb +13 -1
  12. data/lib/aspose_cells_cloud/models/import2_dimension_string_array_option.rb +13 -1
  13. data/lib/aspose_cells_cloud/models/import_batch_data_option.rb +13 -1
  14. data/lib/aspose_cells_cloud/models/import_csv_data_option.rb +13 -1
  15. data/lib/aspose_cells_cloud/models/import_data_task_parameter.rb +25 -1
  16. data/lib/aspose_cells_cloud/models/import_double_array_option.rb +13 -1
  17. data/lib/aspose_cells_cloud/models/import_int_array_option.rb +13 -1
  18. data/lib/aspose_cells_cloud/models/import_json_request.rb +1 -1
  19. data/lib/aspose_cells_cloud/models/import_option.rb +13 -1
  20. data/lib/aspose_cells_cloud/models/import_picture_option.rb +13 -1
  21. data/lib/aspose_cells_cloud/models/import_string_array_option.rb +13 -1
  22. data/lib/aspose_cells_cloud/models/import_xml_request.rb +1 -1
  23. data/lib/aspose_cells_cloud/models/load_data.rb +246 -0
  24. data/lib/aspose_cells_cloud/models/load_to.rb +234 -0
  25. data/lib/aspose_cells_cloud/models/operate_object_position.rb +13 -1
  26. data/lib/aspose_cells_cloud/models/pivot_column.rb +222 -0
  27. data/lib/aspose_cells_cloud/models/pptx_save_options.rb +3 -3
  28. data/lib/aspose_cells_cloud/models/query_data_source.rb +234 -0
  29. data/lib/aspose_cells_cloud/models/save_files_to_cloud_result.rb +1 -1
  30. data/lib/aspose_cells_cloud/models/smart_marker_task_parameter.rb +40 -4
  31. data/lib/aspose_cells_cloud/models/split_workbook_task_parameter.rb +25 -1
  32. data/lib/aspose_cells_cloud/models/task_run_result.rb +1 -1
  33. data/lib/aspose_cells_cloud/models/transformation.rb +222 -0
  34. data/lib/aspose_cells_cloud/models/unpivot_column.rb +234 -0
  35. data/lib/aspose_cells_cloud/requests/post_data_transformation_request.rb +103 -0
  36. data/lib/aspose_cells_cloud/version.rb +1 -1
  37. data/lib/aspose_cells_cloud.rb +12 -2
  38. data/spec/api/xml_controller_spec.rb +1 -1
  39. metadata +25 -10
@@ -0,0 +1,246 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="LoadDatarb.cs">
4
+ Copyright (c) 2024 Aspose.Cells Cloud
5
+ </copyright>
6
+ <summary>
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ SOFTWARE.
24
+ </summary>
25
+ --------------------------------------------------------------------------------------------------------------------
26
+ =end
27
+
28
+
29
+ require 'date'
30
+
31
+ module AsposeCellsCloud
32
+
33
+ class LoadData
34
+ #Indicates begin position for loading data.
35
+ attr_accessor :load_to
36
+ #Indicates the source of the mount data.
37
+ attr_accessor :data_source
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
+ # Attribute mapping from ruby-style variable name to JSON key.
44
+ def self.attribute_map
45
+ {
46
+ :'load_to' => :'LoadTo',
47
+ :'data_source' => :'DataSource',
48
+ :'file_info' => :'FileInfo',
49
+ :'data_item' => :'DataItem'
50
+ }
51
+ end
52
+
53
+ # Attribute type mapping.
54
+ def self.swagger_types
55
+ {
56
+ :'load_to' => :'LoadTo',
57
+ :'data_source' => :'DataSource',
58
+ :'file_info' => :'FileInfo',
59
+ :'data_item' => :'DataItem'
60
+ }
61
+ end
62
+
63
+ # Initializes the object
64
+ # @param [Hash] attributes Model attributes in the form of hash
65
+ def initialize(attributes = {})
66
+ return unless attributes.is_a?(Hash)
67
+
68
+ # convert string to symbol for hash key
69
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
70
+
71
+ if attributes.has_key?(:'LoadTo')
72
+ self.load_to = attributes[:'LoadTo']
73
+ end
74
+ if attributes.has_key?(:'DataSource')
75
+ self.data_source = attributes[:'DataSource']
76
+ end
77
+ if attributes.has_key?(:'FileInfo')
78
+ self.file_info = attributes[:'FileInfo']
79
+ end
80
+ if attributes.has_key?(:'DataItem')
81
+ self.data_item = attributes[:'DataItem']
82
+ end
83
+
84
+ end
85
+
86
+ # Show invalid properties with the reasons. Usually used together with valid?
87
+ # @return Array for valid properies with the reasons
88
+ def list_invalid_properties
89
+ invalid_properties = Array.new
90
+ if @load_to.nil?
91
+ invalid_properties.push("invalid value for 'load_to', load_to cannot be nil.")
92
+ end
93
+ if @data_source.nil?
94
+ invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
95
+ end
96
+ if @file_info.nil?
97
+ invalid_properties.push("invalid value for 'file_info', file_info cannot be nil.")
98
+ end
99
+ if @data_item.nil?
100
+ invalid_properties.push("invalid value for 'data_item', data_item cannot be nil.")
101
+ end
102
+
103
+ return invalid_properties
104
+ end
105
+
106
+ # Check to see if the all the properties in the model are valid
107
+ # @return true if the model is valid
108
+ def valid?
109
+ return false if @load_to.nil?
110
+ return false if @data_source.nil?
111
+ return false if @file_info.nil?
112
+ return false if @data_item.nil?
113
+ return true
114
+ end
115
+
116
+ # Checks equality by comparing each attribute.
117
+ # @param [Object] Object to be compared
118
+ def ==(o)
119
+ return true if self.equal?(o)
120
+ self.class == o.class &&
121
+ load_to == o.load_to &&
122
+ data_source == o.data_source &&
123
+ file_info == o.file_info &&
124
+ data_item == o.data_item
125
+ std_dev == o.std_dev
126
+ end
127
+
128
+ # @see the `==` method
129
+ # @param [Object] Object to be compared
130
+ def eql?(o)
131
+ self == o
132
+ end
133
+
134
+ # Calculates hash code according to all attributes.
135
+ # @return [Fixnum] Hash code
136
+ def hash
137
+ [ load_to , data_source , file_info , data_item ].hash
138
+ end
139
+
140
+ # Builds the object from hash
141
+ # @param [Hash] attributes Model attributes in the form of hash
142
+ # @return [Object] Returns the model itself
143
+ def build_from_hash(attributes)
144
+ return nil unless attributes.is_a?(Hash)
145
+ self.class.swagger_types.each_pair do |key, type|
146
+ if type =~ /\AArray<(.*)>/i
147
+ # check to ensure the input is an array given that the the attribute
148
+ # is documented as an array but the input is not
149
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
150
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
151
+ end
152
+ elsif !attributes[self.class.attribute_map[key]].nil?
153
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
154
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
155
+ end
156
+
157
+ self
158
+ end
159
+
160
+ # Deserializes the data based on type
161
+ # @param string type Data type
162
+ # @param string value Value to be deserialized
163
+ # @return [Object] Deserialized data
164
+ def _deserialize(type, value)
165
+ case type.to_sym
166
+ when :DateTime
167
+ DateTime.parse(value)
168
+ when :Date
169
+ Date.parse(value)
170
+ when :String
171
+ value.to_s
172
+ when :Integer
173
+ value.to_i
174
+ when :Float
175
+ value.to_f
176
+ when :BOOLEAN
177
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
178
+ true
179
+ else
180
+ false
181
+ end
182
+ when :Object
183
+ # generic object (usually a Hash), return directly
184
+ value
185
+ when /\AArray<(?<inner_type>.+)>\z/
186
+ inner_type = Regexp.last_match[:inner_type]
187
+ value.map { |v| _deserialize(inner_type, v) }
188
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
189
+ k_type = Regexp.last_match[:k_type]
190
+ v_type = Regexp.last_match[:v_type]
191
+ {}.tap do |hash|
192
+ value.each do |k, v|
193
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
194
+ end
195
+ end
196
+ else # model
197
+ temp_model = AsposeCellsCloud.const_get(type).new
198
+ temp_model.build_from_hash(value)
199
+ end
200
+ end
201
+
202
+ # Returns the string representation of the object
203
+ # @return [String] String presentation of the object
204
+ def to_s
205
+ to_hash.to_s
206
+ end
207
+
208
+ # to_body is an alias to to_hash (backward compatibility)
209
+ # @return [Hash] Returns the object in the form of hash
210
+ def to_body
211
+ to_hash
212
+ end
213
+
214
+ # Returns the object in the form of hash
215
+ # @return [Hash] Returns the object in the form of hash
216
+ def to_hash
217
+ hash = {}
218
+ self.class.attribute_map.each_pair do |attr, param|
219
+ value = self.send(attr)
220
+ next if value.nil?
221
+ hash[param] = _to_hash(value)
222
+ end
223
+ hash
224
+ end
225
+
226
+ # Outputs non-array value in the form of hash
227
+ # For object, use to_hash. Otherwise, just return the value
228
+ # @param [Object] value Any valid value
229
+ # @return [Hash] Returns the value in the form of hash
230
+ def _to_hash(value)
231
+ if value.is_a?(Array)
232
+ value.compact.map{ |v| _to_hash(v) }
233
+ elsif value.is_a?(Hash)
234
+ {}.tap do |hash|
235
+ value.each { |k, v| hash[k] = _to_hash(v) }
236
+ end
237
+ elsif value.respond_to? :to_hash
238
+ value.to_hash
239
+ else
240
+ value
241
+ end
242
+ end
243
+
244
+ end
245
+
246
+ end
@@ -0,0 +1,234 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="LoadTorb.cs">
4
+ Copyright (c) 2024 Aspose.Cells Cloud
5
+ </copyright>
6
+ <summary>
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ SOFTWARE.
24
+ </summary>
25
+ --------------------------------------------------------------------------------------------------------------------
26
+ =end
27
+
28
+
29
+ require 'date'
30
+
31
+ module AsposeCellsCloud
32
+
33
+ class LoadTo
34
+ #
35
+ attr_accessor :worksheet
36
+ #
37
+ attr_accessor :begin_row_index
38
+ #
39
+ attr_accessor :begin_column_index
40
+
41
+ # Attribute mapping from ruby-style variable name to JSON key.
42
+ def self.attribute_map
43
+ {
44
+ :'worksheet' => :'Worksheet',
45
+ :'begin_row_index' => :'beginRowIndex',
46
+ :'begin_column_index' => :'beginColumnIndex'
47
+ }
48
+ end
49
+
50
+ # Attribute type mapping.
51
+ def self.swagger_types
52
+ {
53
+ :'worksheet' => :'String',
54
+ :'begin_row_index' => :'Integer',
55
+ :'begin_column_index' => :'Integer'
56
+ }
57
+ end
58
+
59
+ # Initializes the object
60
+ # @param [Hash] attributes Model attributes in the form of hash
61
+ def initialize(attributes = {})
62
+ return unless attributes.is_a?(Hash)
63
+
64
+ # convert string to symbol for hash key
65
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
66
+
67
+ if attributes.has_key?(:'Worksheet')
68
+ self.worksheet = attributes[:'Worksheet']
69
+ end
70
+ if attributes.has_key?(:'beginRowIndex')
71
+ self.begin_row_index = attributes[:'beginRowIndex']
72
+ end
73
+ if attributes.has_key?(:'beginColumnIndex')
74
+ self.begin_column_index = attributes[:'beginColumnIndex']
75
+ end
76
+
77
+ end
78
+
79
+ # Show invalid properties with the reasons. Usually used together with valid?
80
+ # @return Array for valid properies with the reasons
81
+ def list_invalid_properties
82
+ invalid_properties = Array.new
83
+ if @worksheet.nil?
84
+ invalid_properties.push("invalid value for 'worksheet', worksheet cannot be nil.")
85
+ end
86
+ if @begin_row_index.nil?
87
+ invalid_properties.push("invalid value for 'begin_row_index', begin_row_index cannot be nil.")
88
+ end
89
+ if @begin_column_index.nil?
90
+ invalid_properties.push("invalid value for 'begin_column_index', begin_column_index cannot be nil.")
91
+ end
92
+
93
+ return invalid_properties
94
+ end
95
+
96
+ # Check to see if the all the properties in the model are valid
97
+ # @return true if the model is valid
98
+ def valid?
99
+ return false if @worksheet.nil?
100
+ return false if @begin_row_index.nil?
101
+ return false if @begin_column_index.nil?
102
+ return true
103
+ end
104
+
105
+ # Checks equality by comparing each attribute.
106
+ # @param [Object] Object to be compared
107
+ def ==(o)
108
+ return true if self.equal?(o)
109
+ self.class == o.class &&
110
+ worksheet == o.worksheet &&
111
+ begin_row_index == o.begin_row_index &&
112
+ begin_column_index == o.begin_column_index
113
+ std_dev == o.std_dev
114
+ end
115
+
116
+ # @see the `==` method
117
+ # @param [Object] Object to be compared
118
+ def eql?(o)
119
+ self == o
120
+ end
121
+
122
+ # Calculates hash code according to all attributes.
123
+ # @return [Fixnum] Hash code
124
+ def hash
125
+ [ worksheet , begin_row_index , begin_column_index ].hash
126
+ end
127
+
128
+ # Builds the object from hash
129
+ # @param [Hash] attributes Model attributes in the form of hash
130
+ # @return [Object] Returns the model itself
131
+ def build_from_hash(attributes)
132
+ return nil unless attributes.is_a?(Hash)
133
+ self.class.swagger_types.each_pair do |key, type|
134
+ if type =~ /\AArray<(.*)>/i
135
+ # check to ensure the input is an array given that the the attribute
136
+ # is documented as an array but the input is not
137
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
138
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
139
+ end
140
+ elsif !attributes[self.class.attribute_map[key]].nil?
141
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
142
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
143
+ end
144
+
145
+ self
146
+ end
147
+
148
+ # Deserializes the data based on type
149
+ # @param string type Data type
150
+ # @param string value Value to be deserialized
151
+ # @return [Object] Deserialized data
152
+ def _deserialize(type, value)
153
+ case type.to_sym
154
+ when :DateTime
155
+ DateTime.parse(value)
156
+ when :Date
157
+ Date.parse(value)
158
+ when :String
159
+ value.to_s
160
+ when :Integer
161
+ value.to_i
162
+ when :Float
163
+ value.to_f
164
+ when :BOOLEAN
165
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
166
+ true
167
+ else
168
+ false
169
+ end
170
+ when :Object
171
+ # generic object (usually a Hash), return directly
172
+ value
173
+ when /\AArray<(?<inner_type>.+)>\z/
174
+ inner_type = Regexp.last_match[:inner_type]
175
+ value.map { |v| _deserialize(inner_type, v) }
176
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
177
+ k_type = Regexp.last_match[:k_type]
178
+ v_type = Regexp.last_match[:v_type]
179
+ {}.tap do |hash|
180
+ value.each do |k, v|
181
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
182
+ end
183
+ end
184
+ else # model
185
+ temp_model = AsposeCellsCloud.const_get(type).new
186
+ temp_model.build_from_hash(value)
187
+ end
188
+ end
189
+
190
+ # Returns the string representation of the object
191
+ # @return [String] String presentation of the object
192
+ def to_s
193
+ to_hash.to_s
194
+ end
195
+
196
+ # to_body is an alias to to_hash (backward compatibility)
197
+ # @return [Hash] Returns the object in the form of hash
198
+ def to_body
199
+ to_hash
200
+ end
201
+
202
+ # Returns the object in the form of hash
203
+ # @return [Hash] Returns the object in the form of hash
204
+ def to_hash
205
+ hash = {}
206
+ self.class.attribute_map.each_pair do |attr, param|
207
+ value = self.send(attr)
208
+ next if value.nil?
209
+ hash[param] = _to_hash(value)
210
+ end
211
+ hash
212
+ end
213
+
214
+ # Outputs non-array value in the form of hash
215
+ # For object, use to_hash. Otherwise, just return the value
216
+ # @param [Object] value Any valid value
217
+ # @return [Hash] Returns the value in the form of hash
218
+ def _to_hash(value)
219
+ if value.is_a?(Array)
220
+ value.compact.map{ |v| _to_hash(v) }
221
+ elsif value.is_a?(Hash)
222
+ {}.tap do |hash|
223
+ value.each { |k, v| hash[k] = _to_hash(v) }
224
+ end
225
+ elsif value.respond_to? :to_hash
226
+ value.to_hash
227
+ else
228
+ value
229
+ end
230
+ end
231
+
232
+ end
233
+
234
+ end
@@ -31,6 +31,8 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class OperateObjectPosition
34
+ #
35
+ attr_accessor :data_source
34
36
  #
35
37
  attr_accessor :workbook
36
38
  #
@@ -47,6 +49,7 @@ module AsposeCellsCloud
47
49
  # Attribute mapping from ruby-style variable name to JSON key.
48
50
  def self.attribute_map
49
51
  {
52
+ :'data_source' => :'DataSource',
50
53
  :'workbook' => :'Workbook',
51
54
  :'sheet_name' => :'SheetName',
52
55
  :'chart_index' => :'ChartIndex',
@@ -59,6 +62,7 @@ module AsposeCellsCloud
59
62
  # Attribute type mapping.
60
63
  def self.swagger_types
61
64
  {
65
+ :'data_source' => :'DataSource',
62
66
  :'workbook' => :'FileSource',
63
67
  :'sheet_name' => :'String',
64
68
  :'chart_index' => :'Integer',
@@ -76,6 +80,9 @@ module AsposeCellsCloud
76
80
  # convert string to symbol for hash key
77
81
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
78
82
 
83
+ if attributes.has_key?(:'DataSource')
84
+ self.data_source = attributes[:'DataSource']
85
+ end
79
86
  if attributes.has_key?(:'Workbook')
80
87
  self.workbook = attributes[:'Workbook']
81
88
  end
@@ -101,6 +108,9 @@ module AsposeCellsCloud
101
108
  # @return Array for valid properies with the reasons
102
109
  def list_invalid_properties
103
110
  invalid_properties = Array.new
111
+ if @data_source.nil?
112
+ invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
113
+ end
104
114
  if @workbook.nil?
105
115
  invalid_properties.push("invalid value for 'workbook', workbook cannot be nil.")
106
116
  end
@@ -126,6 +136,7 @@ module AsposeCellsCloud
126
136
  # Check to see if the all the properties in the model are valid
127
137
  # @return true if the model is valid
128
138
  def valid?
139
+ return false if @data_source.nil?
129
140
  return false if @workbook.nil?
130
141
  return false if @sheet_name.nil?
131
142
  return false if @chart_index.nil?
@@ -140,6 +151,7 @@ module AsposeCellsCloud
140
151
  def ==(o)
141
152
  return true if self.equal?(o)
142
153
  self.class == o.class &&
154
+ data_source == o.data_source &&
143
155
  workbook == o.workbook &&
144
156
  sheet_name == o.sheet_name &&
145
157
  chart_index == o.chart_index &&
@@ -158,7 +170,7 @@ module AsposeCellsCloud
158
170
  # Calculates hash code according to all attributes.
159
171
  # @return [Fixnum] Hash code
160
172
  def hash
161
- [ workbook , sheet_name , chart_index , shape_index , cell_name , list_object_index ].hash
173
+ [ data_source , workbook , sheet_name , chart_index , shape_index , cell_name , list_object_index ].hash
162
174
  end
163
175
 
164
176
  # Builds the object from hash