public final class ChannelSection
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 |
---|
ChannelSection() |
Modifier and Type | Method and Description |
---|---|
ChannelSection |
clone() |
ChannelSectionContentDetails |
getContentDetails()
The contentDetails object contains details about the channel section content, such as a list of
playlists or channels featured in the section.
|
java.lang.String |
getEtag()
Etag of this resource.
|
java.lang.String |
getId()
The ID that YouTube uses to uniquely identify the channel section.
|
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
java.util.Map<java.lang.String,ChannelSectionLocalization> |
getLocalizations()
Localizations for different languages
|
ChannelSectionSnippet |
getSnippet()
The snippet object contains basic details about the channel section, such as its type, style
and title.
|
ChannelSectionTargeting |
getTargeting()
The targeting object contains basic targeting settings about the channel section.
|
ChannelSection |
set(java.lang.String fieldName,
java.lang.Object value) |
ChannelSection |
setContentDetails(ChannelSectionContentDetails contentDetails)
The contentDetails object contains details about the channel section content, such as a list of
playlists or channels featured in the section.
|
ChannelSection |
setEtag(java.lang.String etag)
Etag of this resource.
|
ChannelSection |
setId(java.lang.String id)
The ID that YouTube uses to uniquely identify the channel section.
|
ChannelSection |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
ChannelSection |
setLocalizations(java.util.Map<java.lang.String,ChannelSectionLocalization> localizations)
Localizations for different languages
|
ChannelSection |
setSnippet(ChannelSectionSnippet snippet)
The snippet object contains basic details about the channel section, such as its type, style
and title.
|
ChannelSection |
setTargeting(ChannelSectionTargeting targeting)
The targeting object contains basic targeting settings about the channel section.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public ChannelSectionContentDetails getContentDetails()
null
for nonepublic ChannelSection setContentDetails(ChannelSectionContentDetails contentDetails)
contentDetails
- contentDetails or null
for nonepublic java.lang.String getEtag()
null
for nonepublic ChannelSection setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic java.lang.String getId()
null
for nonepublic ChannelSection setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic ChannelSection setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.util.Map<java.lang.String,ChannelSectionLocalization> getLocalizations()
null
for nonepublic ChannelSection setLocalizations(java.util.Map<java.lang.String,ChannelSectionLocalization> localizations)
localizations
- localizations or null
for nonepublic ChannelSectionSnippet getSnippet()
null
for nonepublic ChannelSection setSnippet(ChannelSectionSnippet snippet)
snippet
- snippet or null
for nonepublic ChannelSectionTargeting getTargeting()
null
for nonepublic ChannelSection setTargeting(ChannelSectionTargeting targeting)
targeting
- targeting or null
for nonepublic ChannelSection set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ChannelSection clone()
clone
in class com.google.api.client.json.GenericJson