Skip to content

Commit a8935e6

Browse files
committed
20220621 update : fix api.
1 parent fd3c048 commit a8935e6

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

Aspose.Cells.Cloud.SDK.Test/Api/CellsSaveAsApiTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void CellsSaveAsPostDocumentSaveAsTest()
6262
// TODO uncomment below to test the method and replace null with proper value
6363
string name = BOOK1;
6464
SaveOptions saveOptions = null;
65-
string newfilename = "newbook.xlsx";
65+
string newfilename = "newbook.png";
6666
bool? isAutoFitRows = true;
6767
bool? isAutoFitColumns = true;
6868
string folder = TEMPFOLDER;

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5291,7 +5291,7 @@ public interface ICellsApi : IApiAccessor
52915291
/// <param name="storageName">storage name. (optional)</param>
52925292
/// <param name="outStorageName">output storage name. (optional)</param>
52935293
/// <returns>SaveResponse</returns>
5294-
SaveResponse CellsSaveAsPostDocumentSaveAs(string name, SaveOptions saveOptions = null, string newfilename = null, bool? isAutoFitRows = null, bool? isAutoFitColumns = null, string folder = null, string storageName = null, string outStorageName = null, IDictionary<string, string> extendedQueryParameters = null, bool checkExcelRestriction = true);
5294+
SaveResponse CellsSaveAsPostDocumentSaveAs(string name, SaveOptions saveOptions = null, string newfilename = null, bool? isAutoFitRows = null, bool? isAutoFitColumns = null, string folder = null, string storageName = null, string outStorageName = null, IDictionary<string, string> extendedQueryParameters = null, bool? checkExcelRestriction = null);
52955295

52965296
/// <summary>
52975297
/// Convert document and save result to storage.
@@ -5309,7 +5309,7 @@ public interface ICellsApi : IApiAccessor
53095309
/// <param name="storageName">storage name. (optional)</param>
53105310
/// <param name="outStorageName">output storage name. (optional)</param>
53115311
/// <returns>ApiResponse of SaveResponse</returns>
5312-
ApiResponse<SaveResponse> CellsSaveAsPostDocumentSaveAsWithHttpInfo(string name, SaveOptions saveOptions = null, string newfilename = null, bool? isAutoFitRows = null, bool? isAutoFitColumns = null, string folder = null, string storageName = null, string outStorageName = null, IDictionary<string, string> extendedQueryParameters = null, bool checkExcelRestriction = true);
5312+
ApiResponse<SaveResponse> CellsSaveAsPostDocumentSaveAsWithHttpInfo(string name, SaveOptions saveOptions = null, string newfilename = null, bool? isAutoFitRows = null, bool? isAutoFitColumns = null, string folder = null, string storageName = null, string outStorageName = null, IDictionary<string, string> extendedQueryParameters = null, bool? checkExcelRestriction = null);
53135313
/// <summary>
53145314
/// Delete a shape in worksheet
53155315
/// </summary>
@@ -13522,7 +13522,7 @@ public interface ICellsApi : IApiAccessor
1352213522
/// <param name="storageName">storage name.(optional)</param>
1352313523
/// <param name="outStorageName">output storage name.(optional)</param>
1352413524
/// <returns>Task of SaveResponse</returns>
13525-
System.Threading.Tasks.Task<SaveResponse> CellsSaveAsPostDocumentSaveAsAsync (string name, SaveOptions saveOptions = null, string newfilename = null, bool? isAutoFitRows = null, bool? isAutoFitColumns = null, string folder = null, string storageName = null, string outStorageName = null, IDictionary<string, string> extendedQueryParameters = null, bool checkExcelRestriction = true);
13525+
System.Threading.Tasks.Task<SaveResponse> CellsSaveAsPostDocumentSaveAsAsync (string name, SaveOptions saveOptions = null, string newfilename = null, bool? isAutoFitRows = null, bool? isAutoFitColumns = null, string folder = null, string storageName = null, string outStorageName = null, IDictionary<string, string> extendedQueryParameters = null, bool? checkExcelRestriction = null);
1352613526

