Skip to content

Commit 1b5a081

Browse files
committed
Optimize method name and uri on cells cloud 4.0.
1 parent d75e11b commit 1b5a081

File tree

435 files changed

+2406
-644
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

435 files changed

+2406
-644
lines changed

Aspose.Cells.Cloud.SDK/Api/CellsApi.cs

Lines changed: 54 additions & 54 deletions
Large diffs are not rendered by default.

Aspose.Cells.Cloud.SDK/Aspose.Cells.Cloud.SDK.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
<RepositoryType>GitHub</RepositoryType>
1818
<Copyright>MIT</Copyright>
1919
<StyleCopTreatErrorsAsWarnings>false</StyleCopTreatErrorsAsWarnings>
20-
<AssemblyVersion>25.5.1</AssemblyVersion>
21-
<FileVersion>25.5.1</FileVersion>
22-
<Version>25.5.1</Version>
20+
<AssemblyVersion>25.5.4</AssemblyVersion>
21+
<FileVersion>25.5.4</FileVersion>
22+
<Version>25.5.4</Version>
2323
<PackageReadmeFile>README.md</PackageReadmeFile>
2424

2525
</PropertyGroup>

Aspose.Cells.Cloud.SDK/Infrastructure/Invoker/ApiInvoker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ internal class ApiInvoker
5050
internal ApiInvoker(List<IRequestHandler> requestHandlers)
5151
{
5252
this.AddDefaultHeader(AsposeClientHeaderName, ".net sdk");
53-
this.AddDefaultHeader(AsposeClientVersionHeaderName, "25.5.1");
53+
this.AddDefaultHeader(AsposeClientVersionHeaderName, "25.5.4");
5454
this.requestHandlers = requestHandlers;
5555
}
5656

Aspose.Cells.Cloud.SDK/Request/ConversionRequest.cs

Lines changed: 0 additions & 57 deletions
This file was deleted.

Aspose.Cells.Cloud.SDK/Request/ConvertWorkbookRequest.cs renamed to Aspose.Cells.Cloud.SDK/Request/ConvertSpreadsheetRequest.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// --------------------------------------------------------------------------------------------------------------------
2-
// <copyright company="Aspose" file="ConvertWorkbookRequest.cs">
2+
// <copyright company="Aspose" file="ConvertSpreadsheetRequest.cs">
33
// Copyright (c) 2025 Aspose.Cells Cloud
44
// </copyright>
55
// <summary>
@@ -32,20 +32,20 @@ namespace Aspose.Cells.Cloud.SDK.Request
3232
using System.Text.RegularExpressions;
3333

