public class Gmail.Users.Settings.GetAutoForwarding extends GmailRequest<AutoForwarding>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Gmail.Users.Settings.GetAutoForwarding(String userId)
Gets the auto-forwarding setting for the specified account.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Gmail.Users.Settings.GetAutoForwarding(String userId)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
GetAutoForwarding#initialize(com.google.api.client.googleapis.services.AbstractGoogl
eClientRequest)
must be called to initialize this instance immediately after invoking the
constructor.
userId
- User's email address. The special value "me" can be used to indicate the authenticated user.
[default: me]public HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<AutoForwarding>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<AutoForwarding>
IOException
public Gmail.Users.Settings.GetAutoForwarding setAlt(String alt)
GmailRequest
setAlt
in class GmailRequest<AutoForwarding>
public Gmail.Users.Settings.GetAutoForwarding setFields(String fields)
GmailRequest
setFields
in class GmailRequest<AutoForwarding>
public Gmail.Users.Settings.GetAutoForwarding setKey(String key)
GmailRequest
setKey
in class GmailRequest<AutoForwarding>
public Gmail.Users.Settings.GetAutoForwarding setOauthToken(String oauthToken)
GmailRequest
setOauthToken
in class GmailRequest<AutoForwarding>
public Gmail.Users.Settings.GetAutoForwarding setPrettyPrint(Boolean prettyPrint)
GmailRequest
setPrettyPrint
in class GmailRequest<AutoForwarding>
public Gmail.Users.Settings.GetAutoForwarding setQuotaUser(String quotaUser)
GmailRequest
setQuotaUser
in class GmailRequest<AutoForwarding>
public Gmail.Users.Settings.GetAutoForwarding setUserIp(String userIp)
GmailRequest
setUserIp
in class GmailRequest<AutoForwarding>
public String getUserId()
public Gmail.Users.Settings.GetAutoForwarding setUserId(String userId)
public Gmail.Users.Settings.GetAutoForwarding set(String parameterName, Object value)
set
in class GmailRequest<AutoForwarding>