public final class TurnBasedMatchTurn extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
TurnBasedMatchTurn() |
| Modifier and Type | Method and Description |
|---|---|
TurnBasedMatchTurn |
clone() |
TurnBasedMatchDataRequest |
getData()
The shared game state data after the turn is over.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
Integer |
getMatchVersion()
The version of this match: an increasing counter, used to avoid out-of-date updates to the
match.
|
String |
getPendingParticipantId()
The ID of the participant who should take their turn next.
|
List<ParticipantResult> |
getResults()
The match results for the participants in the match.
|
TurnBasedMatchTurn |
set(String fieldName,
Object value) |
TurnBasedMatchTurn |
setData(TurnBasedMatchDataRequest data)
The shared game state data after the turn is over.
|
TurnBasedMatchTurn |
setKind(String kind)
Uniquely identifies the type of this resource.
|
TurnBasedMatchTurn |
setMatchVersion(Integer matchVersion)
The version of this match: an increasing counter, used to avoid out-of-date updates to the
match.
|
TurnBasedMatchTurn |
setPendingParticipantId(String pendingParticipantId)
The ID of the participant who should take their turn next.
|
TurnBasedMatchTurn |
setResults(List<ParticipantResult> results)
The match results for the participants in the match.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic TurnBasedMatchDataRequest getData()
null for nonepublic TurnBasedMatchTurn setData(TurnBasedMatchDataRequest data)
data - data or null for nonepublic String getKind()
null for nonepublic TurnBasedMatchTurn setKind(String kind)
kind - kind or null for nonepublic Integer getMatchVersion()
null for nonepublic TurnBasedMatchTurn setMatchVersion(Integer matchVersion)
matchVersion - matchVersion or null for nonepublic String getPendingParticipantId()
null for nonepublic TurnBasedMatchTurn setPendingParticipantId(String pendingParticipantId)
pendingParticipantId - pendingParticipantId or null for nonepublic List<ParticipantResult> getResults()
null for nonepublic TurnBasedMatchTurn setResults(List<ParticipantResult> results)
results - results or null for nonepublic TurnBasedMatchTurn set(String fieldName, Object value)
set in class GenericJsonpublic TurnBasedMatchTurn clone()
clone in class GenericJson