Skip to content

Commit c06b1c8

Browse files
SDK version 20.4.0.64 generated
1 parent 6b65df2 commit c06b1c8

File tree

8 files changed

+86
-7
lines changed

8 files changed

+86
-7
lines changed

docs/DeleteEmailThreadAccountRq.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**folder** | **String** | Specifies account folder to get thread from (required for some account types, such as EWS) | [optional]
78

89

910
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to API README]](README.md)

docs/EmailApi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1820,6 +1820,7 @@ public GetEmailThreadRequestData(
18201820
String threadId,
18211821
String firstAccount,
18221822
String secondAccount,
1823+
String folder,
18231824
String storage,
18241825
String storageFolder)
18251826
```
@@ -1829,6 +1830,7 @@ Name | Type | Description | Notes
18291830
**threadId** | **String**| Thread identifier |
18301831
**firstAccount** | **String**| Email account |
18311832
**secondAccount** | **String**| Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP) | [optional]
1833+
**folder** | **String**| Specifies account folder to get thread from (required for some account types, such as EWS) | [optional]
18321834
**storage** | **String**| Storage name where account file(s) located | [optional]
18331835
**storageFolder** | **String**| Folder in storage where account file(s) located | [optional]
18341836

docs/EmailThreadReadFlagRq.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**isRead** | **Boolean** | Read flag to set. \"true\" by default |
8+
**folder** | **String** | Specifies account folder to get thread from (required for some account types, such as EWS) | [optional]
89

910

1011
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to API README]](README.md)

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<artifactId>aspose-email-cloud</artifactId>
55
<packaging>jar</packaging>
66
<name>aspose-email-cloud</name>
7-
<version>20.4.0.63</version>
7+
<version>20.4.0.64</version>
88
<url>https://github.com/aspose-email-cloud/aspose-email-cloud-java</url>
99
<description>Aspose.Email Cloud SDK</description>
1010
<licenses>

src/main/java/com/aspose/email/cloud/sdk/api/EmailApi.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3424,6 +3424,7 @@ public EmailThread getEmailThread(GetEmailThreadRequestData request) throws ApiE
34243424

34253425
resourcePath = UrlHelper.addQueryParameterToUrl(resourcePath, "firstAccount", request.firstAccount);
34263426
resourcePath = UrlHelper.addQueryParameterToUrl(resourcePath, "secondAccount", request.secondAccount);
3427+
resourcePath = UrlHelper.addQueryParameterToUrl(resourcePath, "folder", request.folder);
34273428
resourcePath = UrlHelper.addQueryParameterToUrl(resourcePath, "storage", request.storage);
34283429
resourcePath = UrlHelper.addQueryParameterToUrl(resourcePath, "storageFolder", request.storageFolder);
34293430

src/main/java/com/aspose/email/cloud/sdk/model/DeleteEmailThreadAccountRq.java

Lines changed: 37 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,35 @@
4343
* Delete thread request
4444
*/
4545
public class DeleteEmailThreadAccountRq extends AccountBaseRequest {
46+
@JsonProperty("folder")
47+
private String folder = null;
48+
49+
/**
50+
* Set folder and return this.
51+
* @param folder Specifies account folder to get thread from (required for some account types, such as EWS)
52+
* @return this
53+
**/
54+
public DeleteEmailThreadAccountRq folder(String folder) {
55+
this.folder = folder;
56+
return this;
57+
}
58+
59+
/**
60+
* Specifies account folder to get thread from (required for some account types, such as EWS)
61+
* @return folder
62+
**/
63+
public String getFolder() {
64+
return folder;
65+
}
66+
67+
/**
68+
* Set folder.
69+
* @param folder Specifies account folder to get thread from (required for some account types, such as EWS)
70+
**/
71+
public void setFolder(String folder) {
72+
this.folder = folder;
73+
}
74+
4675

4776
@Override
4877
public boolean equals(java.lang.Object o) {
@@ -52,12 +81,14 @@ public boolean equals(java.lang.Object o) {
5281
if (o == null || getClass() != o.getClass()) {
5382
return false;
5483
}
55-
return true;
84+
DeleteEmailThreadAccountRq deleteEmailThreadAccountRq = (DeleteEmailThreadAccountRq) o;
85+
return ObjectUtils.equals(this.folder, deleteEmailThreadAccountRq.folder) &&
86+
super.equals(o);
5687
}
5788

5889
@Override
5990
public int hashCode() {
60-
return ObjectUtils.hashCodeMulti(super.hashCode());
91+
return ObjectUtils.hashCodeMulti(folder, super.hashCode());
6192
}
6293

6394

@@ -69,6 +100,7 @@ public String toString() {
69100
sb.append(" firstAccount: ").append(toIndentedString(getFirstAccount())).append("\n");
70101
sb.append(" secondAccount: ").append(toIndentedString(getSecondAccount())).append("\n");
71102
sb.append(" storageFolder: ").append(toIndentedString(getStorageFolder())).append("\n");
103+
sb.append(" folder: ").append(toIndentedString(getFolder())).append("\n");
72104
sb.append("}");
73105
return sb.toString();
74106
}
@@ -93,12 +125,14 @@ public DeleteEmailThreadAccountRq() {
93125
* @param firstAccount First account storage file name
94126
* @param secondAccount Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP)
95127
* @param storageFolder Storage folder location of account files
128+
* @param folder Specifies account folder to get thread from (required for some account types, such as EWS)
96129
*/
97-
public DeleteEmailThreadAccountRq(String firstAccount, String secondAccount, StorageFolderLocation storageFolder) {
130+
public DeleteEmailThreadAccountRq(String firstAccount, String secondAccount, StorageFolderLocation storageFolder, String folder) {
98131
super();
99132
setFirstAccount(firstAccount);
100133
setSecondAccount(secondAccount);
101134
setStorageFolder(storageFolder);
135+
setFolder(folder);
102136
}
103137

104138
}

src/main/java/com/aspose/email/cloud/sdk/model/EmailThreadReadFlagRq.java

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ public class EmailThreadReadFlagRq extends AccountBaseRequest {
4646
@JsonProperty("isRead")
4747
private Boolean isRead = null;
4848

49+
@JsonProperty("folder")
50+
private String folder = null;
51+
4952
/**
5053
* Set isRead and return this.
5154
* @param isRead Read flag to set. \&quot;true\&quot; by default
@@ -72,6 +75,32 @@ public void setIsRead(Boolean isRead) {
7275
this.isRead = isRead;
7376
}
7477

78+
/**
79+
* Set folder and return this.
80+
* @param folder Specifies account folder to get thread from (required for some account types, such as EWS)
81+
* @return this
82+
**/
83+
public EmailThreadReadFlagRq folder(String folder) {
84+
this.folder = folder;
85+
return this;
86+
}
87+
88+
/**
89+
* Specifies account folder to get thread from (required for some account types, such as EWS)
90+
* @return folder
91+
**/
92+
public String getFolder() {
93+
return folder;
94+
}
95+
96+
/**
97+
* Set folder.
98+
* @param folder Specifies account folder to get thread from (required for some account types, such as EWS)
99+
**/
100+
public void setFolder(String folder) {
101+
this.folder = folder;
102+
}
103+
75104

76105
@Override
77106
public boolean equals(java.lang.Object o) {
@@ -83,12 +112,13 @@ public boolean equals(java.lang.Object o) {
83112
}
84113
EmailThreadReadFlagRq emailThreadReadFlagRq = (EmailThreadReadFlagRq) o;
85114
return ObjectUtils.equals(this.isRead, emailThreadReadFlagRq.isRead) &&
115+
ObjectUtils.equals(this.folder, emailThreadReadFlagRq.folder) &&
86116
super.equals(o);
87117
}
88118

89119
@Override
90120
public int hashCode() {
91-
return ObjectUtils.hashCodeMulti(isRead, super.hashCode());
121+
return ObjectUtils.hashCodeMulti(isRead, folder, super.hashCode());
92122
}
93123

94124

@@ -101,6 +131,7 @@ public String toString() {
101131
sb.append(" secondAccount: ").append(toIndentedString(getSecondAccount())).append("\n");
102132
sb.append(" storageFolder: ").append(toIndentedString(getStorageFolder())).append("\n");
103133
sb.append(" isRead: ").append(toIndentedString(isIsRead())).append("\n");
134+
sb.append(" folder: ").append(toIndentedString(getFolder())).append("\n");
104135
sb.append("}");
105136
return sb.toString();
106137
}
@@ -126,13 +157,15 @@ public EmailThreadReadFlagRq() {
126157
* @param secondAccount Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP)
127158
* @param storageFolder Storage folder location of account files
128159
* @param isRead Read flag to set. \&quot;true\&quot; by default
160+
* @param folder Specifies account folder to get thread from (required for some account types, such as EWS)
129161
*/
130-
public EmailThreadReadFlagRq(String firstAccount, String secondAccount, StorageFolderLocation storageFolder, Boolean isRead) {
162+
public EmailThreadReadFlagRq(String firstAccount, String secondAccount, StorageFolderLocation storageFolder, Boolean isRead, String folder) {
131163
super();
132164
setFirstAccount(firstAccount);
133165
setSecondAccount(secondAccount);
134166
setStorageFolder(storageFolder);
135167
setIsRead(isRead);
168+
setFolder(folder);
136169
}
137170

138171
}

src/main/java/com/aspose/email/cloud/sdk/model/requests/GetEmailThreadRequestData.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,16 @@ public class GetEmailThreadRequestData
3939
* @param threadId Thread identifier
4040
* @param firstAccount Email account
4141
* @param secondAccount Additional email account (for example, firstAccount could be IMAP, and second one could be SMTP)
42+
* @param folder Specifies account folder to get thread from (required for some account types, such as EWS)
4243
* @param storage Storage name where account file(s) located
4344
* @param storageFolder Folder in storage where account file(s) located
4445
**/
45-
public GetEmailThreadRequestData(String threadId, String firstAccount, String secondAccount, String storage, String storageFolder)
46+
public GetEmailThreadRequestData(String threadId, String firstAccount, String secondAccount, String folder, String storage, String storageFolder)
4647
{
4748
this.threadId = threadId;
4849
this.firstAccount = firstAccount;
4950
this.secondAccount = secondAccount;
51+
this.folder = folder;
5052
this.storage = storage;
5153
this.storageFolder = storageFolder;
5254
}
@@ -66,6 +68,11 @@ public GetEmailThreadRequestData(String threadId, String firstAccount, String se
6668
**/
6769
public String secondAccount;
6870

71+
/**
72+
* Specifies account folder to get thread from (required for some account types, such as EWS)
73+
**/
74+
public String folder;
75+
6976
/**
7077
* Storage name where account file(s) located
7178
**/

0 commit comments

Comments
 (0)