target.apidocs.com.google.api.services.youtube.model.ChannelContentDetails.RelatedPlaylists.html Maven / Gradle / Ivy
ChannelContentDetails.RelatedPlaylists (YouTube Data API v3 v3-rev20240417-2.0.0)
com.google.api.services.youtube.model
Class ChannelContentDetails.RelatedPlaylists
- 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.ChannelContentDetails.RelatedPlaylists
-
- Enclosing class:
- ChannelContentDetails
public static final class ChannelContentDetails.RelatedPlaylists
extends com.google.api.client.json.GenericJson
Model definition for ChannelContentDetailsRelatedPlaylists.
-
-
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
RelatedPlaylists()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ChannelContentDetails.RelatedPlaylists
clone()
String
getFavorites()
The ID of the playlist that contains the channel"s favorite videos.
String
getLikes()
The ID of the playlist that contains the channel"s liked videos.
String
getUploads()
The ID of the playlist that contains the channel"s uploaded videos.
String
getWatchHistory()
The ID of the playlist that contains the channel"s watch history.
String
getWatchLater()
The ID of the playlist that contains the channel"s watch later playlist.
ChannelContentDetails.RelatedPlaylists
set(String fieldName,
Object value)
ChannelContentDetails.RelatedPlaylists
setFavorites(String favorites)
The ID of the playlist that contains the channel"s favorite videos.
ChannelContentDetails.RelatedPlaylists
setLikes(String likes)
The ID of the playlist that contains the channel"s liked videos.
ChannelContentDetails.RelatedPlaylists
setUploads(String uploads)
The ID of the playlist that contains the channel"s uploaded videos.
ChannelContentDetails.RelatedPlaylists
setWatchHistory(String watchHistory)
The ID of the playlist that contains the channel"s watch history.
ChannelContentDetails.RelatedPlaylists
setWatchLater(String watchLater)
The ID of the playlist that contains the channel"s watch later playlist.
-
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
-
getFavorites
public String getFavorites()
The ID of the playlist that contains the channel"s favorite videos. Use the
playlistItems.insert and playlistItems.delete to add or remove items from that list.
- Returns:
- value or
null
for none
-
setFavorites
public ChannelContentDetails.RelatedPlaylists setFavorites(String favorites)
The ID of the playlist that contains the channel"s favorite videos. Use the
playlistItems.insert and playlistItems.delete to add or remove items from that list.
- Parameters:
favorites
- favorites or null
for none
-
getLikes
public String getLikes()
The ID of the playlist that contains the channel"s liked videos. Use the playlistItems.insert
and playlistItems.delete to add or remove items from that list.
- Returns:
- value or
null
for none
-
setLikes
public ChannelContentDetails.RelatedPlaylists setLikes(String likes)
The ID of the playlist that contains the channel"s liked videos. Use the playlistItems.insert
and playlistItems.delete to add or remove items from that list.
- Parameters:
likes
- likes or null
for none
-
getUploads
public String getUploads()
The ID of the playlist that contains the channel"s uploaded videos. Use the videos.insert
method to upload new videos and the videos.delete method to delete previously uploaded videos.
- Returns:
- value or
null
for none
-
setUploads
public ChannelContentDetails.RelatedPlaylists setUploads(String uploads)
The ID of the playlist that contains the channel"s uploaded videos. Use the videos.insert
method to upload new videos and the videos.delete method to delete previously uploaded videos.
- Parameters:
uploads
- uploads or null
for none
-
getWatchHistory
public String getWatchHistory()
The ID of the playlist that contains the channel"s watch history. Use the playlistItems.insert
and playlistItems.delete to add or remove items from that list.
- Returns:
- value or
null
for none
-
setWatchHistory
public ChannelContentDetails.RelatedPlaylists setWatchHistory(String watchHistory)
The ID of the playlist that contains the channel"s watch history. Use the playlistItems.insert
and playlistItems.delete to add or remove items from that list.
- Parameters:
watchHistory
- watchHistory or null
for none
-
getWatchLater
public String getWatchLater()
The ID of the playlist that contains the channel"s watch later playlist. Use the
playlistItems.insert and playlistItems.delete to add or remove items from that list.
- Returns:
- value or
null
for none
-
setWatchLater
public ChannelContentDetails.RelatedPlaylists setWatchLater(String watchLater)
The ID of the playlist that contains the channel"s watch later playlist. Use the
playlistItems.insert and playlistItems.delete to add or remove items from that list.
- Parameters:
watchLater
- watchLater or null
for none
-
set
public ChannelContentDetails.RelatedPlaylists set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ChannelContentDetails.RelatedPlaylists clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.