public class Games.Quests.Accept extends GamesRequest<Quest>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Games.Quests.Accept(String questId)
Indicates that the currently authorized user will participate in the quest.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLanguage()
The preferred language to use for strings returned by this method.
|
String |
getQuestId()
The ID of the quest.
|
Games.Quests.Accept |
set(String parameterName,
Object value) |
Games.Quests.Accept |
setAlt(String alt)
Data format for the response.
|
Games.Quests.Accept |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Games.Quests.Accept |
setKey(String key)
API key.
|
Games.Quests.Accept |
setLanguage(String language)
The preferred language to use for strings returned by this method.
|
Games.Quests.Accept |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Games.Quests.Accept |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Games.Quests.Accept |
setQuestId(String questId)
The ID of the quest.
|
Games.Quests.Accept |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Games.Quests.Accept |
setUserIp(String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesprotected Games.Quests.Accept(String questId)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Games.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
questId - The ID of the quest.public Games.Quests.Accept setAlt(String alt)
GamesRequestsetAlt in class GamesRequest<Quest>public Games.Quests.Accept setFields(String fields)
GamesRequestsetFields in class GamesRequest<Quest>public Games.Quests.Accept setKey(String key)
GamesRequestsetKey in class GamesRequest<Quest>public Games.Quests.Accept setOauthToken(String oauthToken)
GamesRequestsetOauthToken in class GamesRequest<Quest>public Games.Quests.Accept setPrettyPrint(Boolean prettyPrint)
GamesRequestsetPrettyPrint in class GamesRequest<Quest>public Games.Quests.Accept setQuotaUser(String quotaUser)
GamesRequestsetQuotaUser in class GamesRequest<Quest>public Games.Quests.Accept setUserIp(String userIp)
GamesRequestsetUserIp in class GamesRequest<Quest>public String getQuestId()
public Games.Quests.Accept setQuestId(String questId)
public String getLanguage()
public Games.Quests.Accept setLanguage(String language)
public Games.Quests.Accept set(String parameterName, Object value)
set in class GamesRequest<Quest>