public final class ChannelSnippet 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 YouTube Data API v3. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ChannelSnippet() |
| Modifier and Type | Method and Description |
|---|---|
ChannelSnippet |
clone() |
String |
getCountry()
The country of the channel.
|
String |
getCustomUrl()
The custom url of the channel.
|
String |
getDefaultLanguage()
The language of the channel's default title and description.
|
String |
getDescription()
The description of the channel.
|
ChannelLocalization |
getLocalized()
Localized title and description, read-only.
|
DateTime |
getPublishedAt()
The date and time that the channel was created.
|
ThumbnailDetails |
getThumbnails()
A map of thumbnail images associated with the channel.
|
String |
getTitle()
The channel's title.
|
ChannelSnippet |
set(String fieldName,
Object value) |
ChannelSnippet |
setCountry(String country)
The country of the channel.
|
ChannelSnippet |
setCustomUrl(String customUrl)
The custom url of the channel.
|
ChannelSnippet |
setDefaultLanguage(String defaultLanguage)
The language of the channel's default title and description.
|
ChannelSnippet |
setDescription(String description)
The description of the channel.
|
ChannelSnippet |
setLocalized(ChannelLocalization localized)
Localized title and description, read-only.
|
ChannelSnippet |
setPublishedAt(DateTime publishedAt)
The date and time that the channel was created.
|
ChannelSnippet |
setThumbnails(ThumbnailDetails thumbnails)
A map of thumbnail images associated with the channel.
|
ChannelSnippet |
setTitle(String title)
The channel's title.
|
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 String getCountry()
null for nonepublic ChannelSnippet setCountry(String country)
country - country or null for nonepublic String getCustomUrl()
null for nonepublic ChannelSnippet setCustomUrl(String customUrl)
customUrl - customUrl or null for nonepublic String getDefaultLanguage()
null for nonepublic ChannelSnippet setDefaultLanguage(String defaultLanguage)
defaultLanguage - defaultLanguage or null for nonepublic String getDescription()
null for nonepublic ChannelSnippet setDescription(String description)
description - description or null for nonepublic ChannelLocalization getLocalized()
null for nonepublic ChannelSnippet setLocalized(ChannelLocalization localized)
localized - localized or null for nonepublic DateTime getPublishedAt()
null for nonepublic ChannelSnippet setPublishedAt(DateTime publishedAt)
publishedAt - publishedAt or null for nonepublic ThumbnailDetails getThumbnails()
null for nonepublic ChannelSnippet setThumbnails(ThumbnailDetails thumbnails)
thumbnails - thumbnails or null for nonepublic String getTitle()
null for nonepublic ChannelSnippet setTitle(String title)
title - title or null for nonepublic ChannelSnippet set(String fieldName, Object value)
set in class GenericJsonpublic ChannelSnippet clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.