public final class WatchSettings
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 |
|---|
WatchSettings() |
| Modifier and Type | Method and Description |
|---|---|
WatchSettings |
clone() |
java.lang.String |
getBackgroundColor()
The text color for the video watch page's branded area.
|
java.lang.String |
getFeaturedPlaylistId()
An ID that uniquely identifies a playlist that displays next to the video player.
|
java.lang.String |
getTextColor()
The background color for the video watch page's branded area.
|
WatchSettings |
set(java.lang.String fieldName,
java.lang.Object value) |
WatchSettings |
setBackgroundColor(java.lang.String backgroundColor)
The text color for the video watch page's branded area.
|
WatchSettings |
setFeaturedPlaylistId(java.lang.String featuredPlaylistId)
An ID that uniquely identifies a playlist that displays next to the video player.
|
WatchSettings |
setTextColor(java.lang.String textColor)
The background color for the video watch page's branded area.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getBackgroundColor()
null for nonepublic WatchSettings setBackgroundColor(java.lang.String backgroundColor)
backgroundColor - backgroundColor or null for nonepublic java.lang.String getFeaturedPlaylistId()
null for nonepublic WatchSettings setFeaturedPlaylistId(java.lang.String featuredPlaylistId)
featuredPlaylistId - featuredPlaylistId or null for nonepublic java.lang.String getTextColor()
null for nonepublic WatchSettings setTextColor(java.lang.String textColor)
textColor - textColor or null for nonepublic WatchSettings set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic WatchSettings clone()
clone in class com.google.api.client.json.GenericJson