public final class VacationSettings
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: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
VacationSettings() |
Modifier and Type | Method and Description |
---|---|
VacationSettings |
clone() |
java.lang.Boolean |
getEnableAutoReply()
Flag that controls whether Gmail automatically replies to messages.
|
java.lang.Long |
getEndTime()
An optional end time for sending auto-replies (epoch ms).
|
java.lang.String |
getResponseBodyHtml()
Response body in HTML format.
|
java.lang.String |
getResponseBodyPlainText()
Response body in plain text format.
|
java.lang.String |
getResponseSubject()
Optional text to prepend to the subject line in vacation responses.
|
java.lang.Boolean |
getRestrictToContacts()
Flag that determines whether responses are sent to recipients who are not in the user's list of
contacts.
|
java.lang.Boolean |
getRestrictToDomain()
Flag that determines whether responses are sent to recipients who are outside of the user's
domain.
|
java.lang.Long |
getStartTime()
An optional start time for sending auto-replies (epoch ms).
|
VacationSettings |
set(java.lang.String fieldName,
java.lang.Object value) |
VacationSettings |
setEnableAutoReply(java.lang.Boolean enableAutoReply)
Flag that controls whether Gmail automatically replies to messages.
|
VacationSettings |
setEndTime(java.lang.Long endTime)
An optional end time for sending auto-replies (epoch ms).
|
VacationSettings |
setResponseBodyHtml(java.lang.String responseBodyHtml)
Response body in HTML format.
|
VacationSettings |
setResponseBodyPlainText(java.lang.String responseBodyPlainText)
Response body in plain text format.
|
VacationSettings |
setResponseSubject(java.lang.String responseSubject)
Optional text to prepend to the subject line in vacation responses.
|
VacationSettings |
setRestrictToContacts(java.lang.Boolean restrictToContacts)
Flag that determines whether responses are sent to recipients who are not in the user's list of
contacts.
|
VacationSettings |
setRestrictToDomain(java.lang.Boolean restrictToDomain)
Flag that determines whether responses are sent to recipients who are outside of the user's
domain.
|
VacationSettings |
setStartTime(java.lang.Long startTime)
An optional start time for sending auto-replies (epoch ms).
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.Boolean getEnableAutoReply()
null
for nonepublic VacationSettings setEnableAutoReply(java.lang.Boolean enableAutoReply)
enableAutoReply
- enableAutoReply or null
for nonepublic java.lang.Long getEndTime()
null
for nonepublic VacationSettings setEndTime(java.lang.Long endTime)
endTime
- endTime or null
for nonepublic java.lang.String getResponseBodyHtml()
null
for nonepublic VacationSettings setResponseBodyHtml(java.lang.String responseBodyHtml)
responseBodyHtml
- responseBodyHtml or null
for nonepublic java.lang.String getResponseBodyPlainText()
null
for nonepublic VacationSettings setResponseBodyPlainText(java.lang.String responseBodyPlainText)
responseBodyPlainText
- responseBodyPlainText or null
for nonepublic java.lang.String getResponseSubject()
null
for nonepublic VacationSettings setResponseSubject(java.lang.String responseSubject)
responseSubject
- responseSubject or null
for nonepublic java.lang.Boolean getRestrictToContacts()
null
for nonepublic VacationSettings setRestrictToContacts(java.lang.Boolean restrictToContacts)
restrictToContacts
- restrictToContacts or null
for nonepublic java.lang.Boolean getRestrictToDomain()
null
for nonepublic VacationSettings setRestrictToDomain(java.lang.Boolean restrictToDomain)
restrictToDomain
- restrictToDomain or null
for nonepublic java.lang.Long getStartTime()
null
for nonepublic VacationSettings setStartTime(java.lang.Long startTime)
startTime
- startTime or null
for nonepublic VacationSettings set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public VacationSettings clone()
clone
in class com.google.api.client.json.GenericJson