public final class TurnBasedMatchParticipant
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 |
|---|
TurnBasedMatchParticipant() |
| Modifier and Type | Method and Description |
|---|---|
TurnBasedMatchParticipant |
clone() |
java.lang.Boolean |
getAutoMatched()
True if this participant was auto-matched with the requesting player.
|
AnonymousPlayer |
getAutoMatchedPlayer()
Information about a player that has been anonymously auto-matched against the requesting
player.
|
java.lang.String |
getId()
An identifier for the participant in the scope of the match.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
Player |
getPlayer()
Information about the player.
|
java.lang.String |
getStatus()
The status of the participant with respect to the match.
|
TurnBasedMatchParticipant |
set(java.lang.String fieldName,
java.lang.Object value) |
TurnBasedMatchParticipant |
setAutoMatched(java.lang.Boolean autoMatched)
True if this participant was auto-matched with the requesting player.
|
TurnBasedMatchParticipant |
setAutoMatchedPlayer(AnonymousPlayer autoMatchedPlayer)
Information about a player that has been anonymously auto-matched against the requesting
player.
|
TurnBasedMatchParticipant |
setId(java.lang.String id)
An identifier for the participant in the scope of the match.
|
TurnBasedMatchParticipant |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
TurnBasedMatchParticipant |
setPlayer(Player player)
Information about the player.
|
TurnBasedMatchParticipant |
setStatus(java.lang.String status)
The status of the participant with respect to the match.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Boolean getAutoMatched()
null for nonepublic TurnBasedMatchParticipant setAutoMatched(java.lang.Boolean autoMatched)
autoMatched - autoMatched or null for nonepublic AnonymousPlayer getAutoMatchedPlayer()
null for nonepublic TurnBasedMatchParticipant setAutoMatchedPlayer(AnonymousPlayer autoMatchedPlayer)
autoMatchedPlayer - autoMatchedPlayer or null for nonepublic java.lang.String getId()
null for nonepublic TurnBasedMatchParticipant setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic TurnBasedMatchParticipant setKind(java.lang.String kind)
kind - kind or null for nonepublic Player getPlayer()
null for nonepublic TurnBasedMatchParticipant setPlayer(Player player)
player - player or null for nonepublic java.lang.String getStatus()
null for nonepublic TurnBasedMatchParticipant setStatus(java.lang.String status)
status - status or null for nonepublic TurnBasedMatchParticipant set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic TurnBasedMatchParticipant clone()
clone in class com.google.api.client.json.GenericJson