public final class ParticipantResult
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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
ParticipantResult() |
| Modifier and Type | Method and Description |
|---|---|
ParticipantResult |
clone() |
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.String |
getParticipantId()
The ID of the participant.
|
java.lang.Integer |
getPlacing()
The placement or ranking of the participant in the match results; a number from one to the
number of participants in the match.
|
java.lang.String |
getResult()
The result of the participant for this match.
|
ParticipantResult |
set(java.lang.String fieldName,
java.lang.Object value) |
ParticipantResult |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
ParticipantResult |
setParticipantId(java.lang.String participantId)
The ID of the participant.
|
ParticipantResult |
setPlacing(java.lang.Integer placing)
The placement or ranking of the participant in the match results; a number from one to the
number of participants in the match.
|
ParticipantResult |
setResult(java.lang.String result)
The result of the participant for this match.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getKind()
null for nonepublic ParticipantResult setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getParticipantId()
null for nonepublic ParticipantResult setParticipantId(java.lang.String participantId)
participantId - participantId or null for nonepublic java.lang.Integer getPlacing()
null for nonepublic ParticipantResult setPlacing(java.lang.Integer placing)
placing - placing or null for nonepublic java.lang.String getResult()
null for nonepublic ParticipantResult setResult(java.lang.String result)
result - result or null for nonepublic ParticipantResult set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ParticipantResult clone()
clone in class com.google.api.client.json.GenericJson