public class AccountBaseRequest extends Object
Constructor and Description |
---|
AccountBaseRequest() |
AccountBaseRequest(String firstAccount,
String secondAccount,
StorageFolderLocation storageFolder)
Initializes a new instance of the AccountBaseRequest
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
AccountBaseRequest |
firstAccount(String firstAccount)
Set firstAccount and return this.
|
String |
getFirstAccount()
First account storage file name
|
String |
getSecondAccount()
Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP)
|
StorageFolderLocation |
getStorageFolder()
Storage folder location of account files
|
int |
hashCode() |
AccountBaseRequest |
secondAccount(String secondAccount)
Set secondAccount and return this.
|
void |
setFirstAccount(String firstAccount)
Set firstAccount.
|
void |
setSecondAccount(String secondAccount)
Set secondAccount.
|
void |
setStorageFolder(StorageFolderLocation storageFolder)
Set storageFolder.
|
AccountBaseRequest |
storageFolder(StorageFolderLocation storageFolder)
Set storageFolder and return this.
|
String |
toString() |
public AccountBaseRequest()
public AccountBaseRequest(String firstAccount, String secondAccount, StorageFolderLocation storageFolder)
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 filespublic AccountBaseRequest firstAccount(String firstAccount)
firstAccount
- First account storage file namepublic String getFirstAccount()
public void setFirstAccount(String firstAccount)
firstAccount
- First account storage file namepublic AccountBaseRequest secondAccount(String secondAccount)
secondAccount
- Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP)public String getSecondAccount()
public void setSecondAccount(String secondAccount)
secondAccount
- Additional email account (for example, FirstAccount could be IMAP, and second one could be SMTP)public AccountBaseRequest storageFolder(StorageFolderLocation storageFolder)
storageFolder
- Storage folder location of account filespublic StorageFolderLocation getStorageFolder()
public void setStorageFolder(StorageFolderLocation storageFolder)
storageFolder
- Storage folder location of account filesCopyright © 2020. All rights reserved.