public final class PopSettings
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 |
---|
PopSettings() |
Modifier and Type | Method and Description |
---|---|
PopSettings |
clone() |
java.lang.String |
getAccessWindow()
The range of messages which are accessible via POP.
|
java.lang.String |
getDisposition()
The action that will be executed on a message after it has been fetched via POP.
|
PopSettings |
set(java.lang.String fieldName,
java.lang.Object value) |
PopSettings |
setAccessWindow(java.lang.String accessWindow)
The range of messages which are accessible via POP.
|
PopSettings |
setDisposition(java.lang.String disposition)
The action that will be executed on a message after it has been fetched via POP.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAccessWindow()
null
for nonepublic PopSettings setAccessWindow(java.lang.String accessWindow)
accessWindow
- accessWindow or null
for nonepublic java.lang.String getDisposition()
null
for nonepublic PopSettings setDisposition(java.lang.String disposition)
disposition
- disposition or null
for nonepublic PopSettings set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public PopSettings clone()
clone
in class com.google.api.client.json.GenericJson