public final class RoomStatus
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 |
|---|
RoomStatus() |
| Modifier and Type | Method and Description |
|---|---|
RoomStatus |
clone() |
RoomAutoMatchStatus |
getAutoMatchingStatus()
Auto-matching status for this room.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.util.List<RoomParticipant> |
getParticipants()
The participants involved in the room, along with their statuses.
|
java.lang.String |
getRoomId()
Globally unique ID for a room.
|
java.lang.String |
getStatus()
The status of the room.
|
java.lang.Integer |
getStatusVersion()
The version of the status for the room: an increasing counter, used by the client to ignore
out-of-order updates to room status.
|
RoomStatus |
set(java.lang.String fieldName,
java.lang.Object value) |
RoomStatus |
setAutoMatchingStatus(RoomAutoMatchStatus autoMatchingStatus)
Auto-matching status for this room.
|
RoomStatus |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
RoomStatus |
setParticipants(java.util.List<RoomParticipant> participants)
The participants involved in the room, along with their statuses.
|
RoomStatus |
setRoomId(java.lang.String roomId)
Globally unique ID for a room.
|
RoomStatus |
setStatus(java.lang.String status)
The status of the room.
|
RoomStatus |
setStatusVersion(java.lang.Integer statusVersion)
The version of the status for the room: an increasing counter, used by the client to ignore
out-of-order updates to room status.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic RoomAutoMatchStatus getAutoMatchingStatus()
null for nonepublic RoomStatus setAutoMatchingStatus(RoomAutoMatchStatus autoMatchingStatus)
autoMatchingStatus - autoMatchingStatus or null for nonepublic java.lang.String getKind()
null for nonepublic RoomStatus setKind(java.lang.String kind)
kind - kind or null for nonepublic java.util.List<RoomParticipant> getParticipants()
null for nonepublic RoomStatus setParticipants(java.util.List<RoomParticipant> participants)
participants - participants or null for nonepublic java.lang.String getRoomId()
null for nonepublic RoomStatus setRoomId(java.lang.String roomId)
roomId - roomId or null for nonepublic java.lang.String getStatus()
null for nonepublic RoomStatus setStatus(java.lang.String status)
status - status or null for nonepublic java.lang.Integer getStatusVersion()
null for nonepublic RoomStatus setStatusVersion(java.lang.Integer statusVersion)
statusVersion - statusVersion or null for nonepublic RoomStatus set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic RoomStatus clone()
clone in class com.google.api.client.json.GenericJson