google_api_you_tube v0.4.0 GoogleApi.YouTube.V3.Model.Subscription View Source
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.
Attributes
- contentDetails (SubscriptionContentDetails): The contentDetails object contains basic statistics about the subscription. Defaults to:
null
. - etag (String.t): Etag of this resource. Defaults to:
null
. - id (String.t): The ID that YouTube uses to uniquely identify the subscription. Defaults to:
null
. - kind (String.t): Identifies what kind of resource this is. Value: the fixed string "youtube#subscription". Defaults to:
null
. - snippet (SubscriptionSnippet): The snippet object contains basic details about the subscription, including its title and the channel that the user subscribed to. Defaults to:
null
. - subscriberSnippet (SubscriptionSubscriberSnippet): The subscriberSnippet object contains basic details about the sbuscriber. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.YouTube.V3.Model.Subscription{
contentDetails: GoogleApi.YouTube.V3.Model.SubscriptionContentDetails.t(),
etag: any(),
id: any(),
kind: any(),
snippet: GoogleApi.YouTube.V3.Model.SubscriptionSnippet.t(),
subscriberSnippet:
GoogleApi.YouTube.V3.Model.SubscriptionSubscriberSnippet.t()
}
t() :: %GoogleApi.YouTube.V3.Model.Subscription{ contentDetails: GoogleApi.YouTube.V3.Model.SubscriptionContentDetails.t(), etag: any(), id: any(), kind: any(), snippet: GoogleApi.YouTube.V3.Model.SubscriptionSnippet.t(), subscriberSnippet: GoogleApi.YouTube.V3.Model.SubscriptionSubscriberSnippet.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.