public final class RoomLeaveRequest 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 |
|---|
RoomLeaveRequest() |
| Modifier and Type | Method and Description |
|---|---|
RoomLeaveRequest |
clone() |
String |
getKind()
Uniquely identifies the type of this resource.
|
RoomLeaveDiagnostics |
getLeaveDiagnostics()
Diagnostics for a player leaving the room.
|
String |
getReason()
Reason for leaving the match.
|
RoomLeaveRequest |
set(String fieldName,
Object value) |
RoomLeaveRequest |
setKind(String kind)
Uniquely identifies the type of this resource.
|
RoomLeaveRequest |
setLeaveDiagnostics(RoomLeaveDiagnostics leaveDiagnostics)
Diagnostics for a player leaving the room.
|
RoomLeaveRequest |
setReason(String reason)
Reason for leaving the match.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getKind()
null for nonepublic RoomLeaveRequest setKind(String kind)
kind - kind or null for nonepublic RoomLeaveDiagnostics getLeaveDiagnostics()
null for nonepublic RoomLeaveRequest setLeaveDiagnostics(RoomLeaveDiagnostics leaveDiagnostics)
leaveDiagnostics - leaveDiagnostics or null for nonepublic String getReason()
null for nonepublic RoomLeaveRequest setReason(String reason)
reason - reason or null for nonepublic RoomLeaveRequest set(String fieldName, Object value)
set in class GenericJsonpublic RoomLeaveRequest clone()
clone in class GenericJson