aspose_cells_cloud 24.8 → 24.10

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.
@@ -0,0 +1,246 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="WordCaseOptionsrb.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 WordCaseOptions
34
+ #
35
+ attr_accessor :data_source
36
+ #
37
+ attr_accessor :file_info
38
+ #
39
+ attr_accessor :word_case_type
40
+ #
41
+ attr_accessor :scope_options
42
+
43
+ # Attribute mapping from ruby-style variable name to JSON key.
44
+ def self.attribute_map
45
+ {
46
+ :'data_source' => :'DataSource',
47
+ :'file_info' => :'FileInfo',
48
+ :'word_case_type' => :'WordCaseType',
49
+ :'scope_options' => :'ScopeOptions'
50
+ }
51
+ end
52
+
53
+ # Attribute type mapping.
54
+ def self.swagger_types
55
+ {
56
+ :'data_source' => :'DataSource',
57
+ :'file_info' => :'FileInfo',
58
+ :'word_case_type' => :'String',
59
+ :'scope_options' => :'ScopeOptions'
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?(:'DataSource')
72
+ self.data_source = attributes[:'DataSource']
73
+ end
74
+ if attributes.has_key?(:'FileInfo')
75
+ self.file_info = attributes[:'FileInfo']
76
+ end
77
+ if attributes.has_key?(:'WordCaseType')
78
+ self.word_case_type = attributes[:'WordCaseType']
79
+ end
80
+ if attributes.has_key?(:'ScopeOptions')
81
+ self.scope_options = attributes[:'ScopeOptions']
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 @data_source.nil?
91
+ invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
92
+ end
93
+ if @file_info.nil?
94
+ invalid_properties.push("invalid value for 'file_info', file_info cannot be nil.")
95
+ end
96
+ if @word_case_type.nil?
97
+ invalid_properties.push("invalid value for 'word_case_type', word_case_type cannot be nil.")
98
+ end
99
+ if @scope_options.nil?
100
+ invalid_properties.push("invalid value for 'scope_options', scope_options 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 @data_source.nil?
110
+ return false if @file_info.nil?
111
+ return false if @word_case_type.nil?
112
+ return false if @scope_options.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
+ data_source == o.data_source &&
122
+ file_info == o.file_info &&
123
+ word_case_type == o.word_case_type &&
124
+ scope_options == o.scope_options
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
+ [ data_source , file_info , word_case_type , scope_options ].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,103 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="PostRemoveCharacters_request.rb.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 "uri"
30
+
31
+ module AsposeCellsCloud
32
+ class PostRemoveCharactersRequest
33
+
34
+ attr_accessor :remove_characters_options
35
+
36
+ def initialize(attributes = {})
37
+ return unless attributes.is_a?(Hash)
38
+
39
+ # convert string to symbol for hash key
40
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
41
+
42
+ if attributes.has_key?(:'removeCharactersOptions')
43
+ self.remove_characters_options = attributes[:'removeCharactersOptions']
44
+ end
45
+
46
+ end
47
+ # Attribute mapping from ruby-style variable name to JSON key.
48
+ def self.attribute_map
49
+ {
50
+ :'remove_characters_options' => :'removeCharactersOptions'
51
+ }
52
+ end
53
+
54
+ # Attribute type mapping.
55
+ def self.swagger_types
56
+ {
57
+ :'remove_characters_options' => :'RemoveCharactersOptions'
58
+ }
59
+ end
60
+
61
+ def create_http_request(api_client,opts = {})
62
+ if api_client.config.debugging
63
+ api_client.config.logger.debug "Calling API: CellsApi.post_remove_characters ..."
64
+ end
65
+ api_client.request_token_if_needed
66
+ # verify the required parameter 'remove_characters_options' is set
67
+ if api_client.config.client_side_validation && remove_characters_options.nil?
68
+ fail ArgumentError, "Missing the required parameter 'remove_characters_options' when calling CellsApi.post_remove_characters "
69
+ end
70
+
71
+ # resource path
72
+ local_var_path = "/cells/removecharacters"
73
+ # query parameters
74
+ query_params = {}
75
+ # header parameters
76
+ header_params = {}
77
+ # HTTP header 'Accept' (if needed)
78
+ header_params['Accept'] = api_client.select_header_accept(['application/json'])
79
+ # HTTP header 'Content-Type'
80
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
81
+
82
+ # form parameters
83
+ form_params = {}
84
+ post_body = nil
85
+ post_body = api_client.object_to_http_body(remove_characters_options)
86
+
87
+
88
+ #auth_names = []
89
+ auth_names = ['JWT']
90
+ data, status_code, headers = api_client.call_api(:POST, local_var_path,
91
+ :header_params => header_params,
92
+ :query_params => query_params,
93
+ :form_params => form_params,
94
+ :body => post_body,
95
+ :auth_names => auth_names,
96
+ :return_type => 'FileInfo')
97
+ if api_client.config.debugging
98
+ api_client.config.logger.debug "API called: Specification.Name>Api.post_remove_characters\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
99
+ end
100
+ return data, status_code, headers
101
+ end
102
+ end
103
+ end
@@ -0,0 +1,103 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="PostUpdateWordCase_request.rb.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 "uri"
30
+
31
+ module AsposeCellsCloud
32
+ class PostUpdateWordCaseRequest
33
+
34
+ attr_accessor :word_case_options
35
+
36
+ def initialize(attributes = {})
37
+ return unless attributes.is_a?(Hash)
38
+
39
+ # convert string to symbol for hash key
40
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
41
+
42
+ if attributes.has_key?(:'wordCaseOptions')
43
+ self.word_case_options = attributes[:'wordCaseOptions']
44
+ end
45
+
46
+ end
47
+ # Attribute mapping from ruby-style variable name to JSON key.
48
+ def self.attribute_map
49
+ {
50
+ :'word_case_options' => :'wordCaseOptions'
51
+ }
52
+ end
53
+
54
+ # Attribute type mapping.
55
+ def self.swagger_types
56
+ {
57
+ :'word_case_options' => :'WordCaseOptions'
58
+ }
59
+ end
60
+
61
+ def create_http_request(api_client,opts = {})
62
+ if api_client.config.debugging
63
+ api_client.config.logger.debug "Calling API: CellsApi.post_update_word_case ..."
64
+ end
65
+ api_client.request_token_if_needed
66
+ # verify the required parameter 'word_case_options' is set
67
+ if api_client.config.client_side_validation && word_case_options.nil?
68
+ fail ArgumentError, "Missing the required parameter 'word_case_options' when calling CellsApi.post_update_word_case "
69
+ end
70
+
71
+ # resource path
72
+ local_var_path = "/cells/updatewordcase"
73
+ # query parameters
74
+ query_params = {}
75
+ # header parameters
76
+ header_params = {}
77
+ # HTTP header 'Accept' (if needed)
78
+ header_params['Accept'] = api_client.select_header_accept(['application/json'])
79
+ # HTTP header 'Content-Type'
80
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
81
+
82
+ # form parameters
83
+ form_params = {}
84
+ post_body = nil
85
+ post_body = api_client.object_to_http_body(word_case_options)
86
+
87
+
88
+ #auth_names = []
89
+ auth_names = ['JWT']
90
+ data, status_code, headers = api_client.call_api(:POST, local_var_path,
91
+ :header_params => header_params,
92
+ :query_params => query_params,
93
+ :form_params => form_params,
94
+ :body => post_body,
95
+ :auth_names => auth_names,
96
+ :return_type => 'FileInfo')
97
+ if api_client.config.debugging
98
+ api_client.config.logger.debug "API called: Specification.Name>Api.post_update_word_case\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
99
+ end
100
+ return data, status_code, headers
101
+ end
102
+ end
103
+ end
@@ -41,6 +41,8 @@ module AsposeCellsCloud
41
41
  attr_accessor :region
42
42
  attr_accessor :page_wide_fit_on_per_sheet
43
43
  attr_accessor :page_tall_fit_on_per_sheet
44
+ attr_accessor :sheet_name
45
+ attr_accessor :page_index
44
46
 
45
47
  def initialize(attributes = {})
46
48
  return unless attributes.is_a?(Hash)
@@ -78,6 +80,12 @@ module AsposeCellsCloud
78
80
  if attributes.has_key?(:'pageTallFitOnPerSheet')
79
81
  self.page_tall_fit_on_per_sheet = attributes[:'pageTallFitOnPerSheet']
80
82
  end
83
+ if attributes.has_key?(:'sheetName')
84
+ self.sheet_name = attributes[:'sheetName']
85
+ end
86
+ if attributes.has_key?(:'pageIndex')
87
+ self.page_index = attributes[:'pageIndex']
88
+ end
81
89
 
82
90
  end
83
91
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -92,7 +100,9 @@ module AsposeCellsCloud
92
100
  :'stream_format' => :'streamFormat',
93
101
  :'region' => :'region',
94
102
  :'page_wide_fit_on_per_sheet' => :'pageWideFitOnPerSheet',
95
- :'page_tall_fit_on_per_sheet' => :'pageTallFitOnPerSheet'
103
+ :'page_tall_fit_on_per_sheet' => :'pageTallFitOnPerSheet',
104
+ :'sheet_name' => :'sheetName',
105
+ :'page_index' => :'pageIndex'
96
106
  }
97
107
  end
98
108
 
@@ -108,7 +118,9 @@ module AsposeCellsCloud
108
118
  :'stream_format' => :'String',
109
119
  :'region' => :'String',
110
120
  :'page_wide_fit_on_per_sheet' => :'BOOLEAN',
111
- :'page_tall_fit_on_per_sheet' => :'BOOLEAN'
121
+ :'page_tall_fit_on_per_sheet' => :'BOOLEAN',
122
+ :'sheet_name' => :'String',
123
+ :'page_index' => :'Integer'
112
124
  }
