Show / Hide Table of Contents

Class SubscriptionSnippet

Basic details about a subscription, including title, description and thumbnails of the subscribed item.

Inheritance
object
SubscriptionSnippet
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.YouTube.v3.Data
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class SubscriptionSnippet : IDirectResponseSchema

Properties

ChannelId

The ID that YouTube uses to uniquely identify the subscriber's channel.

Declaration
[JsonProperty("channelId")]
public virtual string ChannelId { get; set; }
Property Value
Type Description
string

Description

The subscription's details.

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

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 subscription was created.

Declaration
[JsonProperty("publishedAt")]
public virtual string PublishedAtRaw { get; set; }
Property Value
Type Description
string

ResourceId

The id object contains information about the channel that the user subscribed to.

Declaration
[JsonProperty("resourceId")]
public virtual ResourceId ResourceId { get; set; }
Property Value
Type Description
ResourceId

Thumbnails

A map of thumbnail images associated with the video. 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 subscription's title.

Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX