Show / Hide Table of Contents

Class Subscription

A subscription resource contains information about a YouTube user subscription. A subscription notifies a user when new videos are added to a channel or when another user takes one of several actions on YouTube, such as uploading a video, rating a video, or commenting on a video.

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

Properties

ContentDetails

The contentDetails object contains basic statistics about the subscription.

Declaration
[JsonProperty("contentDetails")]
public virtual SubscriptionContentDetails ContentDetails { get; set; }
Property Value
Type Description
SubscriptionContentDetails

ETag

Etag of this resource.

Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Id

The ID that YouTube uses to uniquely identify the subscription.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
System.String

Kind

Identifies what kind of resource this is. Value: the fixed string "youtube#subscription".

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
System.String

Snippet

The snippet object contains basic details about the subscription, including its title and the channel that the user subscribed to.

Declaration
[JsonProperty("snippet")]
public virtual SubscriptionSnippet Snippet { get; set; }
Property Value
Type Description
SubscriptionSnippet

SubscriberSnippet

The subscriberSnippet object contains basic details about the subscriber.

Declaration
[JsonProperty("subscriberSnippet")]
public virtual SubscriptionSubscriberSnippet SubscriberSnippet { get; set; }
Property Value
Type Description
SubscriptionSubscriberSnippet

Implements

IDirectResponseSchema
Back to top