Skip to content

Commit 774b26a

Browse files
committed
Fix CELLSCLOUD-10573 for Aspose.Cells Cloud SDK 21.6.1
1 parent 065d40d commit 774b26a

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

Aspose.Cells.Cloud.SDK.Test/LiteApi/ClearObjectsTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void PostClearObjectsApi_Comment_Test()
6666
IDictionary<string, Stream> files = new Dictionary<string, Stream>();
6767
files.Add(DataSource, GetTestDataStream( DataSource));
6868
files.Add(AssemblyTest, GetTestDataStream(AssemblyTest));
69-
var filesResult = instance.PostCleaeObjects(files,"comment");
69+
var filesResult = instance.PostClearObjects(files,"comment");
7070
Assert.IsInstanceOf<FilesResult>(filesResult, "response is AccessTokenResponse");
7171
}
7272

@@ -81,7 +81,7 @@ public void PostClearObjectsApi_Chart_Test()
8181
IDictionary<string, Stream> files = new Dictionary<string, Stream>();
8282
files.Add(DataSource, GetTestDataStream(DataSource));
8383
files.Add(AssemblyTest, GetTestDataStream(AssemblyTest));
84-
var filesResult = instance.PostCleaeObjects(files,"chart");
84+
var filesResult = instance.PostClearObjects(files,"chart");
8585
Assert.IsInstanceOf<FilesResult>(filesResult, "response is AccessTokenResponse");
8686
}
8787

@@ -96,7 +96,7 @@ public void PostClearObjectsApi_Picture_Test()
9696
IDictionary<string, Stream> files = new Dictionary<string, Stream>();
9797
files.Add(DataSource, GetTestDataStream(DataSource));
9898
files.Add(AssemblyTest, GetTestDataStream(AssemblyTest));
99-
var filesResult = instance.PostCleaeObjects(files,"picture");
99+
var filesResult = instance.PostClearObjects(files,"picture");
100100
Assert.IsInstanceOf<FilesResult>(filesResult, "response is AccessTokenResponse");
101101
}
102102

@@ -111,7 +111,7 @@ public void PostClearObjectsApi_Shape_Test()
111111
IDictionary<string, Stream> files = new Dictionary<string, Stream>();
112112
files.Add(DataSource, GetTestDataStream(DataSource));
113113
files.Add(AssemblyTest, GetTestDataStream(AssemblyTest));
114-
var filesResult = instance.PostCleaeObjects(files,"shape");
114+
var filesResult = instance.PostClearObjects(files,"shape");
115115
Assert.IsInstanceOf<FilesResult>(filesResult, "response is AccessTokenResponse");
116116
}
117117
}

Aspose.Cells.Cloud.SDK.Test/LiteApi/SearchTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public void PostSearchApi_Test()
6464
IDictionary<string, Stream> files = new Dictionary<string, Stream>();
6565
files.Add(BOOK1, GetTestDataStream( BOOK1));
6666
files.Add(MYDOC, GetTestDataStream(MYDOC));
67-
var filesResult = instance.PostSearch("1",files);
67+
var filesResult = instance.PostSearch(files,"1");
6868
Assert.IsInstanceOf<IList<Model.TextItem>>(filesResult, "response is FileInfo");
6969
}
7070

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public interface ILiteCellsApi
8585
/// <param name="objecttype"></param>
8686
/// <param name="file">File to upload</param>
8787
/// <returns>FilesResult</returns>
88-
FilesResult PostCleaeObjects(IDictionary<string, System.IO.Stream> files, string objecttype);
88+
FilesResult PostClearObjects(IDictionary<string, System.IO.Stream> files, string objecttype);
8989

9090
/// <summary>
9191
///
@@ -153,7 +153,7 @@ public interface ILiteCellsApi
153153
/// <param name="path"> (optional)</param>
154154
/// <param name="storageName"> (optional)</param>
155155
/// <returns>System.IO.Stream</returns>
156-
IList<Model.TextItem> PostSearch(string text, IDictionary<string, System.IO.Stream> files, string password = null, string sheetname = null, string path = null, string storageName = null);
156+
IList<Model.TextItem> PostSearch(IDictionary<string, System.IO.Stream> files, string text, string password = null, string sheetname = null, string path = null, string storageName = null);
157157

158158

159159
/// <summary>
@@ -531,15 +531,15 @@ public FilesResult PostAssemble( IDictionary<string, System.IO.Stream> files, st
531531
/// <param name="objecttype"></param>
532532
/// <param name="file">File to upload</param>
533533
/// <returns>FilesResult</returns>
534-
public FilesResult PostCleaeObjects( IDictionary<string, System.IO.Stream> files, string objecttype)
534+
public FilesResult PostClearObjects( IDictionary<string, System.IO.Stream> files, string objecttype)
535535
{
536536
checkAccessToken();
537537
// verify the required parameter 'objecttype' is set
538538
if (objecttype == null)
539-
throw new ApiException(400, "Missing required parameter 'objecttype' when calling LiteCellsApi->PostCleaeObjects");
539+
throw new ApiException(400, "Missing required parameter 'objecttype' when calling LiteCellsApi->PostClearObjects");
540540
// verify the required parameter 'file' is set
541541
if (files == null)
542-
throw new ApiException(400, "Missing required parameter 'file' when calling LiteCellsApi->PostCleaeObjects");
542+
throw new ApiException(400, "Missing required parameter 'file' when calling LiteCellsApi->PostClearObjects");
543543

544544
var localVarPath = "/cells/clearobjects";
545545
var localVarPathParams = new Dictionary<String, String>();
@@ -578,7 +578,7 @@ public FilesResult PostCleaeObjects( IDictionary<string, System.IO.Stream> files
578578

579579
if (ExceptionFactory != null)
580580
{
581-
Exception exception = ExceptionFactory("PostCleaeObjects", localVarResponse);
581+
Exception exception = ExceptionFactory("PostClearObjects", localVarResponse);
582582
if (exception != null) throw exception;
583583
}
584584

@@ -862,7 +862,7 @@ public FilesResult PostProtect( IDictionary<string, System.IO.Stream> files, str
862862
/// <param name="path"> (optional)</param>
863863
/// <param name="storageName"> (optional)</param>
864864
/// <returns>System.IO.Stream</returns>
865-
public IList<Model.TextItem> PostSearch(string text, IDictionary<string, System.IO.Stream> files, string password = null, string sheetname = null, string path = null, string storageName = null)
865+
public IList<Model.TextItem> PostSearch(IDictionary<string, System.IO.Stream> files, string text, string password = null, string sheetname = null, string path = null, string storageName = null)
866866
{
867867
checkAccessToken();
868868
// verify the required parameter 'text' is set

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<Description>This SDK allows you to work with Aspose.Cells Cloud REST APIs in your .NET applications quickly and easily, with zero initial cost.</Description>
1212
<Copyright>MIT</Copyright>
1313
<StyleCopTreatErrorsAsWarnings>false</StyleCopTreatErrorsAsWarnings>
14-
<AssemblyVersion>21.5</AssemblyVersion>
15-
<FileVersion>21.5</FileVersion>
16-
<Version>21.5</Version>
14+
<AssemblyVersion>21.6.1</AssemblyVersion>
15+
<FileVersion>21.6.1</FileVersion>
16+
<Version>21.6.1</Version>
1717
</PropertyGroup>
1818

1919
<ItemGroup>

0 commit comments

Comments
 (0)