113
125
  end
114
126
 
@@ -135,6 +147,8 @@ module AsposeCellsCloud
135
147
  query_params[:'region'] = self.region if !self.region.nil?
136
148
  query_params[:'pageWideFitOnPerSheet'] = self.page_wide_fit_on_per_sheet if !self.page_wide_fit_on_per_sheet.nil?
137
149
  query_params[:'pageTallFitOnPerSheet'] = self.page_tall_fit_on_per_sheet if !self.page_tall_fit_on_per_sheet.nil?
150
+ query_params[:'sheetName'] = self.sheet_name if !self.sheet_name.nil?
151
+ query_params[:'pageIndex'] = self.page_index if !self.page_index.nil?
138
152
 
139
153
  # header parameters
140
154
  header_params = {}
@@ -33,6 +33,7 @@ module AsposeCellsCloud
33
33
 
34
34
  attr_accessor :name
35
35
  attr_accessor :pic_path
36
+ attr_accessor :image_adapt_option
36
37
  attr_accessor :folder
37
38
  attr_accessor :storage_name
38
39
  attr_accessor :file
@@ -49,6 +50,9 @@ module AsposeCellsCloud
49
50
  if attributes.has_key?(:'picPath')
50
51
  self.pic_path = attributes[:'picPath']
51
52
  end
