Skip to content

Commit 442df2c

Browse files
SDK version 19.12.1 generated
1 parent d2c84d1 commit 442df2c

File tree

116 files changed

+9744
-578
lines changed

Some content is hidden

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

116 files changed

+9744
-578
lines changed

Api/EmailApi.cs

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

Aspose.Email-Cloud.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<RepositoryUrl>https://github.com/aspose-email-cloud/aspose-email-cloud-dotnet</RepositoryUrl>
1313
<PackageTags>ASPOSE EMAIL CLOUD SDK Outlook MSG EML MHT</PackageTags>
1414
<RootNamespace>Aspose.Email.Cloud.Sdk</RootNamespace>
15-
<Version>19.12.0</Version>
15+
<Version>19.12.1</Version>
1616
</PropertyGroup>
1717
<ItemGroup Condition=" '$(TargetFramework)' == 'Xamarin.iOS10' OR '$(TargetFramework)' == 'Xamarin.Mac20' OR '$(TargetFramework)' == 'MonoAndroid60'">
1818
<PackageReference Include="Newtonsoft.Json" Version="8.0.3" />

Model/AiBcrParseOcrDataRq.cs

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose" file="AiBcrParseOcrDataRq.cs">
3+
// Copyright (c) 2016 Aspose.Email for Cloud
4+
// </copyright>
5+
// <summary>
6+
// Permission is hereby granted, free of charge, to any person obtaining a copy
7+
// of this software and associated documentation files (the "Software"), to deal
8+
// in the Software without restriction, including without limitation the rights
9+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
// copies of the Software, and to permit persons to whom the Software is
11+
// furnished to do so, subject to the following conditions:
12+
//
13+
// The above copyright notice and this permission notice shall be included in all
14+
// copies or substantial portions of the Software.
15+
//
16+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
// SOFTWARE.
23+
// </summary>
24+
// --------------------------------------------------------------------------------------------------------------------
25+
26+
namespace Aspose.Email.Cloud.Sdk.Model
27+
{
28+
using System;
29+
using System.Collections;
30+
using System.Collections.Generic;
31+
using System.Runtime.Serialization;
32+
using System.Text;
33+
using Newtonsoft.Json;
34+
using Newtonsoft.Json.Converters;
35+
/// <summary>
36+
/// Parse ocr data request
37+
/// </summary>
38+
public class AiBcrParseOcrDataRq : AiBcrRq
39+
{
40+
/// <summary>
41+
/// OCR data
42+
/// </summary>
43+
public List<AiBcrOcrData> Data { get; set; }
44+
45+
/// <summary>AiBcrParseOcrDataRq constructor</summary>
46+
public AiBcrParseOcrDataRq() {}
47+
48+
/// <summary>AiBcrParseOcrDataRq constructor</summary>
49+
/// <param name="options">Recognition options </param>
50+
/// <param name="data">OCR data </param>
51+
public AiBcrParseOcrDataRq(AiBcrOptions options, List<AiBcrOcrData> data)
52+
{
53+
Options = options;
54+
Data = data;
55+
}
56+
/// <summary>
57+
/// Get the string presentation of the object
58+
/// </summary>
59+
/// <returns>String presentation of the object</returns>
60+
public override string ToString()
61+
{
62+
var sb = new StringBuilder();
63+
sb.Append("class AiBcrParseOcrDataRq {\n");
64+
sb.Append(" Options: ").Append(this.Options).Append("\n");
65+
sb.Append(" Data: ").Append(this.Data).Append("\n");
66+
sb.Append("}\n");
67+
return sb.ToString();
68+
}
69+
}
70+
}

