-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release Aspose.Cells Cloud SDK 24.11.0
- Loading branch information
1 parent
397cb46
commit 9bf2249
Showing
160 changed files
with
405 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
// -------------------------------------------------------------------------------------------------------------------- | ||
// <copyright company="Aspose" file="ConvertTextOptions.cs"> | ||
// Copyright (c) 2024 Aspose.Cells Cloud | ||
// </copyright> | ||
// <summary> | ||
// Permission is hereby granted, free of charge, to any person obtaining a copy | ||
// of this software and associated documentation files (the "Software"), to deal | ||
// in the Software without restriction, including without limitation the rights | ||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
// copies of the Software, and to permit persons to whom the Software is | ||
// furnished to do so, subject to the following conditions: | ||
// | ||
// The above copyright notice and this permission notice shall be included in all | ||
// copies or substantial portions of the Software. | ||
// | ||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
// SOFTWARE. | ||
// </summary> | ||
// -------------------------------------------------------------------------------------------------------------------- | ||
|
||
namespace Aspose.Cells.Cloud.SDK.Model | ||
{ | ||
using System; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using System.Runtime.Serialization; | ||
using System.Text; | ||
using System.Drawing; | ||
using Newtonsoft.Json; | ||
using Newtonsoft.Json.Converters; | ||
|
||
/// <summary> | ||
/// | ||
/// </summary> | ||
public class ConvertTextOptions : BaseOperateOptions | ||
{ | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public override string Name { get; set; } | ||
|
||
/// <summary> | ||
/// | ||
/// </summary> | ||
public virtual DataSource DataSource { get; set; } | ||
|
||
/// <summary> | ||
/// | ||
/// </summary> | ||
public virtual FileInfo FileInfo { get; set; } | ||
|
||
/// <summary> | ||
/// | ||
/// </summary> | ||
public virtual string Worksheet { get; set; } | ||
|
||
/// <summary> | ||
/// | ||
/// </summary> | ||
public virtual string Range { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets ConvertTextType. | ||
/// </summary> | ||
public virtual string ConvertTextType { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets SourceCharacters. | ||
/// </summary> | ||
public virtual string SourceCharacters { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets TargetCharacters. | ||
/// </summary> | ||
public virtual string TargetCharacters { get; set; } | ||
|
||
/// <summary> | ||
/// Get the string presentation of the object. | ||
/// </summary> | ||
/// <returns>String presentation of the object.</returns> | ||
public override string ToString() | ||
{ | ||
var sb = new StringBuilder(); | ||
sb.Append("class ConvertTextOptions {\n"); | ||
sb.Append(" Name: ").Append(this.Name).Append("\n"); | ||
sb.Append(" DataSource: ").Append(this.DataSource).Append("\n"); | ||
sb.Append(" FileInfo: ").Append(this.FileInfo).Append("\n"); | ||
sb.Append(" Worksheet: ").Append(this.Worksheet).Append("\n"); | ||
sb.Append(" Range: ").Append(this.Range).Append("\n"); | ||
sb.Append(" ConvertTextType: ").Append(this.ConvertTextType).Append("\n"); | ||
sb.Append(" SourceCharacters: ").Append(this.SourceCharacters).Append("\n"); | ||
sb.Append(" TargetCharacters: ").Append(this.TargetCharacters).Append("\n"); | ||
sb.Append("}\n"); | ||
return sb.ToString(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// -------------------------------------------------------------------------------------------------------------------- | ||
// <copyright company="Aspose" file="ConvertTextType.cs"> | ||
// Copyright (c) 2024 Aspose.Cells Cloud | ||
// </copyright> | ||
// <summary> | ||
// Permission is hereby granted, free of charge, to any person obtaining a copy | ||
// of this software and associated documentation files (the "Software"), to deal | ||
// in the Software without restriction, including without limitation the rights | ||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
// copies of the Software, and to permit persons to whom the Software is | ||
// furnished to do so, subject to the following conditions: | ||
// | ||
// The above copyright notice and this permission notice shall be included in all | ||
// copies or substantial portions of the Software. | ||
// | ||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
// SOFTWARE. | ||
// </summary> | ||
// -------------------------------------------------------------------------------------------------------------------- | ||
|
||
namespace Aspose.Cells.Cloud.SDK.Model | ||
{ | ||
using System; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using System.Runtime.Serialization; | ||
using System.Text; | ||
using System.Drawing; | ||
using Newtonsoft.Json; | ||
using Newtonsoft.Json.Converters; | ||
|
||
/// <summary> | ||
/// ConvertTextType. | ||
/// </summary> | ||
[JsonConverter(typeof(StringEnumConverter))] | ||
public enum ConvertTextType | ||
{ | ||
} | ||
} |
102 changes: 102 additions & 0 deletions
102
Aspose.Cells.Cloud.SDK/Request/PostConvertTextRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
// -------------------------------------------------------------------------------------------------------------------- | ||
// <copyright company="Aspose" file="PostConvertTextRequest.cs"> | ||
// Copyright (c) 2024 Aspose.Cells Cloud | ||
// </copyright> | ||
// <summary> | ||
// Permission is hereby granted, free of charge, to any person obtaining a copy | ||
// of this software and associated documentation files (the "Software"), to deal | ||
// in the Software without restriction, including without limitation the rights | ||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
// copies of the Software, and to permit persons to whom the Software is | ||
// furnished to do so, subject to the following conditions: | ||
// | ||
// The above copyright notice and this permission notice shall be included in all | ||
// copies or substantial portions of the Software. | ||
// | ||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
// SOFTWARE. | ||
// </summary> | ||
// -------------------------------------------------------------------------------------------------------------------- | ||
|
||
namespace Aspose.Cells.Cloud.SDK.Request | ||
{ | ||
using Aspose.Cells.Cloud.SDK.Model; | ||
using Newtonsoft.Json; | ||
using System.Collections.Generic; | ||
using System.Net; | ||
using System.Text.RegularExpressions; | ||
|
||
/// <summary> | ||
/// Request model for <see cref="Aspose.Cells.Cloud.SDK.Api.CellsApi.PostConvertText" /> operation. | ||
/// </summary> | ||
public class PostConvertTextRequest : IRequestModel | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="PostConvertTextRequest"/> class. | ||
/// </summary> | ||
public PostConvertTextRequest() | ||
{ | ||
|
||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="PostConvertTextRequest"/> class. | ||
/// </summary> | ||
/// <param name="convertTextOptions"></param> | ||
public PostConvertTextRequest(ConvertTextOptions convertTextOptions) | ||
{ | ||
this.convertTextOptions = convertTextOptions; | ||
} | ||
|
||
/// <summary> | ||
/// Gets or sets convertTextOptions. | ||
/// </summary> | ||
public ConvertTextOptions convertTextOptions { get; set; } | ||
|
||
|
||
/// <summary> | ||
/// Gets or sets extendQueryParameterMap. | ||
/// </summary> | ||
public IDictionary<string, string> extendQueryParameterMap ; | ||
|
||
/// <summary> | ||
/// Creates the http request based on this request. | ||
/// </summary> | ||
/// <param name="baseUri">Api base uri.</param> | ||
/// <returns>The http request instance.</returns> | ||
public HttpWebRequest CreateHttpRequest(string baseUri,IDictionary<string, string> defaultHeaderMap, List<Invoker.IRequestHandler> requestHandlers) | ||
{ | ||
var localVarHeaderParams = new Dictionary<string, string>(); | ||
var localVarFileParams = new Dictionary<string, object>(); | ||
string localVarPostBody =""; | ||
string localVarHttpContentType = "application/json"; | ||
// verify the required parameter 'convertTextOptions' is set | ||
if ( this.convertTextOptions == null) | ||
{ | ||
throw new ApiException(400, "Missing required parameter 'convertTextOptions' when calling PostConvertText"); | ||
} | ||
|
||
var path = baseUri + "/cells/converttext"; | ||
path = Regex | ||
.Replace(path, "\\*", string.Empty) | ||
.Replace("&", "&") | ||
.Replace("/?", "?"); | ||
|
||
if (this.extendQueryParameterMap != null) | ||
{ | ||
foreach (KeyValuePair<string, string> kvp in extendQueryParameterMap) | ||
{ | ||
path = UrlHelper.AddQueryParameterToUrl(path, kvp.Key, kvp.Value); | ||
} | ||
} | ||
|
||
localVarPostBody = ( this.convertTextOptions != null ? JsonConvert.SerializeObject(this.convertTextOptions) : null); | ||
return UrlHelper.PrepareRequest(path, "POST", localVarFileParams, localVarHeaderParams, localVarPostBody, localVarHttpContentType, defaultHeaderMap, requestHandlers); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.