public class AppendEmailAccountBaseRequest extends AccountBaseRequest
Constructor and Description |
---|
AppendEmailAccountBaseRequest() |
AppendEmailAccountBaseRequest(String firstAccount,
String secondAccount,
StorageFolderLocation storageFolder,
String folder,
Boolean markAsSent)
Initializes a new instance of the AppendEmailAccountBaseRequest
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
AppendEmailAccountBaseRequest |
folder(String folder)
Set folder and return this.
|
String |
getFolder()
Email account folder to store a message
|
int |
hashCode() |
Boolean |
isMarkAsSent()
Mark message as sent
|
AppendEmailAccountBaseRequest |
markAsSent(Boolean markAsSent)
Set markAsSent and return this.
|
void |
setFolder(String folder)
Set folder.
|
void |
setMarkAsSent(Boolean markAsSent)
Set markAsSent.
|
String |
toString() |
firstAccount, getFirstAccount, getSecondAccount, getStorageFolder, secondAccount, setFirstAccount, setSecondAccount, setStorageFolder, storageFolder
public AppendEmailAccountBaseRequest()
public AppendEmailAccountBaseRequest(String firstAccount, String secondAccount, StorageFolderLocation storageFolder, String folder, Boolean markAsSent)
firstAccount
- First account storage file namesecondAccount
- Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP)storageFolder
- Storage folder location of account filesfolder
- Email account folder to store a messagemarkAsSent
- Mark message as sentpublic AppendEmailAccountBaseRequest folder(String folder)
folder
- Email account folder to store a messagepublic String getFolder()
public void setFolder(String folder)
folder
- Email account folder to store a messagepublic AppendEmailAccountBaseRequest markAsSent(Boolean markAsSent)
markAsSent
- Mark message as sentpublic Boolean isMarkAsSent()
public void setMarkAsSent(Boolean markAsSent)
markAsSent
- Mark message as sentpublic boolean equals(Object o)
equals
in class AccountBaseRequest
public int hashCode()
hashCode
in class AccountBaseRequest
public String toString()
toString
in class AccountBaseRequest
Copyright © 2020. All rights reserved.