public final class TurnBasedMatchTurn
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 Google Play Game Services 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 |
|---|
TurnBasedMatchTurn() |
| Modifier and Type | Method and Description |
|---|---|
TurnBasedMatchTurn |
clone() |
TurnBasedMatchDataRequest |
getData()
The shared game state data after the turn is over.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.Integer |
getMatchVersion()
The version of this match: an increasing counter, used to avoid out-of-date updates to the
match.
|
java.lang.String |
getPendingParticipantId()
The ID of the participant who should take their turn next.
|
java.util.List<ParticipantResult> |
getResults()
The match results for the participants in the match.
|
TurnBasedMatchTurn |
set(java.lang.String fieldName,
java.lang.Object value) |
TurnBasedMatchTurn |
setData(TurnBasedMatchDataRequest data)
The shared game state data after the turn is over.
|
TurnBasedMatchTurn |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
TurnBasedMatchTurn |
setMatchVersion(java.lang.Integer matchVersion)
The version of this match: an increasing counter, used to avoid out-of-date updates to the
match.
|
TurnBasedMatchTurn |
setPendingParticipantId(java.lang.String pendingParticipantId)
The ID of the participant who should take their turn next.
|
TurnBasedMatchTurn |
setResults(java.util.List<ParticipantResult> results)
The match results for the participants in the match.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic TurnBasedMatchDataRequest getData()
null for nonepublic TurnBasedMatchTurn setData(TurnBasedMatchDataRequest data)
data - data or null for nonepublic java.lang.String getKind()
null for nonepublic TurnBasedMatchTurn setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.Integer getMatchVersion()
null for nonepublic TurnBasedMatchTurn setMatchVersion(java.lang.Integer matchVersion)
matchVersion - matchVersion or null for nonepublic java.lang.String getPendingParticipantId()
null for nonepublic TurnBasedMatchTurn setPendingParticipantId(java.lang.String pendingParticipantId)
pendingParticipantId - pendingParticipantId or null for nonepublic java.util.List<ParticipantResult> getResults()
null for nonepublic TurnBasedMatchTurn setResults(java.util.List<ParticipantResult> results)
results - results or null for nonepublic TurnBasedMatchTurn set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic TurnBasedMatchTurn clone()
clone in class com.google.api.client.json.GenericJson