aspose_cells_cloud 24.5 → 24.8

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 (27) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -5
  3. data/lib/aspose_cells_cloud/api/cells_api.rb +23 -1
  4. data/lib/aspose_cells_cloud/api_client.rb +5 -4
  5. data/lib/aspose_cells_cloud/models/abstract_calculation_monitor.rb +3 -3
  6. data/lib/aspose_cells_cloud/models/add_text_options.rb +306 -0
  7. data/lib/aspose_cells_cloud/models/applied_operate.rb +210 -0
  8. data/lib/aspose_cells_cloud/models/{transformation.rb → applied_step.rb} +23 -23
  9. data/lib/aspose_cells_cloud/models/base_operate_options.rb +210 -0
  10. data/lib/aspose_cells_cloud/models/{query_table.rb → data_query.rb} +46 -46
  11. data/lib/aspose_cells_cloud/models/data_transformation_request.rb +26 -14
  12. data/lib/aspose_cells_cloud/models/load_data.rb +11 -47
  13. data/lib/aspose_cells_cloud/models/load_to.rb +3 -3
  14. data/lib/aspose_cells_cloud/models/merge_queries.rb +39 -75
  15. data/lib/aspose_cells_cloud/models/pivot_column.rb +18 -6
  16. data/lib/aspose_cells_cloud/models/{query_data_source.rb → scope_item.rb} +21 -33
  17. data/lib/aspose_cells_cloud/models/scope_options.rb +222 -0
  18. data/lib/aspose_cells_cloud/models/trim_content_options.rb +318 -0
  19. data/lib/aspose_cells_cloud/models/unpivot_column.rb +19 -7
  20. data/lib/aspose_cells_cloud/requests/post_access_token_request.rb +92 -0
  21. data/lib/aspose_cells_cloud/requests/post_add_text_content_request.rb +103 -0
  22. data/lib/aspose_cells_cloud/requests/post_trim_content_request.rb +103 -0
  23. data/lib/aspose_cells_cloud/version.rb +1 -1
  24. data/lib/aspose_cells_cloud.rb +11 -3
  25. data/spec/api/data_processing_controller_spec.rb +34 -0
  26. data/spec/api/text_processing_controller_spec.rb +54 -0
  27. metadata +14 -5
