public final class TurnBasedMatch 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 |
|---|
TurnBasedMatch() |
| Modifier and Type | Method and Description |
|---|---|
TurnBasedMatch |
clone() |
String |
getApplicationId()
The ID of the application being played.
|
TurnBasedAutoMatchingCriteria |
getAutoMatchingCriteria()
Criteria for auto-matching players into this match.
|
TurnBasedMatchModification |
getCreationDetails()
Details about the match creation.
|
TurnBasedMatchData |
getData()
The data / game state for this match.
|
String |
getDescription()
This short description is generated by our servers based on turn state and is localized and
worded relative to the player requesting the match.
|
String |
getInviterId()
The ID of the participant that invited the user to the match.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
TurnBasedMatchModification |
getLastUpdateDetails()
Details about the last update to the match.
|
String |
getMatchId()
Globally unique ID for a turn-based match.
|
Integer |
getMatchNumber()
The number of the match in a chain of rematches.
|
Integer |
getMatchVersion()
The version of this match: an increasing counter, used to avoid out-of-date updates to the
match.
|
List<TurnBasedMatchParticipant> |
getParticipants()
The participants involved in the match, along with their statuses.
|
String |
getPendingParticipantId()
The ID of the participant that is taking a turn.
|
TurnBasedMatchData |
getPreviousMatchData()
The data / game state for the previous match; set for the first turn of rematches only.
|
String |
getRematchId()
The ID of a rematch of this match.
|
List<ParticipantResult> |
getResults()
The results reported for this match.
|
String |
getStatus()
The status of the match.
|
String |
getUserMatchStatus()
The status of the current user in the match.
|
Integer |
getVariant()
The variant / mode of the application being played; can be any integer value, or left blank.
|
String |
getWithParticipantId()
The ID of another participant in the match that can be used when describing the participants
the user is playing with.
|
TurnBasedMatch |
set(String fieldName,
Object value) |
TurnBasedMatch |
setApplicationId(String applicationId)
The ID of the application being played.
|
TurnBasedMatch |
setAutoMatchingCriteria(TurnBasedAutoMatchingCriteria autoMatchingCriteria)
Criteria for auto-matching players into this match.
|
TurnBasedMatch |
setCreationDetails(TurnBasedMatchModification creationDetails)
Details about the match creation.
|
TurnBasedMatch |
setData(TurnBasedMatchData data)
The data / game state for this match.
|
TurnBasedMatch |
setDescription(String description)
This short description is generated by our servers based on turn state and is localized and
worded relative to the player requesting the match.
|
TurnBasedMatch |
setInviterId(String inviterId)
The ID of the participant that invited the user to the match.
|
TurnBasedMatch |
setKind(String kind)
Uniquely identifies the type of this resource.
|
TurnBasedMatch |
setLastUpdateDetails(TurnBasedMatchModification lastUpdateDetails)
Details about the last update to the match.
|
TurnBasedMatch |
setMatchId(String matchId)
Globally unique ID for a turn-based match.
|
TurnBasedMatch |
setMatchNumber(Integer matchNumber)
The number of the match in a chain of rematches.
|
TurnBasedMatch |
setMatchVersion(Integer matchVersion)
The version of this match: an increasing counter, used to avoid out-of-date updates to the
match.
|
TurnBasedMatch |
setParticipants(List<TurnBasedMatchParticipant> participants)
The participants involved in the match, along with their statuses.
|
TurnBasedMatch |
setPendingParticipantId(String pendingParticipantId)
The ID of the participant that is taking a turn.
|
TurnBasedMatch |
setPreviousMatchData(TurnBasedMatchData previousMatchData)
The data / game state for the previous match; set for the first turn of rematches only.
|
TurnBasedMatch |
setRematchId(String rematchId)
The ID of a rematch of this match.
|
TurnBasedMatch |
setResults(List<ParticipantResult> results)
The results reported for this match.
|
TurnBasedMatch |
setStatus(String status)
The status of the match.
|
TurnBasedMatch |
setUserMatchStatus(String userMatchStatus)
The status of the current user in the match.
|
TurnBasedMatch |
setVariant(Integer variant)
The variant / mode of the application being played; can be any integer value, or left blank.
|
TurnBasedMatch |
setWithParticipantId(String withParticipantId)
The ID of another participant in the match that can be used when describing the participants
the user is playing with.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getApplicationId()
null for nonepublic TurnBasedMatch setApplicationId(String applicationId)
applicationId - applicationId or null for nonepublic TurnBasedAutoMatchingCriteria getAutoMatchingCriteria()
null for nonepublic TurnBasedMatch setAutoMatchingCriteria(TurnBasedAutoMatchingCriteria autoMatchingCriteria)
autoMatchingCriteria - autoMatchingCriteria or null for nonepublic TurnBasedMatchModification getCreationDetails()
null for nonepublic TurnBasedMatch setCreationDetails(TurnBasedMatchModification creationDetails)
creationDetails - creationDetails or null for nonepublic TurnBasedMatchData getData()
null for nonepublic TurnBasedMatch setData(TurnBasedMatchData data)
data - data or null for nonepublic String getDescription()
null for nonepublic TurnBasedMatch setDescription(String description)
description - description or null for nonepublic String getInviterId()
null for nonepublic TurnBasedMatch setInviterId(String inviterId)
inviterId - inviterId or null for nonepublic String getKind()
null for nonepublic TurnBasedMatch setKind(String kind)
kind - kind or null for nonepublic TurnBasedMatchModification getLastUpdateDetails()
null for nonepublic TurnBasedMatch setLastUpdateDetails(TurnBasedMatchModification lastUpdateDetails)
lastUpdateDetails - lastUpdateDetails or null for nonepublic String getMatchId()
null for nonepublic TurnBasedMatch setMatchId(String matchId)
matchId - matchId or null for nonepublic Integer getMatchNumber()
null for nonepublic TurnBasedMatch setMatchNumber(Integer matchNumber)
matchNumber - matchNumber or null for nonepublic Integer getMatchVersion()
null for nonepublic TurnBasedMatch setMatchVersion(Integer matchVersion)
matchVersion - matchVersion or null for nonepublic List<TurnBasedMatchParticipant> getParticipants()
null for nonepublic TurnBasedMatch setParticipants(List<TurnBasedMatchParticipant> participants)
participants - participants or null for nonepublic String getPendingParticipantId()
null for nonepublic TurnBasedMatch setPendingParticipantId(String pendingParticipantId)
pendingParticipantId - pendingParticipantId or null for nonepublic TurnBasedMatchData getPreviousMatchData()
null for nonepublic TurnBasedMatch setPreviousMatchData(TurnBasedMatchData previousMatchData)
previousMatchData - previousMatchData or null for nonepublic String getRematchId()
null for nonepublic TurnBasedMatch setRematchId(String rematchId)
rematchId - rematchId or null for nonepublic List<ParticipantResult> getResults()
null for nonepublic TurnBasedMatch setResults(List<ParticipantResult> results)
results - results or null for nonepublic String getStatus()
null for nonepublic TurnBasedMatch setStatus(String status)
status - status or null for nonepublic String getUserMatchStatus()
null for nonepublic TurnBasedMatch setUserMatchStatus(String userMatchStatus)
userMatchStatus - userMatchStatus or null for nonepublic Integer getVariant()
null for nonepublic TurnBasedMatch setVariant(Integer variant)
variant - variant or null for nonepublic String getWithParticipantId()
null for nonepublic TurnBasedMatch setWithParticipantId(String withParticipantId)
withParticipantId - withParticipantId or null for nonepublic TurnBasedMatch set(String fieldName, Object value)
set in class GenericJsonpublic TurnBasedMatch clone()
clone in class GenericJson