youtube
v3
|
#include <subscription.h>
Static Public Member Functions | |
static Subscription * | New () |
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.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'contentDetails
' attribute.
|
inline |
Clears the 'etag
' attribute.
|
inline |
Clears the 'id
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'snippet
' attribute.
|
inline |
Clears the 'subscriberSnippet
' attribute.
const SubscriptionContentDetails google_youtube_api::Subscription::get_content_details | ( | ) | const |
Get a reference to the value of the 'contentDetails
' attribute.
|
inline |
Get the value of the 'etag
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
const SubscriptionSnippet google_youtube_api::Subscription::get_snippet | ( | ) | const |
Get a reference to the value of the 'snippet
' attribute.
const SubscriptionSubscriberSnippet google_youtube_api::Subscription::get_subscriber_snippet | ( | ) | const |
Get a reference to the value of the 'subscriberSnippet
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'contentDetails
' attribute was set.
contentDetails
' attribute was set.
|
inline |
Determine if the 'etag
' attribute was set.
etag
' attribute was set.
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'snippet
' attribute was set.
snippet
' attribute was set.
|
inline |
Determine if the 'subscriberSnippet
' attribute was set.
subscriberSnippet
' attribute was set. SubscriptionContentDetails google_youtube_api::Subscription::mutable_contentDetails | ( | ) |
Gets a reference to a mutable value of the 'contentDetails
' property.
The contentDetails object contains basic statistics about the subscription.
SubscriptionSnippet google_youtube_api::Subscription::mutable_snippet | ( | ) |
Gets a reference to a mutable value of the 'snippet
' property.
The snippet object contains basic details about the subscription, including its title and the channel that the user subscribed to.
SubscriptionSubscriberSnippet google_youtube_api::Subscription::mutable_subscriberSnippet | ( | ) |
Gets a reference to a mutable value of the 'subscriberSnippet
' property.
The subscriberSnippet object contains basic details about the sbuscriber.
|
static |
Creates a new default instance.
|
inline |
Change the 'etag
' attribute.
Etag of this resource.
[in] | value | The new value. |
|
inline |
Change the 'id
' attribute.
The ID that YouTube uses to uniquely identify the subscription.
[in] | value | The new value. |
|
inline |
Change the 'kind
' attribute.
Identifies what kind of resource this is. Value: the fixed string "youtube#subscription".
[in] | value | The new value. |