@@ -0,0 +1,222 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="ScopeOptionsrb.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 ScopeOptions
34
+ #
35
+ attr_accessor :scope
36
+ #
37
+ attr_accessor :scope_items
38
+
39
+ # Attribute mapping from ruby-style variable name to JSON key.
40
+ def self.attribute_map
41
+ {
42
+ :'scope' => :'Scope',
43
+ :'scope_items' => :'ScopeItems'
44
+ }
45
+ end
46
+
47
+ # Attribute type mapping.
48
+ def self.swagger_types
49
+ {
50
+ :'scope' => :'String',
51
+ :'scope_items' => :'Array<ScopeItem>'
52
+ }
53
+ end
54
+
55
+ # Initializes the object
56
+ # @param [Hash] attributes Model attributes in the form of hash
57
+ def initialize(attributes = {})
58
+ return unless attributes.is_a?(Hash)
59
+
60
+ # convert string to symbol for hash key
61
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
62
+
63
+ if attributes.has_key?(:'Scope')
64
+ self.scope = attributes[:'Scope']
65
+ end
66
+ if attributes.has_key?(:'ScopeItems')
67
+ self.scope_items = attributes[:'ScopeItems']
68
+ end
69
+
70
+ end
71
+
72
+ # Show invalid properties with the reasons. Usually used together with valid?
73
+ # @return Array for valid properies with the reasons
74
+ def list_invalid_properties
75
+ invalid_properties = Array.new
76
+ if @scope.nil?
77
+ invalid_properties.push("invalid value for 'scope', scope cannot be nil.")
78
+ end
79
+ if @scope_items.nil?
80
+ invalid_properties.push("invalid value for 'scope_items', scope_items cannot be nil.")
81
+ end
82
+
83
+ return invalid_properties
84
+ end
85
+
86
+ # Check to see if the all the properties in the model are valid
87
+ # @return true if the model is valid
88
+ def valid?
89
+ return false if @scope.nil?
90
+ return false if @scope_items.nil?
91
+ return true
92
+ end
93
+
94
+ # Checks equality by comparing each attribute.
95
+ # @param [Object] Object to be compared
96
+ def ==(o)
97
+ return true if self.equal?(o)
98
+ self.class == o.class &&
99
+ scope == o.scope &&
100
+ scope_items == o.scope_items
101
+ std_dev == o.std_dev
102
+ end
103
+
104
+ # @see the `==` method
105
+ # @param [Object] Object to be compared
106
+ def eql?(o)
107
+ self == o
108
+ end
109
+
110
+ # Calculates hash code according to all attributes.
111
+ # @return [Fixnum] Hash code
112
+ def hash
113
+ [ scope , scope_items ].hash
114
+ end
115
+
116
+ # Builds the object from hash
117
+ # @param [Hash] attributes Model attributes in the form of hash
118
+ # @return [Object] Returns the model itself
119
+ def build_from_hash(attributes)
120
+ return nil unless attributes.is_a?(Hash)
121
+ self.class.swagger_types.each_pair do |key, type|
122
+ if type =~ /\AArray<(.*)>/i
123
+ # check to ensure the input is an array given that the the attribute
124
+ # is documented as an array but the input is not
125
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
126
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
127
+ end
128
+ elsif !attributes[self.class.attribute_map[key]].nil?
129
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
130
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
131
+ end
132
+
133
+ self
134
+ end
135
+
136
+ # Deserializes the data based on type
137
+ # @param string type Data type
138
+ # @param string value Value to be deserialized
139
+ # @return [Object] Deserialized data
140
+ def _deserialize(type, value)
141
+ case type.to_sym
142
+ when :DateTime
143
+ DateTime.parse(value)
144
+ when :Date
145
+ Date.parse(value)
146
+ when :String
147
+ value.to_s
148
+ when :Integer
149
+ value.to_i
150
+ when :Float
151
+ value.to_f
152
+ when :BOOLEAN
153
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
154
+ true
155
+ else
156
+ false
157
+ end
158
+ when :Object
159
+ # generic object (usually a Hash), return directly
160
+ value
161
+ when /\AArray<(?<inner_type>.+)>\z/
162
+ inner_type = Regexp.last_match[:inner_type]
163
+ value.map { |v| _deserialize(inner_type, v) }
164
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
165
+ k_type = Regexp.last_match[:k_type]
166
+ v_type = Regexp.last_match[:v_type]
167
+ {}.tap do |hash|
168
+ value.each do |k, v|
169
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
170
+ end
171
+ end
172
+ else # model
173
+ temp_model = AsposeCellsCloud.const_get(type).new
174
+ temp_model.build_from_hash(value)
175
+ end
176
+ end
177
+
178
+ # Returns the string representation of the object
179
+ # @return [String] String presentation of the object
180
+ def to_s
181
+ to_hash.to_s
182
+ end
183
+
184
+ # to_body is an alias to to_hash (backward compatibility)
185
+ # @return [Hash] Returns the object in the form of hash
186
+ def to_body
187
+ to_hash
188
+ end
189
+
190
+ # Returns the object in the form of hash
191
+ # @return [Hash] Returns the object in the form of hash
192
+ def to_hash
193
+ hash = {}
194
+ self.class.attribute_map.each_pair do |attr, param|
195
+ value = self.send(attr)
196
+ next if value.nil?
197
+ hash[param] = _to_hash(value)
198
+ end
199
+ hash
200
+ end
201
+
202
+ # Outputs non-array value in the form of hash
203
+ # For object, use to_hash. Otherwise, just return the value
204
+ # @param [Object] value Any valid value
205
+ # @return [Hash] Returns the value in the form of hash
206
+ def _to_hash(value)
207
+ if value.is_a?(Array)
208
+ value.compact.map{ |v| _to_hash(v) }
209
+ elsif value.is_a?(Hash)
210
+ {}.tap do |hash|
211
+ value.each { |k, v| hash[k] = _to_hash(v) }
212
+ end
213
+ elsif value.respond_to? :to_hash
214
+ value.to_hash
215
+ else
216
+ value
217
+ end
218
+ end
219
+
220
+ end
221
+
222
+ end
@@ -0,0 +1,318 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="TrimContentOptionsrb.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 TrimContentOptions
34
+ #
35
+ attr_accessor :data_source
36
+ #
37
+ attr_accessor :file_info
38
+ #
39
+ attr_accessor :trim_content
40
+ #
41
+ attr_accessor :trim_leading
42
+ #
43
+ attr_accessor :trim_trailing
44
+ #
45
+ attr_accessor :trim_space_between_word_to1
46
+ #
47
+ attr_accessor :trim_non_breaking_spaces
48
+ #
49
+ attr_accessor :remove_extra_line_breaks
50
+ #
51
+ attr_accessor :remove_all_line_breaks
52
+ #
53
+ attr_accessor :scope_options
54
+
55
+ # Attribute mapping from ruby-style variable name to JSON key.
56
+ def self.attribute_map
57
+ {
58
+ :'data_source' => :'DataSource',
59
+ :'file_info' => :'FileInfo',
60
+ :'trim_content' => :'TrimContent',
61
+ :'trim_leading' => :'TrimLeading',
62
+ :'trim_trailing' => :'TrimTrailing',
63
+ :'trim_space_between_word_to1' => :'TrimSpaceBetweenWordTo1',
64
+ :'trim_non_breaking_spaces' => :'TrimNonBreakingSpaces',
65
+ :'remove_extra_line_breaks' => :'RemoveExtraLineBreaks',
66
+ :'remove_all_line_breaks' => :'RemoveAllLineBreaks',
67
+ :'scope_options' => :'ScopeOptions'
68
+ }
69
+ end
70
+
71
+ # Attribute type mapping.
72
+ def self.swagger_types
73
+ {
74
+ :'data_source' => :'DataSource',
75
+ :'file_info' => :'FileInfo',
76
+ :'trim_content' => :'String',
77
+ :'trim_leading' => :'BOOLEAN',
78
+ :'trim_trailing' => :'BOOLEAN',
79
+ :'trim_space_between_word_to1' => :'BOOLEAN',
80
+ :'trim_non_breaking_spaces' => :'BOOLEAN',
81
+ :'remove_extra_line_breaks' => :'BOOLEAN',
82
+ :'remove_all_line_breaks' => :'BOOLEAN',
83
+ :'scope_options' => :'ScopeOptions'
84
+ }
85
+ end
86
+
87
+ # Initializes the object
88
+ # @param [Hash] attributes Model attributes in the form of hash
89
+ def initialize(attributes = {})
90
+ return unless attributes.is_a?(Hash)
91
+
92
+ # convert string to symbol for hash key
93
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
94
+
95
+ if attributes.has_key?(:'DataSource')
96
+ self.data_source = attributes[:'DataSource']
97
+ end
98
+ if attributes.has_key?(:'FileInfo')
99
+ self.file_info = attributes[:'FileInfo']
100
+ end
101
+ if attributes.has_key?(:'TrimContent')
102
+ self.trim_content = attributes[:'TrimContent']
103
+ end
104
+ if attributes.has_key?(:'TrimLeading')
105
+ self.trim_leading = attributes[:'TrimLeading']
106
+ end
107
+ if attributes.has_key?(:'TrimTrailing')
108
+ self.trim_trailing = attributes[:'TrimTrailing']
109
+ end
110
+ if attributes.has_key?(:'TrimSpaceBetweenWordTo1')
111
+ self.trim_space_between_word_to1 = attributes[:'TrimSpaceBetweenWordTo1']
112
+ end
113
+ if attributes.has_key?(:'TrimNonBreakingSpaces')
114
+ self.trim_non_breaking_spaces = attributes[:'TrimNonBreakingSpaces']
115
+ end
116
+ if attributes.has_key?(:'RemoveExtraLineBreaks')
117
+ self.remove_extra_line_breaks = attributes[:'RemoveExtraLineBreaks']
118
+ end
119
+ if attributes.has_key?(:'RemoveAllLineBreaks')
120
+ self.remove_all_line_breaks = attributes[:'RemoveAllLineBreaks']
121
+ end
122
+ if attributes.has_key?(:'ScopeOptions')
123
+ self.scope_options = attributes[:'ScopeOptions']
124
+ end
125
+
126
+ end
127
+
128
+ # Show invalid properties with the reasons. Usually used together with valid?
129
+ # @return Array for valid properies with the reasons
130
+ def list_invalid_properties
131
+ invalid_properties = Array.new
132
+ if @data_source.nil?
133
+ invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
134
+ end
135
+ if @file_info.nil?
136
+ invalid_properties.push("invalid value for 'file_info', file_info cannot be nil.")
137
+ end
138
+ if @trim_content.nil?
139
+ invalid_properties.push("invalid value for 'trim_content', trim_content cannot be nil.")
140
+ end
141
+ if @trim_leading.nil?
142
+ invalid_properties.push("invalid value for 'trim_leading', trim_leading cannot be nil.")
143
+ end
144
+ if @trim_trailing.nil?
145
+ invalid_properties.push("invalid value for 'trim_trailing', trim_trailing cannot be nil.")
146
+ end
147
+ if @trim_space_between_word_to1.nil?
148
+ invalid_properties.push("invalid value for 'trim_space_between_word_to1', trim_space_between_word_to1 cannot be nil.")
149
+ end
150
+ if @trim_non_breaking_spaces.nil?
151
+ invalid_properties.push("invalid value for 'trim_non_breaking_spaces', trim_non_breaking_spaces cannot be nil.")
152
+ end
153
+ if @remove_extra_line_breaks.nil?
154
+ invalid_properties.push("invalid value for 'remove_extra_line_breaks', remove_extra_line_breaks cannot be nil.")
155
+ end
156
+ if @remove_all_line_breaks.nil?
157
+ invalid_properties.push("invalid value for 'remove_all_line_breaks', remove_all_line_breaks cannot be nil.")
158
+ end
159
+ if @scope_options.nil?
160
+ invalid_properties.push("invalid value for 'scope_options', scope_options cannot be nil.")
161
+ end
162
+
163
+ return invalid_properties
164
+ end
165
+
166
+ # Check to see if the all the properties in the model are valid
167
+ # @return true if the model is valid
168
+ def valid?
169
+ return false if @data_source.nil?
170
+ return false if @file_info.nil?
171
+ return false if @trim_content.nil?
172
+ return false if @trim_leading.nil?
173
+ return false if @trim_trailing.nil?
174
+ return false if @trim_space_between_word_to1.nil?
175
+ return false if @trim_non_breaking_spaces.nil?
176
+ return false if @remove_extra_line_breaks.nil?
177
+ return false if @remove_all_line_breaks.nil?
178
+ return false if @scope_options.nil?
179
+ return true
180
+ end
181
+
182
+ # Checks equality by comparing each attribute.
183
+ # @param [Object] Object to be compared
184
+ def ==(o)
185
+ return true if self.equal?(o)
186
+ self.class == o.class &&
187
+ data_source == o.data_source &&
188
+ file_info == o.file_info &&
189
+ trim_content == o.trim_content &&
190
+ trim_leading == o.trim_leading &&
191
+ trim_trailing == o.trim_trailing &&
192
+ trim_space_between_word_to1 == o.trim_space_between_word_to1 &&
193
+ trim_non_breaking_spaces == o.trim_non_breaking_spaces &&
194
+ remove_extra_line_breaks == o.remove_extra_line_breaks &&
195
+ remove_all_line_breaks == o.remove_all_line_breaks &&
196
+ scope_options == o.scope_options
197
+ std_dev == o.std_dev
198
+ end
199
+
200
+ # @see the `==` method
201
+ # @param [Object] Object to be compared
202
+ def eql?(o)
203
+ self == o
204
+ end
205
+
206
+ # Calculates hash code according to all attributes.
207
+ # @return [Fixnum] Hash code
208
+ def hash
209
+ [ data_source , file_info , trim_content , trim_leading , trim_trailing , trim_space_between_word_to1 , trim_non_breaking_spaces , remove_extra_line_breaks , remove_all_line_breaks , scope_options ].hash
210
+ end
211
+
212
+ # Builds the object from hash
213
+ # @param [Hash] attributes Model attributes in the form of hash
214
+ # @return [Object] Returns the model itself
215
+ def build_from_hash(attributes)
216
+ return nil unless attributes.is_a?(Hash)
217
+ self.class.swagger_types.each_pair do |key, type|
218
+ if type =~ /\AArray<(.*)>/i
219
+ # check to ensure the input is an array given that the the attribute
220
+ # is documented as an array but the input is not
221
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
222
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
223
+ end
224
+ elsif !attributes[self.class.attribute_map[key]].nil?
225
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
226
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
227
+ end
228
+
229
+ self
230
+ end
231
+
232
+ # Deserializes the data based on type
233
+ # @param string type Data type
234
+ # @param string value Value to be deserialized
235
+ # @return [Object] Deserialized data
236
+ def _deserialize(type, value)
237
+ case type.to_sym
238
+ when :DateTime
239
+ DateTime.parse(value)
240
+ when :Date
241
+ Date.parse(value)
242
+ when :String
243
+ value.to_s
244
+ when :Integer
245
+ value.to_i
246
+ when :Float
247
+ value.to_f
248
+ when :BOOLEAN
249
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
250
+ true
251
+ else
252
+ false
253
+ end
254
+ when :Object
255
+ # generic object (usually a Hash), return directly
256
+ value
257
+ when /\AArray<(?<inner_type>.+)>\z/
258
+ inner_type = Regexp.last_match[:inner_type]
259
+ value.map { |v| _deserialize(inner_type, v) }
260
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
261
+ k_type = Regexp.last_match[:k_type]
262
+ v_type = Regexp.last_match[:v_type]
263
+ {}.tap do |hash|
264
+ value.each do |k, v|
265
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
266
+ end
267
+ end
268
+ else # model
269
+ temp_model = AsposeCellsCloud.const_get(type).new
270
+ temp_model.build_from_hash(value)
271
+ end
272
+ end
273
+
274
+ # Returns the string representation of the object
275
+ # @return [String] String presentation of the object
276
+ def to_s
277
+ to_hash.to_s
278
+ end
279
+
280
+ # to_body is an alias to to_hash (backward compatibility)
281
+ # @return [Hash] Returns the object in the form of hash
282
+ def to_body
283
+ to_hash
284
+ end
285
+
286
+ # Returns the object in the form of hash
287
+ # @return [Hash] Returns the object in the form of hash
288
+ def to_hash
289
+ hash = {}
290
+ self.class.attribute_map.each_pair do |attr, param|
291
+ value = self.send(attr)
292
+ next if value.nil?
293
+ hash[param] = _to_hash(value)
294
+ end
295
+ hash
296
+ end
297
+
298
+ # Outputs non-array value in the form of hash
299
+ # For object, use to_hash. Otherwise, just return the value
300
+ # @param [Object] value Any valid value
301
+ # @return [Hash] Returns the value in the form of hash
302
+ def _to_hash(value)
303
+ if value.is_a?(Array)
304
+ value.compact.map{ |v| _to_hash(v) }
305
+ elsif value.is_a?(Hash)
306
+ {}.tap do |hash|
307
+ value.each { |k, v| hash[k] = _to_hash(v) }
308
+ end
309
+ elsif value.respond_to? :to_hash
310
+ value.to_hash
311
+ else
312
+ value
313
+ end
314
+ end
315
+
316
+ end
317
+
318
+ end
@@ -31,19 +31,22 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class UnpivotColumn
34
- #
34
+ #Indicates unpivot column names.
35
35
  attr_accessor :unpivot_column_names
