public final class ImageAsset
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 |
|---|
ImageAsset() |
| Modifier and Type | Method and Description |
|---|---|
ImageAsset |
clone() |
java.lang.Integer |
getHeight()
The height of the asset.
|
java.lang.String |
getKind()
Uniquely identifies the type of this resource.
|
java.lang.String |
getName()
The name of the asset.
|
java.lang.String |
getUrl()
The URL of the asset.
|
java.lang.Integer |
getWidth()
The width of the asset.
|
ImageAsset |
set(java.lang.String fieldName,
java.lang.Object value) |
ImageAsset |
setHeight(java.lang.Integer height)
The height of the asset.
|
ImageAsset |
setKind(java.lang.String kind)
Uniquely identifies the type of this resource.
|
ImageAsset |
setName(java.lang.String name)
The name of the asset.
|
ImageAsset |
setUrl(java.lang.String url)
The URL of the asset.
|
ImageAsset |
setWidth(java.lang.Integer width)
The width of the asset.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Integer getHeight()
null for nonepublic ImageAsset setHeight(java.lang.Integer height)
height - height or null for nonepublic java.lang.String getKind()
null for nonepublic ImageAsset setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic ImageAsset setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getUrl()
null for nonepublic ImageAsset setUrl(java.lang.String url)
url - url or null for nonepublic java.lang.Integer getWidth()
null for nonepublic ImageAsset setWidth(java.lang.Integer width)
width - width or null for nonepublic ImageAsset set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ImageAsset clone()
clone in class com.google.api.client.json.GenericJson