public final class ChannelSectionSnippet 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. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ChannelSectionSnippet() |
Modifier and Type | Method and Description |
---|---|
ChannelSectionSnippet |
clone() |
String |
getChannelId()
The ID that YouTube uses to uniquely identify the channel that published the channelSection.
|
Long |
getPosition()
The position of the channelSection in the channel.
|
String |
getStyle()
The style of the channelSection.
|
String |
getTitle()
The channelSection's title for multiple_playlists and multiple_channels.
|
String |
getType()
The type of the channelSection.
|
ChannelSectionSnippet |
set(String fieldName,
Object value) |
ChannelSectionSnippet |
setChannelId(String channelId)
The ID that YouTube uses to uniquely identify the channel that published the channelSection.
|
ChannelSectionSnippet |
setPosition(Long position)
The position of the channelSection in the channel.
|
ChannelSectionSnippet |
setStyle(String style)
The style of the channelSection.
|
ChannelSectionSnippet |
setTitle(String title)
The channelSection's title for multiple_playlists and multiple_channels.
|
ChannelSectionSnippet |
setType(String type)
The type of the channelSection.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getChannelId()
null
for nonepublic ChannelSectionSnippet setChannelId(String channelId)
channelId
- channelId or null
for nonepublic Long getPosition()
null
for nonepublic ChannelSectionSnippet setPosition(Long position)
position
- position or null
for nonepublic String getStyle()
null
for nonepublic ChannelSectionSnippet setStyle(String style)
style
- style or null
for nonepublic String getTitle()
null
for nonepublic ChannelSectionSnippet setTitle(String title)
title
- title or null
for nonepublic String getType()
null
for nonepublic ChannelSectionSnippet setType(String type)
type
- type or null
for nonepublic ChannelSectionSnippet set(String fieldName, Object value)
set
in class GenericJson
public ChannelSectionSnippet clone()
clone
in class GenericJson