36
- #
36
+ #Indicates the column is used to store the name of unpivot columns.
37
37
  attr_accessor :column_map_name
38
- #
38
+ #Indicates the column is used to store the value of unpivot columns.
39
39
  attr_accessor :value_map_name
40
+ #
41
+ attr_accessor :applied_operate_type
40
42
 
41
43
  # Attribute mapping from ruby-style variable name to JSON key.
42
44
  def self.attribute_map
43
45
  {
44
46
  :'unpivot_column_names' => :'UnpivotColumnNames',
45
47
  :'column_map_name' => :'ColumnMapName',
46
- :'value_map_name' => :'ValueMapName'
48
+ :'value_map_name' => :'ValueMapName',
49
+ :'applied_operate_type' => :'AppliedOperateType'
47
50
  }
48
51
  end
49
52
 
@@ -52,7 +55,8 @@ module AsposeCellsCloud
52
55
  {
53
56
  :'unpivot_column_names' => :'Array<String>',
54
57
  :'column_map_name' => :'String',
55
- :'value_map_name' => :'String'
58
+ :'value_map_name' => :'String',
59
+ :'applied_operate_type' => :'String'
56
60
  }
57
61
  end
58
62
 
@@ -73,6 +77,9 @@ module AsposeCellsCloud
73
77
  if attributes.has_key?(:'ValueMapName')
