public final class Thumbnail
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 YouTube Data 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 |
|---|
Thumbnail() |
| Modifier and Type | Method and Description |
|---|---|
Thumbnail |
clone() |
java.lang.Long |
getHeight()
(Optional) Height of the thumbnail image.
|
java.lang.String |
getUrl()
The thumbnail image's URL.
|
java.lang.Long |
getWidth()
(Optional) Width of the thumbnail image.
|
Thumbnail |
set(java.lang.String fieldName,
java.lang.Object value) |
Thumbnail |
setHeight(java.lang.Long height)
(Optional) Height of the thumbnail image.
|
Thumbnail |
setUrl(java.lang.String url)
The thumbnail image's URL.
|
Thumbnail |
setWidth(java.lang.Long width)
(Optional) Width of the thumbnail image.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Long getHeight()
null for nonepublic Thumbnail setHeight(java.lang.Long height)
height - height or null for nonepublic java.lang.String getUrl()
null for nonepublic Thumbnail setUrl(java.lang.String url)
url - url or null for nonepublic java.lang.Long getWidth()
null for nonepublic Thumbnail setWidth(java.lang.Long width)
width - width or null for nonepublic Thumbnail set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Thumbnail clone()
clone in class com.google.api.client.json.GenericJson