Model/AlternateView.cs

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose" file="AlternateView.cs">
3+
// Copyright (c) 2016 Aspose.Email for Cloud
4+
// </copyright>
5+
// <summary>
6+
// Permission is hereby granted, free of charge, to any person obtaining a copy
7+
// of this software and associated documentation files (the "Software"), to deal
8+
// in the Software without restriction, including without limitation the rights
9+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
// copies of the Software, and to permit persons to whom the Software is
11+
// furnished to do so, subject to the following conditions:
12+
//
13+
// The above copyright notice and this permission notice shall be included in all
14+
// copies or substantial portions of the Software.
15+
//
16+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
// SOFTWARE.
23+
// </summary>
24+
// --------------------------------------------------------------------------------------------------------------------
25+
26+
namespace Aspose.Email.Cloud.Sdk.Model
27+
{
28+
using System;
29+
using System.Collections;
30+
using System.Collections.Generic;
31+
using System.Runtime.Serialization;
32+
using System.Text;
33+
using Newtonsoft.Json;
34+
using Newtonsoft.Json.Converters;
35+
/// <summary>
36+
/// Represents the format to view a message.
37+
/// </summary>
38+
public class AlternateView : AttachmentBase
39+
{
40+
/// <summary>
41+
/// Base URI.
42+
/// </summary>
43+
public string BaseUri { get; set; }
44+
45+
/// <summary>
46+
/// Embedded resources referred to by this alternate view.
47+
/// </summary>
48+
public List<LinkedResource> LinkedResources { get; set; }
49+
50+
/// <summary>AlternateView constructor</summary>
51+
public AlternateView() {}
52+
53+
/// <summary>AlternateView constructor</summary>
54+
/// <param name="base64Data">Attachment file content as Base64 string. </param>
55+
/// <param name="contentId">Attachment content id </param>
56+
/// <param name="contentType">Content type </param>
57+
/// <param name="headers">Attachment headers. </param>
58+
/// <param name="baseUri">Base URI. </param>
59+
/// <param name="linkedResources">Embedded resources referred to by this alternate view. </param>
60+
public AlternateView(string base64Data, string contentId, ContentType contentType, Dictionary<string, string> headers, string baseUri, List<LinkedResource> linkedResources)
61+
{
62+
Base64Data = base64Data;
63+
ContentId = contentId;
64+
ContentType = contentType;
65+
Headers = headers;
66+
BaseUri = baseUri;
67+
LinkedResources = linkedResources;
68+
}
69+
/// <summary>
70+
/// Get the string presentation of the object
71+
/// </summary>
72+
/// <returns>String presentation of the object</returns>
73+
public override string ToString()
74+
{
75+
var sb = new StringBuilder();
76+
sb.Append("class AlternateView {\n");
77+
sb.Append(" Base64Data: ").Append(this.Base64Data).Append("\n");
78+
sb.Append(" ContentId: ").Append(this.ContentId).Append("\n");
79+
sb.Append(" ContentType: ").Append(this.ContentType).Append("\n");
80+
sb.Append(" Headers: ").Append(this.Headers).Append("\n");
81+
sb.Append(" BaseUri: ").Append(this.BaseUri).Append("\n");
82+
sb.Append(" LinkedResources: ").Append(this.LinkedResources).Append("\n");
83+
sb.Append("}\n");
84+
return sb.ToString();
85+
}
86+
}
87+
}

Model/AppendEmailModelRequest.cs

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose" file="AppendEmailModelRequest.cs">
3+
// Copyright (c) 2016 Aspose.Email for Cloud
4+
// </copyright>
5+
// <summary>
6+
// Permission is hereby granted, free of charge, to any person obtaining a copy
7+
// of this software and associated documentation files (the "Software"), to deal
8+
// in the Software without restriction, including without limitation the rights
9+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
// copies of the Software, and to permit persons to whom the Software is
11+
// furnished to do so, subject to the following conditions:
12+
//
13+
// The above copyright notice and this permission notice shall be included in all
14+
// copies or substantial portions of the Software.
15+
//
16+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
// SOFTWARE.
23+
// </summary>
24+
// --------------------------------------------------------------------------------------------------------------------
25+
26+
namespace Aspose.Email.Cloud.Sdk.Model
27+
{
28+
using System;
29+
using System.Collections;
30+
using System.Collections.Generic;
31+
using System.Runtime.Serialization;
32+
using System.Text;
33+
using Newtonsoft.Json;
34+
using Newtonsoft.Json.Converters;
35+
/// <summary>
36+
/// Append email request
37+
/// </summary>
38+
public class AppendEmailModelRequest : AppendEmailAccountBaseRequest
39+
{
40+
/// <summary>
41+
/// Email document
42+
/// </summary>
43+
public EmailDto Message { get; set; }
44+
45+
/// <summary>AppendEmailModelRequest constructor</summary>
46+
public AppendEmailModelRequest() {}
47+
48+
/// <summary>AppendEmailModelRequest constructor</summary>
49+
/// <param name="firstAccount">First account storage file name for receiving emails (or universal one) </param>
50+
/// <param name="secondAccount">Second account storage file name for sending emails (ignored if first is universal) </param>
51+
/// <param name="storageFolder">Storage folder location of account files </param>
52+
/// <param name="folder">Email account folder to store a message </param>
53+
/// <param name="markAsSent">Mark message as sent </param>
54+
/// <param name="message">Email document </param>
55+
public AppendEmailModelRequest(string firstAccount, string secondAccount, StorageFolderLocation storageFolder, string folder, bool? markAsSent, EmailDto message)
56+
{
57+
FirstAccount = firstAccount;
58+
SecondAccount = secondAccount;
59+
StorageFolder = storageFolder;
60+
Folder = folder;
61+
MarkAsSent = markAsSent;
62+
Message = message;
63+
}
64+
/// <summary>
65+
/// Get the string presentation of the object
66+
/// </summary>
67+
/// <returns>String presentation of the object</returns>
68+
public override string ToString()
69+
{
70+
var sb = new StringBuilder();
71+
sb.Append("class AppendEmailModelRequest {\n");
72+
sb.Append(" FirstAccount: ").Append(this.FirstAccount).Append("\n");
73+
sb.Append(" SecondAccount: ").Append(this.SecondAccount).Append("\n");
74+
sb.Append(" StorageFolder: ").Append(this.StorageFolder).Append("\n");
75+
sb.Append(" Folder: ").Append(this.Folder).Append("\n");
76+
sb.Append(" MarkAsSent: ").Append(this.MarkAsSent).Append("\n");
77+
sb.Append(" Message: ").Append(this.Message).Append("\n");
78+
sb.Append("}\n");
79+
return sb.ToString();
80+
}
81+
}
82+
}

