public final class SmtpMsa
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Gmail API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
SmtpMsa() |
| Modifier and Type | Method and Description |
|---|---|
SmtpMsa |
clone() |
java.lang.String |
getHost()
The hostname of the SMTP service.
|
java.lang.String |
getPassword()
The password that will be used for authentication with the SMTP service.
|
java.lang.Integer |
getPort()
The port of the SMTP service.
|
java.lang.String |
getSecurityMode()
The protocol that will be used to secure communication with the SMTP service.
|
java.lang.String |
getUsername()
The username that will be used for authentication with the SMTP service.
|
SmtpMsa |
set(java.lang.String fieldName,
java.lang.Object value) |
SmtpMsa |
setHost(java.lang.String host)
The hostname of the SMTP service.
|
SmtpMsa |
setPassword(java.lang.String password)
The password that will be used for authentication with the SMTP service.
|
SmtpMsa |
setPort(java.lang.Integer port)
The port of the SMTP service.
|
SmtpMsa |
setSecurityMode(java.lang.String securityMode)
The protocol that will be used to secure communication with the SMTP service.
|
SmtpMsa |
setUsername(java.lang.String username)
The username that will be used for authentication with the SMTP service.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getHost()
null for nonepublic SmtpMsa setHost(java.lang.String host)
host - host or null for nonepublic java.lang.String getPassword()
null for nonepublic SmtpMsa setPassword(java.lang.String password)
password - password or null for nonepublic java.lang.Integer getPort()
null for nonepublic SmtpMsa setPort(java.lang.Integer port)
port - port or null for nonepublic java.lang.String getSecurityMode()
null for nonepublic SmtpMsa setSecurityMode(java.lang.String securityMode)
securityMode - securityMode or null for nonepublic java.lang.String getUsername()
null for nonepublic SmtpMsa setUsername(java.lang.String username)
username - username or null for nonepublic SmtpMsa set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic SmtpMsa clone()
clone in class com.google.api.client.json.GenericJson