public final class Image 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 Android Developer API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Image() |
Modifier and Type | Method and Description |
---|---|
Image |
clone() |
String |
getId()
A unique id representing this image.
|
String |
getSha1()
A sha1 hash of the image that was uploaded.
|
String |
getUrl()
A URL that will serve a preview of the image.
|
Image |
set(String fieldName,
Object value) |
Image |
setId(String id)
A unique id representing this image.
|
Image |
setSha1(String sha1)
A sha1 hash of the image that was uploaded.
|
Image |
setUrl(String url)
A URL that will serve a preview of the image.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getId()
null
for nonepublic Image setId(String id)
id
- id or null
for nonepublic String getSha1()
null
for nonepublic Image setSha1(String sha1)
sha1
- sha1 or null
for nonepublic String getUrl()
null
for nonepublic Image setUrl(String url)
url
- url or null
for nonepublic Image set(String fieldName, Object value)
set
in class GenericJson
public Image clone()
clone
in class GenericJson