public class Games.QuestMilestones.Claim extends GamesRequest<Void>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Games.QuestMilestones.Claim(String questId,
String milestoneId,
Long requestId)
Report that a reward for the milestone corresponding to milestoneId for the quest corresponding
to questId has been claimed by the currently authorized user.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMilestoneId()
The ID of the milestone.
|
String |
getQuestId()
The ID of the quest.
|
Long |
getRequestId()
A numeric ID to ensure that the request is handled correctly across retries.
|
Games.QuestMilestones.Claim |
set(String parameterName,
Object value) |
Games.QuestMilestones.Claim |
setAlt(String alt)
Data format for the response.
|
Games.QuestMilestones.Claim |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Games.QuestMilestones.Claim |
setKey(String key)
API key.
|
Games.QuestMilestones.Claim |
setMilestoneId(String milestoneId)
The ID of the milestone.
|
Games.QuestMilestones.Claim |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Games.QuestMilestones.Claim |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Games.QuestMilestones.Claim |
setQuestId(String questId)
The ID of the quest.
|
Games.QuestMilestones.Claim |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Games.QuestMilestones.Claim |
setRequestId(Long requestId)
A numeric ID to ensure that the request is handled correctly across retries.
|
Games.QuestMilestones.Claim |
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.QuestMilestones.Claim(String questId, String milestoneId, Long requestId)
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.milestoneId - The ID of the milestone.requestId - A numeric ID to ensure that the request is handled correctly across retries. Your client application
must generate this ID randomly.public Games.QuestMilestones.Claim setAlt(String alt)
GamesRequestsetAlt in class GamesRequest<Void>public Games.QuestMilestones.Claim setFields(String fields)
GamesRequestsetFields in class GamesRequest<Void>public Games.QuestMilestones.Claim setKey(String key)
GamesRequestsetKey in class GamesRequest<Void>public Games.QuestMilestones.Claim setOauthToken(String oauthToken)
GamesRequestsetOauthToken in class GamesRequest<Void>public Games.QuestMilestones.Claim setPrettyPrint(Boolean prettyPrint)
GamesRequestsetPrettyPrint in class GamesRequest<Void>public Games.QuestMilestones.Claim setQuotaUser(String quotaUser)
GamesRequestsetQuotaUser in class GamesRequest<Void>public Games.QuestMilestones.Claim setUserIp(String userIp)
GamesRequestsetUserIp in class GamesRequest<Void>public String getQuestId()
public Games.QuestMilestones.Claim setQuestId(String questId)
public String getMilestoneId()
public Games.QuestMilestones.Claim setMilestoneId(String milestoneId)
public Long getRequestId()
public Games.QuestMilestones.Claim setRequestId(Long requestId)
public Games.QuestMilestones.Claim set(String parameterName, Object value)
set in class GamesRequest<Void>