aspose_cells_cloud 26.9 → 26.10.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 (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +39 -31
  3. data/lib/aspose_cells_cloud/api/cells_api.rb +92 -7
  4. data/lib/aspose_cells_cloud/models/shared_drive_info.rb +222 -0
  5. data/lib/aspose_cells_cloud/requests/aggregate_cells_by_color__deprecated_request.rb +155 -0
  6. data/lib/aspose_cells_cloud/requests/aggregate_cells_by_color_request.rb +1 -1
  7. data/lib/aspose_cells_cloud/requests/search_all_text_items_in_remote_spreadsheet__legacy_put_request.rb +138 -0
  8. data/lib/aspose_cells_cloud/requests/search_all_text_items_in_remote_spreadsheet_request.rb +1 -1
  9. data/lib/aspose_cells_cloud/requests/search_broken_links_in_remote_range__legacy_put_request.rb +156 -0
  10. data/lib/aspose_cells_cloud/requests/search_broken_links_in_remote_range_request.rb +1 -1
  11. data/lib/aspose_cells_cloud/requests/search_broken_links_in_remote_spreadsheet__legacy_put_request.rb +150 -0
  12. data/lib/aspose_cells_cloud/requests/search_broken_links_in_remote_spreadsheet_request.rb +1 -1
  13. data/lib/aspose_cells_cloud/requests/search_broken_links_in_remote_worksheet__legacy_put_request.rb +145 -0
  14. data/lib/aspose_cells_cloud/requests/search_broken_links_in_remote_worksheet_request.rb +1 -1
  15. data/lib/aspose_cells_cloud/requests/search_content_in_remote_range__legacy_put_request.rb +176 -0
  16. data/lib/aspose_cells_cloud/requests/search_content_in_remote_range_request.rb +1 -1
  17. data/lib/aspose_cells_cloud/requests/search_content_in_remote_spreadsheet__legacy_put_request.rb +154 -0
  18. data/lib/aspose_cells_cloud/requests/search_content_in_remote_spreadsheet_request.rb +1 -1
  19. data/lib/aspose_cells_cloud/requests/search_content_in_remote_worksheet__legacy_put_request.rb +165 -0
  20. data/lib/aspose_cells_cloud/requests/search_content_in_remote_worksheet_request.rb +1 -1
  21. data/lib/aspose_cells_cloud/version.rb +1 -1
  22. data/lib/aspose_cells_cloud.rb +9 -0
  23. metadata +12 -11
  24. data/spec/client_spec.rb +0 -114
  25. data/spec/configuration_spec.rb +0 -61
  26. data/spec/form_file_spec.rb +0 -47
  27. data/spec/model_spec.rb +0 -73
  28. data/spec/request_spec.rb +0 -87
  29. data/spec/rich_response_spec.rb +0 -46
  30. data/spec/sdk_error_spec.rb +0 -27
  31. data/spec/spec_helper.rb +0 -21
@@ -0,0 +1,145 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="SearchBrokenLinksInRemoteWorksheet_LegacyPut_request.rb.cs">
4
+ Copyright (c) 2026 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 SearchBrokenLinksInRemoteWorksheet_LegacyPutRequest
33
+
34
+ attr_accessor :name
35
+ attr_accessor :worksheet
36
+ attr_accessor :folder
37
+ attr_accessor :storage_name
38
+ attr_accessor :region
39
+ attr_accessor :password
40
+
41
+ def initialize(attributes = {})
42
+ return unless attributes.is_a?(Hash)
43
+
44
+ # convert string to symbol for hash key
45
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
46
+
47
+ if attributes.has_key?(:'name')
48
+ self.name = attributes[:'name']
49
+ end
50
+
51
+ if attributes.has_key?(:'worksheet')
52
+ self.worksheet = attributes[:'worksheet']
53
+ end
54
+
55
+ if attributes.has_key?(:'folder')
56
+ self.folder = attributes[:'folder']
57
+ end
58
+
59
+ if attributes.has_key?(:'storageName')
60
+ self.storage_name = attributes[:'storageName']
61
+ end
62
+
63
+ if attributes.has_key?(:'region')
64
+ self.region = attributes[:'region']
65
+ end
66
+
67
+ if attributes.has_key?(:'password')
68
+ self.password = attributes[:'password']
69
+ end
70
+
71
+ end
72
+ # Attribute mapping from ruby-style variable name to JSON key.
73
+ def self.attribute_map
74
+ {
75
+ :'name' => :'name',
76
+ :'worksheet' => :'worksheet',
77
+ :'folder' => :'folder',
78
+ :'storage_name' => :'storageName',
79
+ :'region' => :'region',
80
+ :'password' => :'password'
81
+ }
82
+ end
83
+
84
+ # Attribute type mapping.
85
+ def self.swagger_types
86
+ {
87
+ :'name' => :'String',
88
+ :'worksheet' => :'String',
89
+ :'folder' => :'String',
90
+ :'storage_name' => :'String',
91
+ :'region' => :'String',
92
+ :'password' => :'String'
93
+ }
94
+ end
95
+
96
+ def create_http_request(api_client,opts = {})
97
+ if api_client.config.debugging
98
+ api_client.config.logger.debug "Calling API: CellsApi.search_broken_links_in_remote_worksheet__legacy_put ..."
99
+ end
100
+ api_client.request_token_if_needed
101
+ # verify the required parameter 'name' is set
102
+ if api_client.config.client_side_validation && name.nil?
103
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.search_broken_links_in_remote_worksheet__legacy_put "
104
+ end
105
+ # verify the required parameter 'worksheet' is set
106
+ if api_client.config.client_side_validation && worksheet.nil?
107
+ fail ArgumentError, "Missing the required parameter 'worksheet' when calling CellsApi.search_broken_links_in_remote_worksheet__legacy_put "
108
+ end
109
+
110
+ # resource path
111
+ local_var_path = "v4.0/cells/{name}/worksheets/{worksheet}/search/broken-links".sub('{' + 'name' + '}', name.to_s).sub('{' + 'worksheet' + '}', worksheet.to_s)
112
+ # query parameters
113
+ query_params = {}
114
+ query_params[:'folder'] = self.folder if !self.folder.nil?
115
+ query_params[:'storageName'] = self.storage_name if !self.storage_name.nil?
116
+ query_params[:'region'] = self.region if !self.region.nil?
117
+ query_params[:'password'] = self.password if !self.password.nil?
118
+
119
+ # header parameters
120
+ header_params = {}
121
+ # HTTP header 'Accept' (if needed)
122
+ header_params['Accept'] = api_client.select_header_accept(['application/json'])
123
+ # HTTP header 'Content-Type'
124
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
125
+
126
+ # form parameters
127
+ form_params = {}
128
+ post_body = nil
129
+
130
+ #auth_names = []
131
+ auth_names = ['JWT']
132
+ data, status_code, headers = api_client.call_api(:PUT, local_var_path,
133
+ :header_params => header_params,
134
+ :query_params => query_params,
135
+ :form_params => form_params,
136
+ :body => post_body,
137
+ :auth_names => auth_names,
138
+ :return_type => 'BrokenLinksResponse')
139
+ if api_client.config.debugging
140
+ api_client.config.logger.debug "API called: Specification.Name>Api.search_broken_links_in_remote_worksheet__legacy_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
141
+ end
142
+ return data, status_code, headers
143
+ end
144
+ end
145
+ end
@@ -129,7 +129,7 @@ module AsposeCellsCloud
129
129
 
130
130
  #auth_names = []
131
131
  auth_names = ['JWT']
132
- data, status_code, headers = api_client.call_api(:PUT, local_var_path,
132
+ data, status_code, headers = api_client.call_api(:GET, local_var_path,
133
133
  :header_params => header_params,
134
134
  :query_params => query_params,
135
135
  :form_params => form_params,
@@ -0,0 +1,176 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="SearchContentInRemoteRange_LegacyPut_request.rb.cs">
4
+ Copyright (c) 2026 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 SearchContentInRemoteRange_LegacyPutRequest
33
+
34
+ attr_accessor :name
35
+ attr_accessor :worksheet
36
+ attr_accessor :cell_area
37
+ attr_accessor :search_text
38
+ attr_accessor :ignoring_case
39
+ attr_accessor :folder
40
+ attr_accessor :storage_name
41
+ attr_accessor :region
42
+ attr_accessor :password
43
+
44
+ def initialize(attributes = {})
45
+ return unless attributes.is_a?(Hash)
46
+
47
+ # convert string to symbol for hash key
48
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
49
+
50
+ if attributes.has_key?(:'name')
51
+ self.name = attributes[:'name']
52
+ end
53
+
54
+ if attributes.has_key?(:'worksheet')
55
+ self.worksheet = attributes[:'worksheet']
56
+ end
57
+
58
+ if attributes.has_key?(:'cellArea')
59
+ self.cell_area = attributes[:'cellArea']
60
+ end
61
+
62
+ if attributes.has_key?(:'searchText')
63
+ self.search_text = attributes[:'searchText']
64
+ end
65
+
66
+ if attributes.has_key?(:'ignoringCase')
67
+ self.ignoring_case = attributes[:'ignoringCase']
68
+ end
69
+
70
+ if attributes.has_key?(:'folder')
71
+ self.folder = attributes[:'folder']
72
+ end
73
+
74
+ if attributes.has_key?(:'storageName')
75
+ self.storage_name = attributes[:'storageName']
76
+ end
77
+
78
+ if attributes.has_key?(:'region')
79
+ self.region = attributes[:'region']
80
+ end
81
+
82
+ if attributes.has_key?(:'password')
83
+ self.password = attributes[:'password']
84
+ end
85
+
86
+ end
87
+ # Attribute mapping from ruby-style variable name to JSON key.
88
+ def self.attribute_map
89
+ {
90
+ :'name' => :'name',
91
+ :'worksheet' => :'worksheet',
92
+ :'cell_area' => :'cellArea',
93
+ :'search_text' => :'searchText',
94
+ :'ignoring_case' => :'ignoringCase',
95
+ :'folder' => :'folder',
96
+ :'storage_name' => :'storageName',
97
+ :'region' => :'region',
98
+ :'password' => :'password'
99
+ }
100
+ end
101
+
102
+ # Attribute type mapping.
103
+ def self.swagger_types
104
+ {
105
+ :'name' => :'String',
106
+ :'worksheet' => :'String',
107
+ :'cell_area' => :'String',
108
+ :'search_text' => :'String',
109
+ :'ignoring_case' => :'BOOLEAN',
110
+ :'folder' => :'String',
111
+ :'storage_name' => :'String',
112
+ :'region' => :'String',
113
+ :'password' => :'String'
114
+ }
115
+ end
116
+
117
+ def create_http_request(api_client,opts = {})
118
+ if api_client.config.debugging
119
+ api_client.config.logger.debug "Calling API: CellsApi.search_content_in_remote_range__legacy_put ..."
120
+ end
121
+ api_client.request_token_if_needed
122
+ # verify the required parameter 'name' is set
123
+ if api_client.config.client_side_validation && name.nil?
124
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.search_content_in_remote_range__legacy_put "
125
+ end
126
+ # verify the required parameter 'worksheet' is set
127
+ if api_client.config.client_side_validation && worksheet.nil?
128
+ fail ArgumentError, "Missing the required parameter 'worksheet' when calling CellsApi.search_content_in_remote_range__legacy_put "
129
+ end
130
+ # verify the required parameter 'cell_area' is set
131
+ if api_client.config.client_side_validation && cell_area.nil?
132
+ fail ArgumentError, "Missing the required parameter 'cell_area' when calling CellsApi.search_content_in_remote_range__legacy_put "
133
+ end
134
+ # verify the required parameter 'search_text' is set
135
+ if api_client.config.client_side_validation && search_text.nil?
136
+ fail ArgumentError, "Missing the required parameter 'search_text' when calling CellsApi.search_content_in_remote_range__legacy_put "
137
+ end
138
+
139
+ # resource path
140
+ local_var_path = "v4.0/cells/{name}/worksheets/{worksheet}/ranges/{cellArea}/search/content".sub('{' + 'name' + '}', name.to_s).sub('{' + 'worksheet' + '}', worksheet.to_s).sub('{' + 'cellArea' + '}', cell_area.to_s)
141
+ # query parameters
142
+ query_params = {}
143
+ query_params[:'searchText'] = self.search_text if !self.search_text.nil?
144
+ query_params[:'ignoringCase'] = self.ignoring_case if !self.ignoring_case.nil?
145
+ query_params[:'folder'] = self.folder if !self.folder.nil?
146
+ query_params[:'storageName'] = self.storage_name if !self.storage_name.nil?
147
+ query_params[:'region'] = self.region if !self.region.nil?
148
+ query_params[:'password'] = self.password if !self.password.nil?
149
+
150
+ # header parameters
151
+ header_params = {}
152
+ # HTTP header 'Accept' (if needed)
153
+ header_params['Accept'] = api_client.select_header_accept(['application/json'])
154
+ # HTTP header 'Content-Type'
155
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
156
+
157
+ # form parameters
158
+ form_params = {}
159
+ post_body = nil
160
+
161
+ #auth_names = []
162
+ auth_names = ['JWT']
163
+ data, status_code, headers = api_client.call_api(:PUT, local_var_path,
164
+ :header_params => header_params,
165
+ :query_params => query_params,
166
+ :form_params => form_params,
167
+ :body => post_body,
168
+ :auth_names => auth_names,
169
+ :return_type => 'SearchResponse')
170
+ if api_client.config.debugging
171
+ api_client.config.logger.debug "API called: Specification.Name>Api.search_content_in_remote_range__legacy_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
172
+ end
173
+ return data, status_code, headers
174
+ end
175
+ end
176
+ end
@@ -160,7 +160,7 @@ module AsposeCellsCloud
160
160
 
161
161
  #auth_names = []
162
162
  auth_names = ['JWT']
163
- data, status_code, headers = api_client.call_api(:PUT, local_var_path,
163
+ data, status_code, headers = api_client.call_api(:GET, local_var_path,
164
164
  :header_params => header_params,
165
165
  :query_params => query_params,
166
166
  :form_params => form_params,
@@ -0,0 +1,154 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="SearchContentInRemoteSpreadsheet_LegacyPut_request.rb.cs">
4
+ Copyright (c) 2026 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 SearchContentInRemoteSpreadsheet_LegacyPutRequest
33
+
34
+ attr_accessor :name
35
+ attr_accessor :search_text
36
+ attr_accessor :ignoring_case
37
+ attr_accessor :folder
38
+ attr_accessor :storage_name
39
+ attr_accessor :region
40
+ attr_accessor :password
41
+
42
+ def initialize(attributes = {})
43
+ return unless attributes.is_a?(Hash)
44
+
45
+ # convert string to symbol for hash key
46
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
47
+
48
+ if attributes.has_key?(:'name')
49
+ self.name = attributes[:'name']
50
+ end
51
+
52
+ if attributes.has_key?(:'searchText')
53
+ self.search_text = attributes[:'searchText']
54
+ end
55
+
56
+ if attributes.has_key?(:'ignoringCase')
57
+ self.ignoring_case = attributes[:'ignoringCase']
58
+ end
59
+
60
+ if attributes.has_key?(:'folder')
61
+ self.folder = attributes[:'folder']
62
+ end
63
+
64
+ if attributes.has_key?(:'storageName')
65
+ self.storage_name = attributes[:'storageName']
66
+ end
67
+
68
+ if attributes.has_key?(:'region')
69
+ self.region = attributes[:'region']
70
+ end
71
+
72
+ if attributes.has_key?(:'password')
73
+ self.password = attributes[:'password']
74
+ end
75
+
76
+ end
77
+ # Attribute mapping from ruby-style variable name to JSON key.
78
+ def self.attribute_map
79
+ {
80
+ :'name' => :'name',
81
+ :'search_text' => :'searchText',
82
+ :'ignoring_case' => :'ignoringCase',
83
+ :'folder' => :'folder',
84
+ :'storage_name' => :'storageName',
85
+ :'region' => :'region',
86
+ :'password' => :'password'
87
+ }
88
+ end
89
+
90
+ # Attribute type mapping.
91
+ def self.swagger_types
92
+ {
93
+ :'name' => :'String',
94
+ :'search_text' => :'String',
95
+ :'ignoring_case' => :'BOOLEAN',
96
+ :'folder' => :'String',
97
+ :'storage_name' => :'String',
98
+ :'region' => :'String',
99
+ :'password' => :'String'
100
+ }
101
+ end
102
+
103
+ def create_http_request(api_client,opts = {})
104
+ if api_client.config.debugging
105
+ api_client.config.logger.debug "Calling API: CellsApi.search_content_in_remote_spreadsheet__legacy_put ..."
106
+ end
107
+ api_client.request_token_if_needed
108
+ # verify the required parameter 'name' is set
109
+ if api_client.config.client_side_validation && name.nil?
110
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.search_content_in_remote_spreadsheet__legacy_put "
111
+ end
112
+ # verify the required parameter 'search_text' is set
113
+ if api_client.config.client_side_validation && search_text.nil?
114
+ fail ArgumentError, "Missing the required parameter 'search_text' when calling CellsApi.search_content_in_remote_spreadsheet__legacy_put "
115
+ end
116
+
117
+ # resource path
118
+ local_var_path = "v4.0/cells/{name}/search/content".sub('{' + 'name' + '}', name.to_s)
119
+ # query parameters
120
+ query_params = {}
121
+ query_params[:'searchText'] = self.search_text if !self.search_text.nil?
122
+ query_params[:'ignoringCase'] = self.ignoring_case if !self.ignoring_case.nil?
123
+ query_params[:'folder'] = self.folder if !self.folder.nil?
124
+ query_params[:'storageName'] = self.storage_name if !self.storage_name.nil?
125
+ query_params[:'region'] = self.region if !self.region.nil?
126
+ query_params[:'password'] = self.password if !self.password.nil?
127
+
128
+ # header parameters
129
+ header_params = {}
130
+ # HTTP header 'Accept' (if needed)
131
+ header_params['Accept'] = api_client.select_header_accept(['application/json'])
132
+ # HTTP header 'Content-Type'
133
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
134
+
135
+ # form parameters
136
+ form_params = {}
137
+ post_body = nil
138
+
139
+ #auth_names = []
140
+ auth_names = ['JWT']
141
+ data, status_code, headers = api_client.call_api(:PUT, local_var_path,
142
+ :header_params => header_params,
143
+ :query_params => query_params,
144
+ :form_params => form_params,
145
+ :body => post_body,
146
+ :auth_names => auth_names,
147
+ :return_type => 'SearchResponse')
148
+ if api_client.config.debugging
149
+ api_client.config.logger.debug "API called: Specification.Name>Api.search_content_in_remote_spreadsheet__legacy_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
150
+ end
151
+ return data, status_code, headers
152
+ end
153
+ end
154
+ end
@@ -138,7 +138,7 @@ module AsposeCellsCloud
138
138
 
139
139
  #auth_names = []
140
140
  auth_names = ['JWT']
141
- data, status_code, headers = api_client.call_api(:PUT, local_var_path,
141
+ data, status_code, headers = api_client.call_api(:GET, local_var_path,
142
142
  :header_params => header_params,
143
143
  :query_params => query_params,
144
144
  :form_params => form_params,
@@ -0,0 +1,165 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="SearchContentInRemoteWorksheet_LegacyPut_request.rb.cs">
4
+ Copyright (c) 2026 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 SearchContentInRemoteWorksheet_LegacyPutRequest
33
+
34
+ attr_accessor :name
35
+ attr_accessor :worksheet
36
+ attr_accessor :search_text
37
+ attr_accessor :ignoring_case
38
+ attr_accessor :folder
39
+ attr_accessor :storage_name
40
+ attr_accessor :region
41
+ attr_accessor :password
42
+
43
+ def initialize(attributes = {})
44
+ return unless attributes.is_a?(Hash)
45
+
46
+ # convert string to symbol for hash key
47
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
48
+
49
+ if attributes.has_key?(:'name')
50
+ self.name = attributes[:'name']
51
+ end
52
+
53
+ if attributes.has_key?(:'worksheet')
54
+ self.worksheet = attributes[:'worksheet']
55
+ end
56
+
57
+ if attributes.has_key?(:'searchText')
58
+ self.search_text = attributes[:'searchText']
59
+ end
60
+
61
+ if attributes.has_key?(:'ignoringCase')
62
+ self.ignoring_case = attributes[:'ignoringCase']
63
+ end
64
+
65
+ if attributes.has_key?(:'folder')
66
+ self.folder = attributes[:'folder']
67
+ end
68
+
69
+ if attributes.has_key?(:'storageName')
70
+ self.storage_name = attributes[:'storageName']
71
+ end
72
+
73
+ if attributes.has_key?(:'region')
74
+ self.region = attributes[:'region']
75
+ end
76
+
77
+ if attributes.has_key?(:'password')
78
+ self.password = attributes[:'password']
79
+ end
80
+
81
+ end
82
+ # Attribute mapping from ruby-style variable name to JSON key.
83
+ def self.attribute_map
84
+ {
85
+ :'name' => :'name',
86
+ :'worksheet' => :'worksheet',
87
+ :'search_text' => :'searchText',
88
+ :'ignoring_case' => :'ignoringCase',
89
+ :'folder' => :'folder',
90
+ :'storage_name' => :'storageName',
91
+ :'region' => :'region',
92
+ :'password' => :'password'
93
+ }
94
+ end
95
+
96
+ # Attribute type mapping.
97
+ def self.swagger_types
98
+ {
99
+ :'name' => :'String',
100
+ :'worksheet' => :'String',
101
+ :'search_text' => :'String',
102
+ :'ignoring_case' => :'BOOLEAN',
103
+ :'folder' => :'String',
104
+ :'storage_name' => :'String',
105
+ :'region' => :'String',
106
+ :'password' => :'String'
107
+ }
108
+ end
109
+
110
+ def create_http_request(api_client,opts = {})
111
+ if api_client.config.debugging
112
+ api_client.config.logger.debug "Calling API: CellsApi.search_content_in_remote_worksheet__legacy_put ..."
113
+ end
114
+ api_client.request_token_if_needed
115
+ # verify the required parameter 'name' is set
116
+ if api_client.config.client_side_validation && name.nil?
117
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.search_content_in_remote_worksheet__legacy_put "
118
+ end
119
+ # verify the required parameter 'worksheet' is set
120
+ if api_client.config.client_side_validation && worksheet.nil?
121
+ fail ArgumentError, "Missing the required parameter 'worksheet' when calling CellsApi.search_content_in_remote_worksheet__legacy_put "
122
+ end
123
+ # verify the required parameter 'search_text' is set
124
+ if api_client.config.client_side_validation && search_text.nil?
125
+ fail ArgumentError, "Missing the required parameter 'search_text' when calling CellsApi.search_content_in_remote_worksheet__legacy_put "
126
+ end
127
+
128
+ # resource path
129
+ local_var_path = "v4.0/cells/{name}/worksheets/{worksheet}/search/content".sub('{' + 'name' + '}', name.to_s).sub('{' + 'worksheet' + '}', worksheet.to_s)
130
+ # query parameters
131
+ query_params = {}
132
+ query_params[:'searchText'] = self.search_text if !self.search_text.nil?
133
+ query_params[:'ignoringCase'] = self.ignoring_case if !self.ignoring_case.nil?
134
+ query_params[:'folder'] = self.folder if !self.folder.nil?
135
+ query_params[:'storageName'] = self.storage_name if !self.storage_name.nil?
136
+ query_params[:'region'] = self.region if !self.region.nil?
137
+ query_params[:'password'] = self.password if !self.password.nil?
138
+
139
+ # header parameters
140
+ header_params = {}
141
+ # HTTP header 'Accept' (if needed)
142
+ header_params['Accept'] = api_client.select_header_accept(['application/json'])
143
+ # HTTP header 'Content-Type'
144
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
145
+
146
+ # form parameters
147
+ form_params = {}
148
+ post_body = nil
149
+
150
+ #auth_names = []
151
+ auth_names = ['JWT']
152
+ data, status_code, headers = api_client.call_api(:PUT, local_var_path,
153
+ :header_params => header_params,
154
+ :query_params => query_params,
155
+ :form_params => form_params,
156
+ :body => post_body,
157
+ :auth_names => auth_names,
158
+ :return_type => 'SearchResponse')
159
+ if api_client.config.debugging
160
+ api_client.config.logger.debug "API called: Specification.Name>Api.search_content_in_remote_worksheet__legacy_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
161
+ end
162
+ return data, status_code, headers
163
+ end
164
+ end
165
+ end
@@ -149,7 +149,7 @@ module AsposeCellsCloud
149
149
 
150
150
  #auth_names = []
151
151
  auth_names = ['JWT']
152
- data, status_code, headers = api_client.call_api(:PUT, local_var_path,
152
+ data, status_code, headers = api_client.call_api(:GET, local_var_path,
153
153
  :header_params => header_params,
154
154
  :query_params => query_params,
155
155
  :form_params => form_params,