public final class ChannelSection 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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
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.
|
String |
getEtag()
Etag of this resource.
|
String |
getId()
The ID that YouTube uses to uniquely identify the channel section.
|
String |
getKind()
Identifies what kind of resource this is.
|
Map<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(String fieldName,
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(String etag)
Etag of this resource.
|
ChannelSection |
setId(String id)
The ID that YouTube uses to uniquely identify the channel section.
|
ChannelSection |
setKind(String kind)
Identifies what kind of resource this is.
|
ChannelSection |
setLocalizations(Map<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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public ChannelSectionContentDetails getContentDetails()
null
for nonepublic ChannelSection setContentDetails(ChannelSectionContentDetails contentDetails)
contentDetails
- contentDetails or null
for nonepublic String getEtag()
null
for nonepublic ChannelSection setEtag(String etag)
etag
- etag or null
for nonepublic String getId()
null
for nonepublic ChannelSection setId(String id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic ChannelSection setKind(String kind)
kind
- kind or null
for nonepublic Map<String,ChannelSectionLocalization> getLocalizations()
null
for nonepublic ChannelSection setLocalizations(Map<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(String fieldName, Object value)
set
in class GenericJson
public ChannelSection clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.