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 Developer API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
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
Copyright © 2011–2019 Google. All rights reserved.