public final class Instance
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 |
|---|
Instance() |
| Modifier and Type | Method and Description |
|---|---|
Instance |
clone() |
java.lang.String |
getAcquisitionUri()
URI which shows where a user can acquire this instance.
|
InstanceAndroidDetails |
getAndroidInstance()
Platform dependent details for Android.
|
InstanceIosDetails |
getIosInstance()
Platform dependent details for iOS.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.String |
getName()
Localized display name.
|
java.lang.String |
getPlatformType()
The platform type.
|
java.lang.Boolean |
getRealtimePlay()
Flag to show if this game instance supports realtime play.
|
java.lang.Boolean |
getTurnBasedPlay()
Flag to show if this game instance supports turn based play.
|
InstanceWebDetails |
getWebInstance()
Platform dependent details for Web.
|
Instance |
set(java.lang.String fieldName,
java.lang.Object value) |
Instance |
setAcquisitionUri(java.lang.String acquisitionUri)
URI which shows where a user can acquire this instance.
|
Instance |
setAndroidInstance(InstanceAndroidDetails androidInstance)
Platform dependent details for Android.
|
Instance |
setIosInstance(InstanceIosDetails iosInstance)
Platform dependent details for iOS.
|
Instance |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
Instance |
setName(java.lang.String name)
Localized display name.
|
Instance |
setPlatformType(java.lang.String platformType)
The platform type.
|
Instance |
setRealtimePlay(java.lang.Boolean realtimePlay)
Flag to show if this game instance supports realtime play.
|
Instance |
setTurnBasedPlay(java.lang.Boolean turnBasedPlay)
Flag to show if this game instance supports turn based play.
|
Instance |
setWebInstance(InstanceWebDetails webInstance)
Platform dependent details for Web.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getAcquisitionUri()
null for nonepublic Instance setAcquisitionUri(java.lang.String acquisitionUri)
acquisitionUri - acquisitionUri or null for nonepublic InstanceAndroidDetails getAndroidInstance()
null for nonepublic Instance setAndroidInstance(InstanceAndroidDetails androidInstance)
androidInstance - androidInstance or null for nonepublic InstanceIosDetails getIosInstance()
null for nonepublic Instance setIosInstance(InstanceIosDetails iosInstance)
iosInstance - iosInstance or null for nonepublic java.lang.String getKind()
null for nonepublic Instance setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic Instance setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getPlatformType()
null for nonepublic Instance setPlatformType(java.lang.String platformType)
platformType - platformType or null for nonepublic java.lang.Boolean getRealtimePlay()
null for nonepublic Instance setRealtimePlay(java.lang.Boolean realtimePlay)
realtimePlay - realtimePlay or null for nonepublic java.lang.Boolean getTurnBasedPlay()
null for nonepublic Instance setTurnBasedPlay(java.lang.Boolean turnBasedPlay)
turnBasedPlay - turnBasedPlay or null for nonepublic InstanceWebDetails getWebInstance()
null for nonepublic Instance setWebInstance(InstanceWebDetails webInstance)
webInstance - webInstance or null for nonepublic Instance set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Instance clone()
clone in class com.google.api.client.json.GenericJson