Model/AssociatedPerson.cs

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose" file="AssociatedPerson.cs">
3+
// Copyright (c) 2016 Aspose.Email for Cloud
4+
// </copyright>
5+
// <summary>
6+
// Permission is hereby granted, free of charge, to any person obtaining a copy
7+
// of this software and associated documentation files (the "Software"), to deal
8+
// in the Software without restriction, including without limitation the rights
9+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
// copies of the Software, and to permit persons to whom the Software is
11+
// furnished to do so, subject to the following conditions:
12+
//
13+
// The above copyright notice and this permission notice shall be included in all
14+
// copies or substantial portions of the Software.
15+
//
16+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
// SOFTWARE.
23+
// </summary>
24+
// --------------------------------------------------------------------------------------------------------------------
25+
26+
namespace Aspose.Email.Cloud.Sdk.Model
27+
{
28+
using System;
29+
using System.Collections;
30+
using System.Collections.Generic;
31+
using System.Runtime.Serialization;
32+
using System.Text;
33+
using Newtonsoft.Json;
34+
using Newtonsoft.Json.Converters;
35+
/// <summary>
36+
/// Describes associated person.
37+
/// </summary>
38+
public class AssociatedPerson
39+
{
40+
/// <summary>
41+
/// Associated person's name.
42+
/// </summary>
43+
public string Name { get; set; }
44+
45+
/// <summary>
46+
/// Associated person's category.
47+
/// </summary>
48+
public EnumWithCustomOfAssociatedPersonCategory Category { get; set; }
49+
50+
/// <summary>
51+
/// Defines whether associated person is preferred.
52+
/// </summary>
53+
public bool? Preferred { get; set; }
54+
55+
/// <summary>AssociatedPerson constructor</summary>
56+
public AssociatedPerson() {}
57+
58+
/// <summary>AssociatedPerson constructor</summary>
59+
/// <param name="name">Associated person's name. </param>
60+
/// <param name="category">Associated person's category. </param>
61+
/// <param name="preferred">Defines whether associated person is preferred. </param>
62+
public AssociatedPerson(string name, EnumWithCustomOfAssociatedPersonCategory category, bool? preferred)
63+
{
64+
Name = name;
65+
Category = category;
66+
Preferred = preferred;
67+
}
68+
/// <summary>
69+
/// Get the string presentation of the object
70+
/// </summary>
71+
/// <returns>String presentation of the object</returns>
72+
public override string ToString()
73+
{
74+
var sb = new StringBuilder();
75+
sb.Append("class AssociatedPerson {\n");
76+
sb.Append(" Name: ").Append(this.Name).Append("\n");
77+
sb.Append(" Category: ").Append(this.Category).Append("\n");
78+
sb.Append(" Preferred: ").Append(this.Preferred).Append("\n");
79+
sb.Append("}\n");
80+
return sb.ToString();
81+
}
82+
}
83+
}

0 commit comments

Comments
 (0)