public final class ChannelSectionSnippet
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 |
---|
ChannelSectionSnippet() |
Modifier and Type | Method and Description |
---|---|
ChannelSectionSnippet |
clone() |
java.lang.String |
getChannelId()
The ID that YouTube uses to uniquely identify the channel that published the channel section.
|
java.lang.String |
getDefaultLanguage()
The language of the channel section's default title and description.
|
ChannelSectionLocalization |
getLocalized()
Localized title, read-only.
|
java.lang.Long |
getPosition()
The position of the channel section in the channel.
|
java.lang.String |
getStyle()
The style of the channel section.
|
java.lang.String |
getTitle()
The channel section's title for multiple_playlists and multiple_channels.
|
java.lang.String |
getType()
The type of the channel section.
|
ChannelSectionSnippet |
set(java.lang.String fieldName,
java.lang.Object value) |
ChannelSectionSnippet |
setChannelId(java.lang.String channelId)
The ID that YouTube uses to uniquely identify the channel that published the channel section.
|
ChannelSectionSnippet |
setDefaultLanguage(java.lang.String defaultLanguage)
The language of the channel section's default title and description.
|
ChannelSectionSnippet |
setLocalized(ChannelSectionLocalization localized)
Localized title, read-only.
|
ChannelSectionSnippet |
setPosition(java.lang.Long position)
The position of the channel section in the channel.
|
ChannelSectionSnippet |
setStyle(java.lang.String style)
The style of the channel section.
|
ChannelSectionSnippet |
setTitle(java.lang.String title)
The channel section's title for multiple_playlists and multiple_channels.
|
ChannelSectionSnippet |
setType(java.lang.String type)
The type of 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 java.lang.String getChannelId()
null
for nonepublic ChannelSectionSnippet setChannelId(java.lang.String channelId)
channelId
- channelId or null
for nonepublic java.lang.String getDefaultLanguage()
null
for nonepublic ChannelSectionSnippet setDefaultLanguage(java.lang.String defaultLanguage)
defaultLanguage
- defaultLanguage or null
for nonepublic ChannelSectionLocalization getLocalized()
null
for nonepublic ChannelSectionSnippet setLocalized(ChannelSectionLocalization localized)
localized
- localized or null
for nonepublic java.lang.Long getPosition()
null
for nonepublic ChannelSectionSnippet setPosition(java.lang.Long position)
position
- position or null
for nonepublic java.lang.String getStyle()
null
for nonepublic ChannelSectionSnippet setStyle(java.lang.String style)
style
- style or null
for nonepublic java.lang.String getTitle()
null
for nonepublic ChannelSectionSnippet setTitle(java.lang.String title)
title
- title or null
for nonepublic java.lang.String getType()
null
for nonepublic ChannelSectionSnippet setType(java.lang.String type)
type
- type or null
for nonepublic ChannelSectionSnippet set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ChannelSectionSnippet clone()
clone
in class com.google.api.client.json.GenericJson