3434
/// <summary>
35-
/// Request model for <see cref="Aspose.Cells.Cloud.SDK.Api.CellsApi.ConvertWorkbook" /> operation.
35+
/// Request model for <see cref="Aspose.Cells.Cloud.SDK.Api.CellsApi.ConvertSpreadsheet" /> operation.
3636
/// </summary>
37-
public class ConvertWorkbookRequest : IRequestModel
37+
public class ConvertSpreadsheetRequest : IRequestModel
3838
{
3939

4040
/// <summary>
41-
/// Initializes a new instance of the <see cref="ConvertWorkbookRequest"/> class.
41+
/// Initializes a new instance of the <see cref="ConvertSpreadsheetRequest"/> class.
4242
/// </summary>
43-
public ConvertWorkbookRequest()
43+
public ConvertSpreadsheetRequest()
4444
{
4545

4646
}
4747
/// <summary>
48-
/// Initializes a new instance of the <see cref="ConvertWorkbookRequest"/> class.
48+
/// Initializes a new instance of the <see cref="ConvertSpreadsheetRequest"/> class.
4949
/// </summary>
5050
/// <param name="spreadsheet">Upload spreadsheet file.</param>
5151
/// <param name="format">(Required) The desired output format (e.g., "Xlsx", "Pdf", "Csv").</param>
@@ -54,7 +54,7 @@ public ConvertWorkbookRequest()
5454
/// <param name="fontsLocation">Use Custom fonts.</param>
5555
/// <param name="regoin">The spreadsheet region setting.</param>
5656
/// <param name="password">The password for opening spreadsheet file.</param>
57-
public ConvertWorkbookRequest(string spreadsheet, string format, string outPath = null, string outStorageName = null, string fontsLocation = null, string regoin = null, string password = null)
57+
public ConvertSpreadsheetRequest(string spreadsheet, string format, string outPath = null, string outStorageName = null, string fontsLocation = null, string regoin = null, string password = null)
5858
{
5959
this.Spreadsheet = spreadsheet;
6060
this.format = format;
@@ -126,13 +126,13 @@ public HttpWebRequest CreateHttpRequest(string baseUri,IDictionary<string, strin
126126
// verify the required parameter 'spreadsheet' is set
127127
if ( string.IsNullOrEmpty(this.Spreadsheet) )
128128
{
129-
throw new ApiException(400, "Missing required parameter 'spreadsheet' when calling ConvertWorkbook");
129+
throw new ApiException(400, "Missing required parameter 'spreadsheet' when calling ConvertSpreadsheet");
130130
}
131131

132132
// verify the required parameter 'format' is set
133133
if (string.IsNullOrEmpty (this.format ))
134134
{
135-
throw new ApiException(400, "Missing required parameter 'format' when calling ConvertWorkbook");
135+
throw new ApiException(400, "Missing required parameter 'format' when calling ConvertSpreadsheet");
136136
}
137137

138138
var path = baseUri + "/cells/convert";

Aspose.Cells.Cloud.SDK/Request/GetWorkbookWithFormatRequest.cs renamed to Aspose.Cells.Cloud.SDK/Request/ExportSpreadsheetAsFormatRequest.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// --------------------------------------------------------------------------------------------------------------------
2-
// <copyright company="Aspose" file="GetWorkbookWithFormatRequest.cs">
2+
// <copyright company="Aspose" file="ExportSpreadsheetAsFormatRequest.cs">
33
// Copyright (c) 2025 Aspose.Cells Cloud
44
// </copyright>
55
// <summary>
@@ -32,20 +32,20 @@ namespace Aspose.Cells.Cloud.SDK.Request
3232
using System.Text.RegularExpressions;
3333

3434
/// <summary>
35-
/// Request model for <see cref="Aspose.Cells.Cloud.SDK.Api.CellsApi.GetWorkbookWithFormat" /> operation.
35+
/// Request model for <see cref="Aspose.Cells.Cloud.SDK.Api.CellsApi.ExportSpreadsheetAsFormat" /> operation.
3636
/// </summary>
37-
public class GetWorkbookWithFormatRequest : IRequestModel
37+
public class ExportSpreadsheetAsFormatRequest : IRequestModel
3838
{
3939

4040
/// <summary>
41-
/// Initializes a new instance of the <see cref="GetWorkbookWithFormatRequest"/> class.
41+
/// Initializes a new instance of the <see cref="ExportSpreadsheetAsFormatRequest"/> class.
4242
/// </summary>
43-
public GetWorkbookWithFormatRequest()
43+
public ExportSpreadsheetAsFormatRequest()
4444
{
4545

4646
}
4747
/// <summary>
48-
/// Initializes a new instance of the <see cref="GetWorkbookWithFormatRequest"/> class.
48+
/// Initializes a new instance of the <see cref="ExportSpreadsheetAsFormatRequest"/> class.
4949
/// </summary>
5050
/// <param name="name">(Required) The name of the workbook file to be retrieved.</param>
5151
/// <param name="format">(Required) The desired output format (e.g., "Xlsx", "Pdf", "Csv").</param>
@@ -56,7 +56,7 @@ public GetWorkbookWithFormatRequest()
5656
/// <param name="fontsLocation">Use Custom fonts.</param>
5757
/// <param name="regoin">The spreadsheet region setting.</param>
5858
/// <param name="password">The password for opening spreadsheet file.</param>
59-
public GetWorkbookWithFormatRequest(string name, string format, string folder = null, string storageName = null, string outPath = null, string outStorageName = null, string fontsLocation = null, string regoin = null, string password = null)
59+
public ExportSpreadsheetAsFormatRequest(string name, string format, string folder = null, string storageName = null, string outPath = null, string outStorageName = null, string fontsLocation = null, string regoin = null, string password = null)
6060
{
6161
this.name = name;
6262
this.format = format;
@@ -142,13 +142,13 @@ public HttpWebRequest CreateHttpRequest(string baseUri,IDictionary<string, strin
142142
// verify the required parameter 'name' is set
143143
if (string.IsNullOrEmpty (this.name ))
144144
{
145-
throw new ApiException(400, "Missing required parameter 'name' when calling GetWorkbookWithFormat");
145+
throw new ApiException(400, "Missing required parameter 'name' when calling ExportSpreadsheetAsFormat");
146146
}
147147

148148
// verify the required parameter 'format' is set
149149
if (string.IsNullOrEmpty (this.format ))
150150
{
151-
throw new ApiException(400, "Missing required parameter 'format' when calling GetWorkbookWithFormat");
151+
throw new ApiException(400, "Missing required parameter 'format' when calling ExportSpreadsheetAsFormat");
152152
}
153153

154154
var path = baseUri + "/cells/{name}";

Aspose.Cells.Cloud.SDK/Request/MergeFilesInRemoteFolderRequest.cs renamed to Aspose.Cells.Cloud.SDK/Request/MergeRemoteSpreadsheetsRequest.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// --------------------------------------------------------------------------------------------------------------------
2-
// <copyright company="Aspose" file="MergeFilesInRemoteFolderRequest.cs">
2+
// <copyright company="Aspose" file="MergeRemoteSpreadsheetsRequest.cs">
33
// Copyright (c) 2025 Aspose.Cells Cloud
44
// </copyright>
55
// <summary>
@@ -32,20 +32,20 @@ namespace Aspose.Cells.Cloud.SDK.Request
3232
using System.Text.RegularExpressions;
3333

3434
/// <summary>
35-
/// Request model for <see cref="Aspose.Cells.Cloud.SDK.Api.CellsApi.MergeFilesInRemoteFolder" /> operation.
35+
/// Request model for <see cref="Aspose.Cells.Cloud.SDK.Api.CellsApi.MergeRemoteSpreadsheets" /> operation.
3636
/// </summary>
37-
public class MergeFilesInRemoteFolderRequest : IRequestModel
37+
public class MergeRemoteSpreadsheetsRequest : IRequestModel
3838
{
3939

4040
/// <summary>
41-
/// Initializes a new instance of the <see cref="MergeFilesInRemoteFolderRequest"/> class.
41+
/// Initializes a new instance of the <see cref="MergeRemoteSpreadsheetsRequest"/> class.
4242
/// </summary>
43-
public MergeFilesInRemoteFolderRequest()
43+
public MergeRemoteSpreadsheetsRequest()
4444
{
4545

4646
}
4747
/// <summary>
48-
/// Initializes a new instance of the <see cref="MergeFilesInRemoteFolderRequest"/> class.
48+
/// Initializes a new instance of the <see cref="MergeRemoteSpreadsheetsRequest"/> class.
4949
/// </summary>
5050
/// <param name="folder">The folder used to store the merged files.</param>
5151
/// <param name="fileMatchExpression"></param>
@@ -57,7 +57,7 @@ public MergeFilesInRemoteFolderRequest()
5757
/// <param name="fontsLocation">Use Custom fonts.</param>
5858
/// <param name="regoin">The spreadsheet region setting.</param>
5959
/// <param name="password">The password for opening spreadsheet file.</param>
60-
public MergeFilesInRemoteFolderRequest(string folder, string fileMatchExpression = null, string outFormat = null, bool? mergeInOneSheet = null, string storageName = null, string outPath = null, string outStorageName = null, string fontsLocation = null, string regoin = null, string password = null)
60+
public MergeRemoteSpreadsheetsRequest(string folder, string fileMatchExpression = null, string outFormat = null, bool? mergeInOneSheet = null, string storageName = null, string outPath = null, string outStorageName = null, string fontsLocation = null, string regoin = null, string password = null)
6161
{
6262
this.folder = folder;
6363
this.fileMatchExpression = fileMatchExpression;
@@ -150,10 +150,10 @@ public HttpWebRequest CreateHttpRequest(string baseUri,IDictionary<string, strin
150150
// verify the required parameter 'folder' is set
151151
if (string.IsNullOrEmpty (this.folder ))
152152
{
153-
throw new ApiException(400, "Missing required parameter 'folder' when calling MergeFilesInRemoteFolder");
153+
throw new ApiException(400, "Missing required parameter 'folder' when calling MergeRemoteSpreadsheets");
154154
}
155155

156-
var path = baseUri + "/cells/mergeFilesInFolder";
156+
var path = baseUri + "/cells/merge/remote-spreadsheets";
157157
path = Regex
158158
.Replace(path, "\\*", string.Empty)
159159
.Replace("&amp;", "&")

Aspose.Cells.Cloud.SDK/Request/MergeRequest.cs

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)