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