Class PlaylistSnippet
Basic details about a playlist, including title, description and thumbnails.
Implements
Inherited Members
Namespace: Google.Apis.YouTube.v3.Data
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class PlaylistSnippet : IDirectResponseSchema
Properties
ChannelId
The ID that YouTube uses to uniquely identify the channel that published the playlist.
Declaration
[JsonProperty("channelId")]
public virtual string ChannelId { get; set; }
Property Value
Type | Description |
---|---|
string |
ChannelTitle
The channel title of the channel that the video belongs to.
Declaration
[JsonProperty("channelTitle")]
public virtual string ChannelTitle { get; set; }
Property Value
Type | Description |
---|---|
string |
DefaultLanguage
The language of the playlist's default title and description.
Declaration
[JsonProperty("defaultLanguage")]
public virtual string DefaultLanguage { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
The playlist's description.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Localized
Localized title and description, read-only.
Declaration
[JsonProperty("localized")]
public virtual PlaylistLocalization Localized { get; set; }
Property Value
Type | Description |
---|---|
PlaylistLocalization |
PublishedAt
DateTime representation of PublishedAtRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use PublishedAtDateTimeOffset instead.")]
public virtual DateTime? PublishedAt { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
PublishedAtDateTimeOffset
DateTimeOffset representation of PublishedAtRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? PublishedAtDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
PublishedAtRaw
The date and time that the playlist was created.
Declaration
[JsonProperty("publishedAt")]
public virtual string PublishedAtRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Tags
Keyword tags associated with the playlist.
Declaration
[JsonProperty("tags")]
public virtual IList<string> Tags { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ThumbnailVideoId
Note: if the playlist has a custom thumbnail, this field will not be populated. The video id selected by the user that will be used as the thumbnail of this playlist. This field defaults to the first publicly viewable video in the playlist, if: 1. The user has never selected a video to be the thumbnail of the playlist. 2. The user selects a video to be the thumbnail, and then removes that video from the playlist. 3. The user selects a non-owned video to be the thumbnail, but that video becomes private, or gets deleted.
Declaration
[JsonProperty("thumbnailVideoId")]
public virtual string ThumbnailVideoId { get; set; }
Property Value
Type | Description |
---|---|
string |
Thumbnails
A map of thumbnail images associated with the playlist. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
Declaration
[JsonProperty("thumbnails")]
public virtual ThumbnailDetails Thumbnails { get; set; }
Property Value
Type | Description |
---|---|
ThumbnailDetails |
Title
The playlist's title.
Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type | Description |
---|---|
string |