53
+ if attributes.has_key?(:'imageAdaptOption')
54
+ self.image_adapt_option = attributes[:'imageAdaptOption']
55
+ end
52
56
  if attributes.has_key?(:'folder')
53
57
  self.folder = attributes[:'folder']
54
58
  end
@@ -65,6 +69,7 @@ module AsposeCellsCloud
65
69
  {
66
70
  :'name' => :'name',
67
71
  :'pic_path' => :'picPath',
72
+ :'image_adapt_option' => :'imageAdaptOption',
68
73
  :'folder' => :'folder',
69
74
  :'storage_name' => :'storageName',
70
75
  :'file' => :'File'
@@ -76,6 +81,7 @@ module AsposeCellsCloud
76
81
  {
77
82
  :'name' => :'String',
78
83
  :'pic_path' => :'String',
84
+ :'image_adapt_option' => :'String',
79
85
  :'folder' => :'String',
80
86
  :'storage_name' => :'String',
81
87
  :'file' => :'Hash'
@@ -97,6 +103,7 @@ module AsposeCellsCloud
97
103
  # query parameters
98
104
  query_params = {}
99
105
  query_params[:'picPath'] = self.pic_path if !self.pic_path.nil?
106
+ query_params[:'imageAdaptOption'] = self.image_adapt_option if !self.image_adapt_option.nil?
100
107
  query_params[:'folder'] = self.folder if !self.folder.nil?
101
108
  query_params[:'storageName'] = self.storage_name if !self.storage_name.nil?
102
109
 
@@ -34,6 +34,7 @@ module AsposeCellsCloud
34
34
  attr_accessor :name
35
35
  attr_accessor :sheet_name
36
36
  attr_accessor :pic_path
37
+ attr_accessor :image_adapt_option
37
38
  attr_accessor :folder
38
39
  attr_accessor :storage_name
39
40
  attr_accessor :file
@@ -53,6 +54,9 @@ module AsposeCellsCloud
53
54
  if attributes.has_key?(:'picPath')
54
55
  self.pic_path = attributes[:'picPath']
55
56
  end
57
+ if attributes.has_key?(:'imageAdaptOption')
58
+ self.image_adapt_option = attributes[:'imageAdaptOption']
59
+ end
56
60
  if attributes.has_key?(:'folder')
57
61
  self.folder = attributes[:'folder']
58
62
  end
@@ -70,6 +74,7 @@ module AsposeCellsCloud
70
74
  :'name' => :'name',
71
75
  :'sheet_name' => :'sheetName',
72
76
  :'pic_path' => :'picPath',
77
+ :'image_adapt_option' => :'imageAdaptOption',
73
78
  :'folder' => :'folder',
74
79
  :'storage_name' => :'storageName',
75
80
  :'file' => :'File'
@@ -82,6 +87,7 @@ module AsposeCellsCloud
82
87
  :'name' => :'String',
83
88
  :'sheet_name' => :'String',
84
89
  :'pic_path' => :'String',
90
+ :'image_adapt_option' => :'String',
85
91
  :'folder' => :'String',
86
92
  :'storage_name' => :'String',
87
93
  :'file' => :'Hash'
@@ -107,6 +113,7 @@ module AsposeCellsCloud
107
113
  # query parameters
108
114
  query_params = {}
109
115
  query_params[:'picPath'] = self.pic_path if !self.pic_path.nil?
116
+ query_params[:'imageAdaptOption'] = self.image_adapt_option if !self.image_adapt_option.nil?
110
117
  query_params[:'folder'] = self.folder if !self.folder.nil?
111
118
  query_params[:'storageName'] = self.storage_name if !self.storage_name.nil?
112
119
 
@@ -27,5 +27,5 @@
27
27
 
28
28
 
29
29
  module AsposeCellsCloud
30
- VERSION = "24.8"
30
+ VERSION = "24.10"
31
31
  end
@@ -351,9 +351,13 @@ require 'aspose_cells_cloud/models/pivot_table'
351
351
  require 'aspose_cells_cloud/models/pivot_tables'
352
352
  require 'aspose_cells_cloud/models/add_text_options'
353
353
  require 'aspose_cells_cloud/models/base_operate_options'
354
+ require 'aspose_cells_cloud/models/remove_characters_by_character'
355
+ require 'aspose_cells_cloud/models/remove_characters_by_position'
356
+ require 'aspose_cells_cloud/models/remove_characters_options'
354
357
  require 'aspose_cells_cloud/models/scope_item'
355
358
  require 'aspose_cells_cloud/models/scope_options'
356
359
  require 'aspose_cells_cloud/models/trim_content_options'
360
+ require 'aspose_cells_cloud/models/word_case_options'
357
361
  require 'aspose_cells_cloud/models/cell_value'
358
362
  require 'aspose_cells_cloud/models/custom_parser_config'
359
363
  require 'aspose_cells_cloud/models/import2_dimension_double_array_option'
@@ -704,6 +708,8 @@ require 'aspose_cells_cloud/requests/post_worksheet_sparkline_group_request'
704
708
  require 'aspose_cells_cloud/requests/post_run_task_request'
705
709
  require 'aspose_cells_cloud/requests/post_add_text_content_request'
706
710
  require 'aspose_cells_cloud/requests/post_trim_content_request'
711
+ require 'aspose_cells_cloud/requests/post_update_word_case_request'
712
+ require 'aspose_cells_cloud/requests/post_remove_characters_request'
707
713
  require 'aspose_cells_cloud/requests/get_workbook_default_style_request'
708
714
  require 'aspose_cells_cloud/requests/get_workbook_text_items_request'
709
715
  require 'aspose_cells_cloud/requests/get_workbook_names_request'
@@ -45,7 +45,9 @@ describe 'CellsApi' do
45
45
 
46
46
  uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
47
47
  @instance.upload_file(uploadrequest)
48
- deduplicationRegion = AsposeCellsCloud::DeduplicationRegion.new();
48
+ deduplicationRegionRanges = [
49
+ ];
50
+ deduplicationRegion = AsposeCellsCloud::DeduplicationRegion.new(:Ranges=>deduplicationRegionRanges );
49
51
  request = AsposeCellsCloud::PostWorkbookDataDeduplicationRequest.new(:name=>remote_name,:deduplicationRegion=>deduplicationRegion,:folder=>remote_folder,:storageName=>'');
50
52
  @instance.post_workbook_data_deduplication(request);
51
53
  end
@@ -66,40 +66,4 @@ describe 'CellsApi' do
66
66
  @instance.copy_file(request);
67
67
  end
68
68
  end
69
-
70
- describe 'move_file test' do
71
- it "should work" do
72
- remote_folder = 'TestData/In'
73
-
74
- local_name = 'Book1.xlsx'
75
- remote_name = 'Book1.xlsx'
76
-
77
-
78
- mapFiles = { }
79
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
80
-
81
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
82
- @instance.upload_file(uploadrequest)
83
- request = AsposeCellsCloud::MoveFileRequest.new(:srcPath=>remote_folder + '/' + remote_name,:destPath=>'OutResult/' + remote_name,:srcStorageName=>'',:destStorageName=>'',:versionId=>'');
84
- @instance.move_file(request);
85
- end
86
- end
87
-
88
- describe 'delete_file test' do
89
- it "should work" do
90
- remote_folder = 'TestData/In'
91
-
92
- local_name = 'Book1.xlsx'
93
- remote_name = 'Book1.xlsx'
94
-
95
-
96
- mapFiles = { }
97
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
98
-
99
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
100
- @instance.upload_file(uploadrequest)
101
- request = AsposeCellsCloud::DeleteFileRequest.new(:path=>remote_folder + '/' + remote_name,:storageName=>'',:versionId=>'');
102
- @instance.delete_file(request);
103
- end
104
- end
105
69
  end