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