1352713527
/// <summary>
1352813528
/// Convert document and save result to storage.
@@ -13540,7 +13540,7 @@ public interface ICellsApi : IApiAccessor
1354013540
/// <param name="storageName">storage name.(optional)</param>
1354113541
/// <param name="outStorageName">output storage name.(optional)</param>
1354213542
/// <returns>Task of ApiResponse (SaveResponse)</returns>
13543-
System.Threading.Tasks.Task<ApiResponse<SaveResponse>> CellsSaveAsPostDocumentSaveAsAsyncWithHttpInfo (string name, SaveOptions saveOptions = null, string newfilename = null, bool? isAutoFitRows = null, bool? isAutoFitColumns = null, string folder = null, string storageName = null, string outStorageName = null, IDictionary<string, string> extendedQueryParameters = null, bool checkExcelRestriction = true);
13543+
System.Threading.Tasks.Task<ApiResponse<SaveResponse>> CellsSaveAsPostDocumentSaveAsAsyncWithHttpInfo (string name, SaveOptions saveOptions = null, string newfilename = null, bool? isAutoFitRows = null, bool? isAutoFitColumns = null, string folder = null, string storageName = null, string outStorageName = null, IDictionary<string, string> extendedQueryParameters = null, bool? checkExcelRestriction = null);
1354413544
/// <summary>
1354513545
/// Delete a shape in worksheet
1354613546
/// </summary>
@@ -47366,7 +47366,7 @@ public async System.Threading.Tasks.Task<ApiResponse<CellsCloudResponse>> CellsR
4736647366
/// <param name="storageName">storage name. (optional)</param>
4736747367
/// <param name="outStorageName">output storage name. (optional)</param>
4736847368
/// <returns>SaveResponse</returns>
47369-
public SaveResponse CellsSaveAsPostDocumentSaveAs(string name, SaveOptions saveOptions = null, string newfilename = null, bool? isAutoFitRows = null, bool? isAutoFitColumns = null, string folder = null, string storageName = null, string outStorageName = null, IDictionary<string, string> extendedQueryParameters = null, bool checkExcelRestriction = true)
47369+
public SaveResponse CellsSaveAsPostDocumentSaveAs(string name, SaveOptions saveOptions = null, string newfilename = null, bool? isAutoFitRows = null, bool? isAutoFitColumns = null, string folder = null, string storageName = null, string outStorageName = null, IDictionary<string, string> extendedQueryParameters = null, bool? checkExcelRestriction = null)
4737047370
{
4737147371
checkAccessToken();
4737247372
ApiResponse<SaveResponse> localVarResponse = CellsSaveAsPostDocumentSaveAsWithHttpInfo(name, saveOptions, newfilename, isAutoFitRows, isAutoFitColumns, folder, storageName, outStorageName,extendedQueryParameters,checkExcelRestriction);
@@ -47386,7 +47386,7 @@ public SaveResponse CellsSaveAsPostDocumentSaveAs(string name, SaveOptions saveO
4738647386
/// <param name="storageName">storage name. (optional)</param>
4738747387
/// <param name="outStorageName">output storage name. (optional)</param>
4738847388
/// <returns>ApiResponse of SaveResponse</returns>
47389-
public ApiResponse< SaveResponse > CellsSaveAsPostDocumentSaveAsWithHttpInfo(string name, SaveOptions saveOptions = null, string newfilename = null, bool? isAutoFitRows = null, bool? isAutoFitColumns = null, string folder = null, string storageName = null, string outStorageName = null, IDictionary<string, string> extendedQueryParameters = null, bool checkExcelRestriction = true)
47389+
public ApiResponse< SaveResponse > CellsSaveAsPostDocumentSaveAsWithHttpInfo(string name, SaveOptions saveOptions = null, string newfilename = null, bool? isAutoFitRows = null, bool? isAutoFitColumns = null, string folder = null, string storageName = null, string outStorageName = null, IDictionary<string, string> extendedQueryParameters = null, bool? checkExcelRestriction = null)
4739047390
{
4739147391
// verify the required parameter 'name' is set
4739247392
if (name == null)
@@ -47421,7 +47421,7 @@ public ApiResponse< SaveResponse > CellsSaveAsPostDocumentSaveAsWithHttpInfo(str
4742147421
if (folder != null) localVarQueryParams.Add("folder", Configuration.ApiClient.ParameterToString(folder)); // query parameter
4742247422
if (storageName != null) localVarQueryParams.Add("storageName", Configuration.ApiClient.ParameterToString(storageName)); // query parameter
4742347423
if (outStorageName != null) localVarQueryParams.Add("outStorageName", Configuration.ApiClient.ParameterToString(outStorageName)); // query parameter
47424-
if (!checkExcelRestriction) localVarQueryParams.Add("checkExcelRestriction", Configuration.ApiClient.ParameterToString(checkExcelRestriction)); // query parameter
47424+
if (checkExcelRestriction !=null) localVarQueryParams.Add("checkExcelRestriction", Configuration.ApiClient.ParameterToString(checkExcelRestriction)); // query parameter
4742547425

4742647426
if (extendedQueryParameters != null)
4742747427
{
@@ -47471,7 +47471,7 @@ public ApiResponse< SaveResponse > CellsSaveAsPostDocumentSaveAsWithHttpInfo(str
4747147471
/// <param name="storageName">storage name. (optional)</param>
4747247472
/// <param name="outStorageName">output storage name. (optional)</param>
4747347473
/// <returns>Task of SaveResponse</returns>
47474-
public async System.Threading.Tasks.Task<SaveResponse> CellsSaveAsPostDocumentSaveAsAsync (string name, SaveOptions saveOptions = null, string newfilename = null, bool? isAutoFitRows = null, bool? isAutoFitColumns = null, string folder = null, string storageName = null, string outStorageName = null, IDictionary<string, string> extendedQueryParameters = null, bool checkExcelRestriction = true)
47474+
public async System.Threading.Tasks.Task<SaveResponse> CellsSaveAsPostDocumentSaveAsAsync (string name, SaveOptions saveOptions = null, string newfilename = null, bool? isAutoFitRows = null, bool? isAutoFitColumns = null, string folder = null, string storageName = null, string outStorageName = null, IDictionary<string, string> extendedQueryParameters = null, bool? checkExcelRestriction = null)
4747547475
{
4747647476
ApiResponse<SaveResponse> localVarResponse = await CellsSaveAsPostDocumentSaveAsAsyncWithHttpInfo(name, saveOptions, newfilename, isAutoFitRows, isAutoFitColumns, folder, storageName, outStorageName,extendedQueryParameters ,checkExcelRestriction);
4747747477
return localVarResponse.Data;
@@ -47491,7 +47491,7 @@ public async System.Threading.Tasks.Task<SaveResponse> CellsSaveAsPostDocumentSa
4749147491
/// <param name="storageName">storage name. (optional)</param>
4749247492
/// <param name="outStorageName">output storage name. (optional)</param>
4749347493
/// <returns>Task of ApiResponse (SaveResponse)</returns>
47494-
public async System.Threading.Tasks.Task<ApiResponse<SaveResponse>> CellsSaveAsPostDocumentSaveAsAsyncWithHttpInfo (string name, SaveOptions saveOptions = null, string newfilename = null, bool? isAutoFitRows = null, bool? isAutoFitColumns = null, string folder = null, string storageName = null, string outStorageName = null, IDictionary<string, string> extendedQueryParameters = null, bool checkExcelRestriction = true)
47494+
public async System.Threading.Tasks.Task<ApiResponse<SaveResponse>> CellsSaveAsPostDocumentSaveAsAsyncWithHttpInfo (string name, SaveOptions saveOptions = null, string newfilename = null, bool? isAutoFitRows = null, bool? isAutoFitColumns = null, string folder = null, string storageName = null, string outStorageName = null, IDictionary<string, string> extendedQueryParameters = null, bool? checkExcelRestriction = null)
4749547495
{
4749647496
// verify the required parameter 'name' is set
4749747497
if (name == null)
@@ -47526,7 +47526,7 @@ public async System.Threading.Tasks.Task<ApiResponse<SaveResponse>> CellsSaveAsP
4752647526
if (folder != null) localVarQueryParams.Add("folder", Configuration.ApiClient.ParameterToString(folder)); // query parameter
4752747527
if (storageName != null) localVarQueryParams.Add("storageName", Configuration.ApiClient.ParameterToString(storageName)); // query parameter
4752847528
if (outStorageName != null) localVarQueryParams.Add("outStorageName", Configuration.ApiClient.ParameterToString(outStorageName)); // query parameter
47529-
if (!checkExcelRestriction) localVarQueryParams.Add("checkExcelRestriction", Configuration.ApiClient.ParameterToString(checkExcelRestriction)); // query parameter
47529+
if (checkExcelRestriction!= null) localVarQueryParams.Add("checkExcelRestriction", Configuration.ApiClient.ParameterToString(checkExcelRestriction)); // query parameter
4753047530
if (extendedQueryParameters != null)
4753147531
{
4753247532
foreach (KeyValuePair<string, string> keyValuePair in extendedQueryParameters)

0 commit comments

Comments
 (0)