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.
Implements
Inherited Members
Namespace: Google.Apis.YouTube.v3.Data
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class Subscription : IDirectResponseSchemaProperties
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 | 
|---|---|
| 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 | 
|---|---|
| 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 | 
|---|---|
| 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 |