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 Games 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ImageAsset() |
| Modifier and Type | Method and Description |
|---|---|
ImageAsset |
clone() |
Integer |
getHeight()
The height of the asset.
|
String |
getKind()
Uniquely identifies the type of this resource.
|
String |
getName()
The name of the asset.
|
String |
getUrl()
The URL of the asset.
|
Integer |
getWidth()
The width of the asset.
|
ImageAsset |
set(String fieldName,
Object value) |
ImageAsset |
setHeight(Integer height)
The height of the asset.
|
ImageAsset |
setKind(String kind)
Uniquely identifies the type of this resource.
|
ImageAsset |
setName(String name)
The name of the asset.
|
ImageAsset |
setUrl(String url)
The URL of the asset.
|
ImageAsset |
setWidth(Integer width)
The width of the asset.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Integer getHeight()
null for nonepublic ImageAsset setHeight(Integer height)
height - height or null for nonepublic String getKind()
null for nonepublic ImageAsset setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic ImageAsset setName(String name)
name - name or null for nonepublic String getUrl()
null for nonepublic ImageAsset setUrl(String url)
url - url or null for nonepublic Integer getWidth()
null for nonepublic ImageAsset setWidth(Integer width)
width - width or null for nonepublic ImageAsset set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ImageAsset clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.