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.
- checksums.yaml +4 -4
- data/README.md +39 -31
- data/lib/aspose_cells_cloud/api/cells_api.rb +92 -7
- data/lib/aspose_cells_cloud/models/shared_drive_info.rb +222 -0
- data/lib/aspose_cells_cloud/requests/aggregate_cells_by_color__deprecated_request.rb +155 -0
- data/lib/aspose_cells_cloud/requests/aggregate_cells_by_color_request.rb +1 -1
- data/lib/aspose_cells_cloud/requests/search_all_text_items_in_remote_spreadsheet__legacy_put_request.rb +138 -0
- data/lib/aspose_cells_cloud/requests/search_all_text_items_in_remote_spreadsheet_request.rb +1 -1
- data/lib/aspose_cells_cloud/requests/search_broken_links_in_remote_range__legacy_put_request.rb +156 -0
- data/lib/aspose_cells_cloud/requests/search_broken_links_in_remote_range_request.rb +1 -1
- data/lib/aspose_cells_cloud/requests/search_broken_links_in_remote_spreadsheet__legacy_put_request.rb +150 -0
- data/lib/aspose_cells_cloud/requests/search_broken_links_in_remote_spreadsheet_request.rb +1 -1
- data/lib/aspose_cells_cloud/requests/search_broken_links_in_remote_worksheet__legacy_put_request.rb +145 -0
- data/lib/aspose_cells_cloud/requests/search_broken_links_in_remote_worksheet_request.rb +1 -1
- data/lib/aspose_cells_cloud/requests/search_content_in_remote_range__legacy_put_request.rb +176 -0
- data/lib/aspose_cells_cloud/requests/search_content_in_remote_range_request.rb +1 -1
- data/lib/aspose_cells_cloud/requests/search_content_in_remote_spreadsheet__legacy_put_request.rb +154 -0
- data/lib/aspose_cells_cloud/requests/search_content_in_remote_spreadsheet_request.rb +1 -1
- data/lib/aspose_cells_cloud/requests/search_content_in_remote_worksheet__legacy_put_request.rb +165 -0
- data/lib/aspose_cells_cloud/requests/search_content_in_remote_worksheet_request.rb +1 -1
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +9 -0
- metadata +12 -11
- data/spec/client_spec.rb +0 -114
- data/spec/configuration_spec.rb +0 -61
- data/spec/form_file_spec.rb +0 -47
- data/spec/model_spec.rb +0 -73
- data/spec/request_spec.rb +0 -87
- data/spec/rich_response_spec.rb +0 -46
- data/spec/sdk_error_spec.rb +0 -27
- data/spec/spec_helper.rb +0 -21
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 89cdac149deb2d5423a3e14544830586554531cfc59cb3c50b3155b58309a05d
|
|
4
|
+
data.tar.gz: c2de058358c0bc33ee1ccb9a0e70b5f099f49642d63c41c0065cb07e354c2e55
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 505aafd590f12d1768a3219b37d1121b7f4ee32f74dc7dc5fc74be418083b2e6e0a683445888054a835854016c760720fc69e4ac574d2aaa0e5015363d1fdc1a
|
|
7
|
+
data.tar.gz: a44e543d711e1c1d86b02851417416b39afb4c529feb9ed32fa29f85bd6a0dcb190b601ccf3b33ba2856c41332c816ab404a32f245d8d28b0947b462cf48175b
|
data/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
```markdown
|
|
2
|
+
 [](https://products.aspose.cloud/cells/ruby/) [](https://docs.aspose.cloud/cells/) [](https://reference.aspose.cloud/cells/) [](https://github.com/aspose-cells-cloud/aspose-cells-cloud-perl/tree/master/Examples) [](https://blog.aspose.cloud/categories/aspose.cells-cloud-product-family/) [](https://forum.aspose.cloud/c/cells/7) [](https://rubygems.org/gems/aspose_cells_cloud) [](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/archive/refs/heads/master.zip) [](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/blob/master/LICENSE) 
|
|
2
3
|
|
|
3
4
|
# Aspose.Cells Cloud SDK for Ruby
|
|
4
5
|
|
|
@@ -24,7 +25,7 @@ To get started with Aspose.Cells Cloud, here's what you need to do:
|
|
|
24
25
|
- Execute the following command to get the latest Gem package.
|
|
25
26
|
|
|
26
27
|
```console
|
|
27
|
-
gem 'aspose_cells_cloud', '~> 26.
|
|
28
|
+
gem 'aspose_cells_cloud', '~> 26.10.0'
|
|
28
29
|
```
|
|
29
30
|
|
|
30
31
|
Or install directly:
|
|
@@ -157,14 +158,18 @@ graph TB
|
|
|
157
158
|
- Import/Export: Facilitates importing data from various sources into spreadsheets and exporting spreadsheet data to other formats.
|
|
158
159
|
- Security Management: Offers a range of security features like data encryption, access control, and permission management to safeguard the security and integrity of spreadsheet data.
|
|
159
160
|
|
|
160
|
-
## Features & Enhancements in Version 26.
|
|
161
|
+
## Features & Enhancements in Version 26.10
|
|
161
162
|
|
|
162
163
|
Full list of issues covering all changes in this release:
|
|
163
164
|
|
|
164
165
|
| **Summary** | **Category** |
|
|
165
166
|
| :------------------------------------------------------------------------------------------------------------ | :----------- |
|
|
166
|
-
|
|
|
167
|
-
| Fix
|
|
167
|
+
| Refactor SearchController.cs: replace 7 remote read endpoints with [HttpGet] and remove deprecated forwarder | Improvement |
|
|
168
|
+
| Fix typo in CalculateController.cs: correct route 'aggergate' to 'aggregate' | Bug |
|
|
169
|
+
| Fix operationName copy-paste errors in ManagementController.cs | Bug |
|
|
170
|
+
| Mark StatisticalController.cs as obsolete | Improvement |
|
|
171
|
+
| Security & Stability Fixes for Aspose.Cells Cloud API | Improvement |
|
|
172
|
+
| Add Exception Chain Support to CellsApiException and HttpWebException | New Feature |
|
|
168
173
|
|
|
169
174
|
## Available SDKs
|
|
170
175
|
|
|
@@ -214,7 +219,7 @@ The Aspose.Cells Cloud SDK is available in multiple popular programming language
|
|
|
214
219
|
- 执行以下命令获取最新的 Gem 包。
|
|
215
220
|
|
|
216
221
|
```console
|
|
217
|
-
gem 'aspose_cells_cloud', '~> 26.
|
|
222
|
+
gem 'aspose_cells_cloud', '~> 26.10.0'
|
|
218
223
|
```
|
|
219
224
|
|
|
220
225
|
或直接安装:
|
|
@@ -231,7 +236,7 @@ require 'bundler'
|
|
|
231
236
|
require 'aspose_cells_cloud'
|
|
232
237
|
|
|
233
238
|
CellsCloudClientId = "..." # 从 https://dashboard.aspose.cloud/#/applications 获取 -> 设置 ENV['CellsCloudClientId']
|
|
234
|
-
CellsCloudClientSecret = "..." # 从 https://dashboard.aspose.cloud/#/applications 获取
|
|
239
|
+
CellsCloudClientSecret = "..." # 从 https://dashboard.aspose.cloud/#/applications 获取 ->设置 ENV['CellsCloudClientSecret']
|
|
235
240
|
|
|
236
241
|
@instance = AsposeCellsCloud::CellsApi.new(CellsCloudClientId, CellsCloudClientSecret)
|
|
237
242
|
request = AsposeCellsCloud::ConvertSpreadsheetRequest.new(:Spreadsheet => 'EmployeeSalesSummary.xlsx', :format => format)
|
|
@@ -347,14 +352,18 @@ graph TB
|
|
|
347
352
|
- 导入/导出:支持从各种数据源导入数据到电子表格,并将电子表格数据导出到其他格式。
|
|
348
353
|
- 安全管理:提供数据加密、访问控制、权限管理等一系列安全功能,保障电子表格数据的安全性和完整性。
|
|
349
354
|
|
|
350
|
-
## 版本 26.
|
|
355
|
+
## 版本 26.10 的功能与增强
|
|
351
356
|
|
|
352
357
|
涵盖此版本所有更改的完整问题列表:
|
|
353
358
|
|
|
354
359
|
| **摘要** | **类别** |
|
|
355
360
|
| :-------------------------------------------------------------------------------------------------------- | :------- |
|
|
356
|
-
|
|
|
357
|
-
|
|
|
361
|
+
| 重构 SearchController.cs:用 [HttpGet] 替换 7 个远程读取端点并移除已弃用的转发器 | 改进 |
|
|
362
|
+
| 修复 CalculateController.cs 中的拼写错误:将路由 'aggergate' 更正为 'aggregate' | Bug |
|
|
363
|
+
| 修复 ManagementController.cs 中的 operationName 复制粘贴错误 | Bug |
|
|
364
|
+
| 将 StatisticalController.cs 标记为已过时 | 改进 |
|
|
365
|
+
| Aspose.Cells Cloud API 的安全与稳定性修复 | 改进 |
|
|
366
|
+
| 为 CellsApiException 和 HttpWebException 添加异常链支持 | 新功能 |
|
|
358
367
|
|
|
359
368
|
## 可用的 SDK
|
|
360
369
|
|
|
@@ -404,7 +413,7 @@ Aspose.Cells Cloud を始めるには、以下の手順に従ってください
|
|
|
404
413
|
- 以下のコマンドを実行して最新の Gem パッケージを取得します。
|
|
405
414
|
|
|
406
415
|
```console
|
|
407
|
-
gem 'aspose_cells_cloud', '~> 26.
|
|
416
|
+
gem 'aspose_cells_cloud', '~> 26.10.0'
|
|
408
417
|
```
|
|
409
418
|
|
|
410
419
|
または直接インストール:
|
|
@@ -537,14 +546,18 @@ graph TB
|
|
|
537
546
|
- インポート/エクスポート:さまざまなデータソースからスプレッドシートへのデータのインポート、およびスプレッドシートデータの他の形式へのエクスポートを容易にします。
|
|
538
547
|
- セキュリティ管理:データ暗号化、アクセス制御、権限管理などのさまざまなセキュリティ機能を提供し、スプレッドシートデータのセキュリティと整合性を保護します。
|
|
539
548
|
|
|
540
|
-
## バージョン 26.
|
|
549
|
+
## バージョン 26.10 の機能と拡張
|
|
541
550
|
|
|
542
551
|
このリリースのすべての変更を含む問題の完全なリスト:
|
|
543
552
|
|
|
544
553
|
| **概要** | **カテゴリ** |
|
|
545
554
|
| :-------------------------------------------------------------------------------------------------------- | :----------- |
|
|
546
|
-
|
|
|
547
|
-
|
|
|
555
|
+
| SearchController.cs のリファクタリング:7 つのリモート読み取りエンドポイントを [HttpGet] に置き換え、非推奨のフォワーダーを削除 | 改善 |
|
|
556
|
+
| CalculateController.cs のタイプミスの修正:ルート 'aggergate' を 'aggregate' に修正 | バグ |
|
|
557
|
+
| ManagementController.cs の operationName のコピペエラーの修正 | バグ |
|
|
558
|
+
| StatisticalController.cs を非推奨としてマーク | 改善 |
|
|
559
|
+
| Aspose.Cells Cloud API のセキュリティと安定性の修正 | 改善 |
|
|
560
|
+
| CellsApiException および HttpWebException への例外チェーンサポートの追加 | 新機能 |
|
|
548
561
|
|
|
549
562
|
## 利用可能な SDK
|
|
550
563
|
|
|
@@ -594,7 +607,7 @@ Um mit Aspose.Cells Cloud zu beginnen, müssen Sie Folgendes tun:
|
|
|
594
607
|
- Führen Sie den folgenden Befehl aus, um das neueste Gem-Paket zu erhalten.
|
|
595
608
|
|
|
596
609
|
```console
|
|
597
|
-
gem 'aspose_cells_cloud', '~> 26.
|
|
610
|
+
gem 'aspose_cells_cloud', '~> 26.10.0'
|
|
598
611
|
```
|
|
599
612
|
|
|
600
613
|
Oder direkt installieren:
|
|
@@ -621,16 +634,6 @@ FileUtils.cp(response.path, 'EmployeeSalesSummary.csv')
|
|
|
621
634
|
|
|
622
635
|
4. So laden Sie eine Datei in den Cloud-Speicher hoch.
|
|
623
636
|
|
|
624
|
-
```console
|
|
625
|
-
gem 'aspose_cells_cloud', '~> 26.9.0'
|
|
626
|
-
```
|
|
627
|
-
|
|
628
|
-
oder direkt:
|
|
629
|
-
|
|
630
|
-
```console
|
|
631
|
-
gem install aspose_cells_cloud
|
|
632
|
-
```
|
|
633
|
-
|
|
634
637
|
```ruby
|
|
635
638
|
require 'openssl'
|
|
636
639
|
require 'bundler'
|
|
@@ -737,14 +740,18 @@ graph TB
|
|
|
737
740
|
- Import/Export: Ermöglicht den Import von Daten aus verschiedenen Quellen in Tabellen und den Export von Tabellendaten in andere Formate.
|
|
738
741
|
- Sicherheitsverwaltung: Bietet eine Reihe von Sicherheitsfunktionen wie Datenverschlüsselung, Zugriffskontrolle und Berechtigungsverwaltung zum Schutz der Sicherheit und Integrität von Tabellendaten.
|
|
739
742
|
|
|
740
|
-
## Funktionen & Erweiterungen in Version 26.
|
|
743
|
+
## Funktionen & Erweiterungen in Version 26.10
|
|
741
744
|
|
|
742
745
|
Vollständige Liste der Probleme, die alle Änderungen in dieser Version abdecken:
|
|
743
746
|
|
|
744
|
-
| **Zusammenfassung**
|
|
745
|
-
|
|
|
746
|
-
|
|
|
747
|
-
| Fix
|
|
747
|
+
| **Zusammenfassung** | **Kategorie** |
|
|
748
|
+
| :------------------------------------------------------------------------------------------------------------ | :----------- |
|
|
749
|
+
| Refactor SearchController.cs: replace 7 remote read endpoints with [HttpGet] and remove deprecated forwarder | Improvement |
|
|
750
|
+
| Fix typo in CalculateController.cs: correct route 'aggergate' to 'aggregate' | Bug |
|
|
751
|
+
| Fix operationName copy-paste errors in ManagementController.cs | Bug |
|
|
752
|
+
| Mark StatisticalController.cs as obsolete | Improvement |
|
|
753
|
+
| Security & Stability Fixes for Aspose.Cells Cloud API | Improvement |
|
|
754
|
+
| Add Exception Chain Support to CellsApiException and HttpWebException | New Feature |
|
|
748
755
|
|
|
749
756
|
## Verfügbare SDK
|
|
750
757
|
|
|
@@ -766,4 +773,5 @@ Das Aspose.Cells Cloud SDK ist in mehreren gängigen Programmiersprachen verfüg
|
|
|
766
773
|
|
|
767
774
|
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby) [](https://rubygems.org/gems/aspose_cells_cloud)
|
|
768
775
|
|
|
769
|
-
## [Versionsverlauf](CHANGELOG.md)
|
|
776
|
+
## [Versionsverlauf](CHANGELOG.md)
|
|
777
|
+
```
|
|
@@ -96,6 +96,16 @@ module AsposeCellsCloud
|
|
|
96
96
|
return data
|
|
97
97
|
end
|
|
98
98
|
|
|
99
|
+
# Deprecated: Use String) instead.
|
|
100
|
+
# This endpoint exists only for backward compatibility with clients that used the misspelled
|
|
101
|
+
# route calculate/aggergate/color. It will be removed in a future major version.
|
|
102
|
+
|
|
103
|
+
def aggregate_cells_by_color__deprecated( aggregate_cells_by_color__deprecated_request, opts = {})
|
|
104
|
+
|
|
105
|
+
data, _status_code, _headers = aggregate_cells_by_color__deprecated_request.create_http_request(@api_client,opts )
|
|
106
|
+
return data
|
|
107
|
+
end
|
|
108
|
+
|
|
99
109
|
|
|
100
110
|
def math_calculate( math_calculate_request, opts = {})
|
|
101
111
|
|
|
@@ -103,6 +113,7 @@ module AsposeCellsCloud
|
|
|
103
113
|
return data
|
|
104
114
|
end
|
|
105
115
|
|
|
116
|
+
# Calculates a formula expression and returns the result.
|
|
106
117
|
|
|
107
118
|
def calculation_formula( calculation_formula_request, opts = {})
|
|
108
119
|
|
|
@@ -519,7 +530,7 @@ module AsposeCellsCloud
|
|
|
519
530
|
return data
|
|
520
531
|
end
|
|
521
532
|
|
|
522
|
-
# Get all merged cell
|
|
533
|
+
# Get all merged cell areas from a local spreadsheet worksheet.
|
|
523
534
|
|
|
524
535
|
def get_merged_cells_in_worksheet( get_merged_cells_in_worksheet_request, opts = {})
|
|
525
536
|
|
|
@@ -527,6 +538,7 @@ module AsposeCellsCloud
|
|
|
527
538
|
return data
|
|
528
539
|
end
|
|
529
540
|
|
|
541
|
+
# Accepts all tracked changes (revisions) in the local spreadsheet.
|
|
530
542
|
|
|
531
543
|
def accept_all_revisions( accept_all_revisions_request, opts = {})
|
|
532
544
|
|
|
@@ -534,6 +546,7 @@ module AsposeCellsCloud
|
|
|
534
546
|
return data
|
|
535
547
|
end
|
|
536
548
|
|
|
549
|
+
# Accepts all tracked changes (revisions) in a remote spreadsheet.
|
|
537
550
|
|
|
538
551
|
def accept_all_revisions_in_remote_spreadsheet( accept_all_revisions_in_remote_spreadsheet_request, opts = {})
|
|
539
552
|
|
|
@@ -541,7 +554,7 @@ module AsposeCellsCloud
|
|
|
541
554
|
return data
|
|
542
555
|
end
|
|
543
556
|
|
|
544
|
-
#
|
|
557
|
+
# Extracts the structural information of a local spreadsheet as a JSON object.
|
|
545
558
|
|
|
546
559
|
def get_spreadsheet_structure( get_spreadsheet_structure_request, opts = {})
|
|
547
560
|
|
|
@@ -549,7 +562,7 @@ module AsposeCellsCloud
|
|
|
549
562
|
return data
|
|
550
563
|
end
|
|
551
564
|
|
|
552
|
-
#
|
|
565
|
+
# Extracts the structural information of a remote spreadsheet as a JSON object.
|
|
553
566
|
|
|
554
567
|
def get_structure_in_remote_spreadsheet( get_structure_in_remote_spreadsheet_request, opts = {})
|
|
555
568
|
|
|
@@ -573,6 +586,7 @@ module AsposeCellsCloud
|
|
|
573
586
|
return data
|
|
574
587
|
end
|
|
575
588
|
|
|
589
|
+
# Adds digital signatures to Excel spreadsheets using X.509 certificates (.pfx files) for document authentication and integrity verification.
|
|
576
590
|
|
|
577
591
|
def spreadsheet_digitalsignature( spreadsheet_digitalsignature_request, opts = {})
|
|
578
592
|
|
|
@@ -580,6 +594,7 @@ module AsposeCellsCloud
|
|
|
580
594
|
return data
|
|
581
595
|
end
|
|
582
596
|
|
|
597
|
+
# Generates reports using Smart Marker template technology with JSON data.
|
|
583
598
|
|
|
584
599
|
def smart_marker_template( smart_marker_template_request, opts = {})
|
|
585
600
|
|
|
@@ -595,6 +610,16 @@ module AsposeCellsCloud
|
|
|
595
610
|
return data
|
|
596
611
|
end
|
|
597
612
|
|
|
613
|
+
# Deprecated PUT route for String).
|
|
614
|
+
# This endpoint exists only for backward compatibility with clients that used the PUT verb on this read-only route.
|
|
615
|
+
# It will be removed in a future major version.
|
|
616
|
+
|
|
617
|
+
def search_all_text_items_in_remote_spreadsheet__legacy_put( search_all_text_items_in_remote_spreadsheet__legacy_put_request, opts = {})
|
|
618
|
+
|
|
619
|
+
data, _status_code, _headers = search_all_text_items_in_remote_spreadsheet__legacy_put_request.create_http_request(@api_client,opts )
|
|
620
|
+
return data
|
|
621
|
+
end
|
|
622
|
+
|
|
598
623
|
# Get all text items in the remote spreadsheet.
|
|
599
624
|
|
|
600
625
|
def search_spreadsheet_all_text_items( search_spreadsheet_all_text_items_request, opts = {})
|
|
@@ -619,6 +644,16 @@ module AsposeCellsCloud
|
|
|
619
644
|
return data
|
|
620
645
|
end
|
|
621
646
|
|
|
647
|
+
# Deprecated PUT route for String).
|
|
648
|
+
# This endpoint exists only for backward compatibility with clients that used the PUT verb on this read-only route.
|
|
649
|
+
# It will be removed in a future major version.
|
|
650
|
+
|
|
651
|
+
def search_content_in_remote_spreadsheet__legacy_put( search_content_in_remote_spreadsheet__legacy_put_request, opts = {})
|
|
652
|
+
|
|
653
|
+
data, _status_code, _headers = search_content_in_remote_spreadsheet__legacy_put_request.create_http_request(@api_client,opts )
|
|
654
|
+
return data
|
|
655
|
+
end
|
|
656
|
+
|
|
622
657
|
# Search text in the worksheet of remoted spreadsheet.
|
|
623
658
|
|
|
624
659
|
def search_content_in_remote_worksheet( search_content_in_remote_worksheet_request, opts = {})
|
|
@@ -627,6 +662,16 @@ module AsposeCellsCloud
|
|
|
627
662
|
return data
|
|
628
663
|
end
|
|
629
664
|
|
|
665
|
+
# Deprecated PUT route for String).
|
|
666
|
+
# This endpoint exists only for backward compatibility with clients that used the PUT verb on this read-only route.
|
|
667
|
+
# It will be removed in a future major version.
|
|
668
|
+
|
|
669
|
+
def search_content_in_remote_worksheet__legacy_put( search_content_in_remote_worksheet__legacy_put_request, opts = {})
|
|
670
|
+
|
|
671
|
+
data, _status_code, _headers = search_content_in_remote_worksheet__legacy_put_request.create_http_request(@api_client,opts )
|
|
672
|
+
return data
|
|
673
|
+
end
|
|
674
|
+
|
|
630
675
|
# Search text in the range of remoted spreadsheet.
|
|
631
676
|
|
|
632
677
|
def search_content_in_remote_range( search_content_in_remote_range_request, opts = {})
|
|
@@ -635,6 +680,16 @@ module AsposeCellsCloud
|
|
|
635
680
|
return data
|
|
636
681
|
end
|
|
637
682
|
|
|
683
|
+
# Deprecated PUT route for String).
|
|
684
|
+
# This endpoint exists only for backward compatibility with clients that used the PUT verb on this read-only route.
|
|
685
|
+
# It will be removed in a future major version.
|
|
686
|
+
|
|
687
|
+
def search_content_in_remote_range__legacy_put( search_content_in_remote_range__legacy_put_request, opts = {})
|
|
688
|
+
|
|
689
|
+
data, _status_code, _headers = search_content_in_remote_range__legacy_put_request.create_http_request(@api_client,opts )
|
|
690
|
+
return data
|
|
691
|
+
end
|
|
692
|
+
|
|
638
693
|
# Replace text in the local spreadsheet.
|
|
639
694
|
|
|
640
695
|
def replace_spreadsheet_content( replace_spreadsheet_content_request, opts = {})
|
|
@@ -683,6 +738,16 @@ module AsposeCellsCloud
|
|
|
683
738
|
return data
|
|
684
739
|
end
|
|
685
740
|
|
|
741
|
+
# Deprecated PUT route for String).
|
|
742
|
+
# This endpoint exists only for backward compatibility with clients that used the PUT verb on this read-only route.
|
|
743
|
+
# It will be removed in a future major version.
|
|
744
|
+
|
|
745
|
+
def search_broken_links_in_remote_spreadsheet__legacy_put( search_broken_links_in_remote_spreadsheet__legacy_put_request, opts = {})
|
|
746
|
+
|
|
747
|
+
data, _status_code, _headers = search_broken_links_in_remote_spreadsheet__legacy_put_request.create_http_request(@api_client,opts )
|
|
748
|
+
return data
|
|
749
|
+
end
|
|
750
|
+
|
|
686
751
|
# Search broken links in the worksheet of remoted spreadsheet.
|
|
687
752
|
|
|
688
753
|
def search_broken_links_in_remote_worksheet( search_broken_links_in_remote_worksheet_request, opts = {})
|
|
@@ -691,6 +756,16 @@ module AsposeCellsCloud
|
|
|
691
756
|
return data
|
|
692
757
|
end
|
|
693
758
|
|
|
759
|
+
# Deprecated PUT route for String).
|
|
760
|
+
# This endpoint exists only for backward compatibility with clients that used the PUT verb on this read-only route.
|
|
761
|
+
# It will be removed in a future major version.
|
|
762
|
+
|
|
763
|
+
def search_broken_links_in_remote_worksheet__legacy_put( search_broken_links_in_remote_worksheet__legacy_put_request, opts = {})
|
|
764
|
+
|
|
765
|
+
data, _status_code, _headers = search_broken_links_in_remote_worksheet__legacy_put_request.create_http_request(@api_client,opts )
|
|
766
|
+
return data
|
|
767
|
+
end
|
|
768
|
+
|
|
694
769
|
# Search broken links in the range of remoted spreadsheet.
|
|
695
770
|
|
|
696
771
|
def search_broken_links_in_remote_range( search_broken_links_in_remote_range_request, opts = {})
|
|
@@ -699,6 +774,16 @@ module AsposeCellsCloud
|
|
|
699
774
|
return data
|
|
700
775
|
end
|
|
701
776
|
|
|
777
|
+
# Deprecated PUT route for String).
|
|
778
|
+
# This endpoint exists only for backward compatibility with clients that used the PUT verb on this read-only route.
|
|
779
|
+
# It will be removed in a future major version.
|
|
780
|
+
|
|
781
|
+
def search_broken_links_in_remote_range__legacy_put( search_broken_links_in_remote_range__legacy_put_request, opts = {})
|
|
782
|
+
|
|
783
|
+
data, _status_code, _headers = search_broken_links_in_remote_range__legacy_put_request.create_http_request(@api_client,opts )
|
|
784
|
+
return data
|
|
785
|
+
end
|
|
786
|
+
|
|
702
787
|
# Get the specifications
|
|
703
788
|
|
|
704
789
|
def spec( spec_request, opts = {})
|
|
@@ -850,7 +935,7 @@ module AsposeCellsCloud
|
|
|
850
935
|
return data
|
|
851
936
|
end
|
|
852
937
|
|
|
853
|
-
# Delete all blank
|
|
938
|
+
# Delete all blank columns that do not contain any data or other objects.
|
|
854
939
|
|
|
855
940
|
def remove_spreadsheet_blank_columns( remove_spreadsheet_blank_columns_request, opts = {})
|
|
856
941
|
|
|
@@ -890,7 +975,7 @@ module AsposeCellsCloud
|
|
|
890
975
|
return data
|
|
891
976
|
end
|
|
892
977
|
|
|
893
|
-
#
|
|
978
|
+
# Transposes data in the specified range, switching rows and columns.
|
|
894
979
|
|
|
895
980
|
def transpose_data( transpose_data_request, opts = {})
|
|
896
981
|
|
|
@@ -898,7 +983,7 @@ module AsposeCellsCloud
|
|
|
898
983
|
return data
|
|
899
984
|
end
|
|
900
985
|
|
|
901
|
-
#
|
|
986
|
+
# Unpivots data from the specified range, converting columns to rows.
|
|
902
987
|
|
|
903
988
|
def unpivot_range( unpivot_range_request, opts = {})
|
|
904
989
|
|
|
@@ -906,7 +991,7 @@ module AsposeCellsCloud
|
|
|
906
991
|
return data
|
|
907
992
|
end
|
|
908
993
|
|
|
909
|
-
#
|
|
994
|
+
# Unpivots data from the specified table, converting columns to rows.
|
|
910
995
|
|
|
911
996
|
def unpivot_table( unpivot_table_request, opts = {})
|
|
912
997
|
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
|
3
|
+
<copyright company="Aspose" file="SharedDriveInforb.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 'date'
|
|
30
|
+
|
|
31
|
+
module AsposeCellsCloud
|
|
32
|
+
|
|
33
|
+
class SharedDriveInfo
|
|
34
|
+
#
|
|
35
|
+
attr_accessor :id
|
|
36
|
+
#
|
|
37
|
+
attr_accessor :name
|
|
38
|
+
|
|
39
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
40
|
+
def self.attribute_map
|
|
41
|
+
{
|
|
42
|
+
:'id' => :'Id',
|
|
43
|
+
:'name' => :'Name'
|
|
44
|
+
}
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Attribute type mapping.
|
|
48
|
+
def self.swagger_types
|
|
49
|
+
{
|
|
50
|
+
:'id' => :'String',
|
|
51
|
+
:'name' => :'String'
|
|
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?(:'Id')
|
|
64
|
+
self.id = attributes[:'Id']
|
|
65
|
+
end
|
|
66
|
+
if attributes.has_key?(:'Name')
|
|
67
|
+
self.name = attributes[:'Name']
|
|
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 @id.nil?
|
|
77
|
+
invalid_properties.push("invalid value for 'id', id cannot be nil.")
|
|
78
|
+
end
|
|
79
|
+
if @name.nil?
|
|
80
|
+
invalid_properties.push("invalid value for 'name', name 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 @id.nil?
|
|
90
|
+
return false if @name.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
|
+
id == o.id &&
|
|
100
|
+
name == o.name
|
|
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
|
+
[ id , name ].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
|