74
78
  self.value_map_name = attributes[:'ValueMapName']
75
79
  end
80
+ if attributes.has_key?(:'AppliedOperateType')
81
+ self.applied_operate_type = attributes[:'AppliedOperateType']
82
+ end
76
83
 
77
84
  end
78
85
 
@@ -89,6 +96,9 @@ module AsposeCellsCloud
89
96
  if @value_map_name.nil?
90
97
  invalid_properties.push("invalid value for 'value_map_name', value_map_name cannot be nil.")
91
98
  end
99
+ if @applied_operate_type.nil?
100
+ invalid_properties.push("invalid value for 'applied_operate_type', applied_operate_type cannot be nil.")
101
+ end
92
102
 
93
103
  return invalid_properties
94
104
  end
@@ -99,6 +109,7 @@ module AsposeCellsCloud
99
109
  return false if @unpivot_column_names.nil?
100
110
  return false if @column_map_name.nil?
101
111
  return false if @value_map_name.nil?
112
+ return false if @applied_operate_type.nil?
102
113
  return true
103
114
  end
104
115
 
@@ -109,7 +120,8 @@ module AsposeCellsCloud
109
120
  self.class == o.class &&
110
121
  unpivot_column_names == o.unpivot_column_names &&
111
122
  column_map_name == o.column_map_name &&
112
- value_map_name == o.value_map_name
123
+ value_map_name == o.value_map_name &&
124
+ applied_operate_type == o.applied_operate_type
113
125
  std_dev == o.std_dev
114
126
  end
115
127
 
@@ -122,7 +134,7 @@ module AsposeCellsCloud
122
134
  # Calculates hash code according to all attributes.
123
135
  # @return [Fixnum] Hash code
124
136
  def hash
125
- [ unpivot_column_names , column_map_name , value_map_name ].hash
137
+ [ unpivot_column_names , column_map_name , value_map_name , applied_operate_type ].hash
126
138
  end
127
139
 
128
140
  # Builds the object from hash