public class SaveOAuthEmailAccountRequest extends EmailAccountRequest
Constructor and Description |
---|
SaveOAuthEmailAccountRequest() |
SaveOAuthEmailAccountRequest(String host,
Integer port,
String login,
String securityOptions,
String protocolType,
String description,
StorageFileLocation storageFile,
String clientId,
String clientSecret,
String refreshToken)
Initializes a new instance of the SaveOAuthEmailAccountRequest
|
Modifier and Type | Method and Description |
---|---|
SaveOAuthEmailAccountRequest |
clientId(String clientId) |
SaveOAuthEmailAccountRequest |
clientSecret(String clientSecret) |
boolean |
equals(Object o) |
String |
getClientId()
OAuth client identifier
|
String |
getClientSecret()
OAuth client secret
|
String |
getRefreshToken()
OAuth refresh token
|
int |
hashCode() |
SaveOAuthEmailAccountRequest |
refreshToken(String refreshToken) |
void |
setClientId(String clientId) |
void |
setClientSecret(String clientSecret) |
void |
setRefreshToken(String refreshToken) |
String |
toString() |
description, getDescription, getHost, getLogin, getPort, getProtocolType, getSecurityOptions, getStorageFile, host, login, port, protocolType, securityOptions, setDescription, setHost, setLogin, setPort, setProtocolType, setSecurityOptions, setStorageFile, storageFile
public SaveOAuthEmailAccountRequest()
public SaveOAuthEmailAccountRequest(String host, Integer port, String login, String securityOptions, String protocolType, String description, StorageFileLocation storageFile, String clientId, String clientSecret, String refreshToken)
host
- Email account hostport
- Email account portlogin
- Email account loginsecurityOptions
- Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, AutoprotocolType
- Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDavdescription
- Email account descriptionstorageFile
- A storage file location info to store email accountclientId
- OAuth client identifierclientSecret
- OAuth client secretrefreshToken
- OAuth refresh tokenpublic SaveOAuthEmailAccountRequest clientId(String clientId)
public String getClientId()
public void setClientId(String clientId)
public SaveOAuthEmailAccountRequest clientSecret(String clientSecret)
public String getClientSecret()
public void setClientSecret(String clientSecret)
public SaveOAuthEmailAccountRequest refreshToken(String refreshToken)
public String getRefreshToken()
public void setRefreshToken(String refreshToken)
public boolean equals(Object o)
equals
in class EmailAccountRequest
public int hashCode()
hashCode
in class EmailAccountRequest
public String toString()
toString
in class EmailAccountRequest
Copyright © 2020. All rights reserved.