public final class ChannelSnippet
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 |
---|
ChannelSnippet() |
Modifier and Type | Method and Description |
---|---|
ChannelSnippet |
clone() |
java.lang.String |
getCountry()
The country of the channel.
|
java.lang.String |
getCustomUrl()
The custom url of the channel.
|
java.lang.String |
getDefaultLanguage()
The language of the channel's default title and description.
|
java.lang.String |
getDescription()
The description of the channel.
|
ChannelLocalization |
getLocalized()
Localized title and description, read-only.
|
com.google.api.client.util.DateTime |
getPublishedAt()
The date and time that the channel was created.
|
ThumbnailDetails |
getThumbnails()
A map of thumbnail images associated with the channel.
|
java.lang.String |
getTitle()
The channel's title.
|
ChannelSnippet |
set(java.lang.String fieldName,
java.lang.Object value) |
ChannelSnippet |
setCountry(java.lang.String country)
The country of the channel.
|
ChannelSnippet |
setCustomUrl(java.lang.String customUrl)
The custom url of the channel.
|
ChannelSnippet |
setDefaultLanguage(java.lang.String defaultLanguage)
The language of the channel's default title and description.
|
ChannelSnippet |
setDescription(java.lang.String description)
The description of the channel.
|
ChannelSnippet |
setLocalized(ChannelLocalization localized)
Localized title and description, read-only.
|
ChannelSnippet |
setPublishedAt(com.google.api.client.util.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(java.lang.String title)
The channel's title.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getCountry()
null
for nonepublic ChannelSnippet setCountry(java.lang.String country)
country
- country or null
for nonepublic java.lang.String getCustomUrl()
null
for nonepublic ChannelSnippet setCustomUrl(java.lang.String customUrl)
customUrl
- customUrl or null
for nonepublic java.lang.String getDefaultLanguage()
null
for nonepublic ChannelSnippet setDefaultLanguage(java.lang.String defaultLanguage)
defaultLanguage
- defaultLanguage or null
for nonepublic java.lang.String getDescription()
null
for nonepublic ChannelSnippet setDescription(java.lang.String description)
description
- description or null
for nonepublic ChannelLocalization getLocalized()
null
for nonepublic ChannelSnippet setLocalized(ChannelLocalization localized)
localized
- localized or null
for nonepublic com.google.api.client.util.DateTime getPublishedAt()
null
for nonepublic ChannelSnippet setPublishedAt(com.google.api.client.util.DateTime publishedAt)
publishedAt
- publishedAt or null
for nonepublic ThumbnailDetails getThumbnails()
null
for nonepublic ChannelSnippet setThumbnails(ThumbnailDetails thumbnails)
thumbnails
- thumbnails or null
for nonepublic java.lang.String getTitle()
null
for nonepublic ChannelSnippet setTitle(java.lang.String title)
title
- title or null
for nonepublic ChannelSnippet set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ChannelSnippet clone()
clone
in class com.google.api.client.json.GenericJson