target.apidocs.com.google.api.services.youtube.model.ChannelSectionSnippet.html Maven / Gradle / Ivy
ChannelSectionSnippet (YouTube Data API v3 v3-rev20230319-2.0.0)
com.google.api.services.youtube.model
Class ChannelSectionSnippet
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.youtube.model.ChannelSectionSnippet
-
public final class ChannelSectionSnippet
extends com.google.api.client.json.GenericJson
Basic details about a channel section, including title, style and position.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
ChannelSectionSnippet()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ChannelSectionSnippet
clone()
String
getChannelId()
The ID that YouTube uses to uniquely identify the channel that published the channel section.
String
getDefaultLanguage()
The language of the channel section's default title and description.
ChannelSectionLocalization
getLocalized()
Localized title, read-only.
Long
getPosition()
The position of the channel section in the channel.
String
getStyle()
The style of the channel section.
String
getTitle()
The channel section's title for multiple_playlists and multiple_channels.
String
getType()
The type of the channel section.
ChannelSectionSnippet
set(String fieldName,
Object value)
ChannelSectionSnippet
setChannelId(String channelId)
The ID that YouTube uses to uniquely identify the channel that published the channel section.
ChannelSectionSnippet
setDefaultLanguage(String defaultLanguage)
The language of the channel section's default title and description.
ChannelSectionSnippet
setLocalized(ChannelSectionLocalization localized)
Localized title, read-only.
ChannelSectionSnippet
setPosition(Long position)
The position of the channel section in the channel.
ChannelSectionSnippet
setStyle(String style)
The style of the channel section.
ChannelSectionSnippet
setTitle(String title)
The channel section's title for multiple_playlists and multiple_channels.
ChannelSectionSnippet
setType(String type)
The type of the channel section.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getChannelId
public String getChannelId()
The ID that YouTube uses to uniquely identify the channel that published the channel section.
- Returns:
- value or
null
for none
-
setChannelId
public ChannelSectionSnippet setChannelId(String channelId)
The ID that YouTube uses to uniquely identify the channel that published the channel section.
- Parameters:
channelId
- channelId or null
for none
-
getDefaultLanguage
public String getDefaultLanguage()
The language of the channel section's default title and description.
- Returns:
- value or
null
for none
-
setDefaultLanguage
public ChannelSectionSnippet setDefaultLanguage(String defaultLanguage)
The language of the channel section's default title and description.
- Parameters:
defaultLanguage
- defaultLanguage or null
for none
-
getLocalized
public ChannelSectionLocalization getLocalized()
Localized title, read-only.
- Returns:
- value or
null
for none
-
setLocalized
public ChannelSectionSnippet setLocalized(ChannelSectionLocalization localized)
Localized title, read-only.
- Parameters:
localized
- localized or null
for none
-
getPosition
public Long getPosition()
The position of the channel section in the channel.
- Returns:
- value or
null
for none
-
setPosition
public ChannelSectionSnippet setPosition(Long position)
The position of the channel section in the channel.
- Parameters:
position
- position or null
for none
-
getStyle
public String getStyle()
The style of the channel section.
- Returns:
- value or
null
for none
-
setStyle
public ChannelSectionSnippet setStyle(String style)
The style of the channel section.
- Parameters:
style
- style or null
for none
-
getTitle
public String getTitle()
The channel section's title for multiple_playlists and multiple_channels.
- Returns:
- value or
null
for none
-
setTitle
public ChannelSectionSnippet setTitle(String title)
The channel section's title for multiple_playlists and multiple_channels.
- Parameters:
title
- title or null
for none
-
getType
public String getType()
The type of the channel section.
- Returns:
- value or
null
for none
-
setType
public ChannelSectionSnippet setType(String type)
The type of the channel section.
- Parameters:
type
- type or null
for none
-
set
public ChannelSectionSnippet set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ChannelSectionSnippet clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.