youtube  v3
Public Member Functions | Static Public Member Functions | List of all members
google_youtube_api::SubscriptionSnippet Class Reference

#include <subscription_snippet.h>

Inheritance diagram for google_youtube_api::SubscriptionSnippet:

Public Member Functions

 SubscriptionSnippet (const Json::Value &storage)
 
 SubscriptionSnippet (Json::Value *storage)
 
virtual ~SubscriptionSnippet ()
 
const StringPiece GetTypeName () const
 
bool has_channel_id () const
 
void clear_channel_id ()
 
const StringPiece get_channel_id () const
 
void set_channel_id (const StringPiece &value)
 
bool has_channel_title () const
 
void clear_channel_title ()
 
const StringPiece get_channel_title () const
 
void set_channel_title (const StringPiece &value)
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_published_at () const
 
void clear_published_at ()
 
client::DateTime get_published_at () const
 
void set_published_at (client::DateTime value)
 
bool has_resource_id () const
 
void clear_resource_id ()
 
const ResourceId get_resource_id () const
 
ResourceId mutable_resourceId ()
 
bool has_thumbnails () const
 
void clear_thumbnails ()
 
const ThumbnailDetails get_thumbnails () const
 
ThumbnailDetails mutable_thumbnails ()
 
bool has_title () const
 
void clear_title ()
 
const StringPiece get_title () const
 
void set_title (const StringPiece &value)
 

Static Public Member Functions

static SubscriptionSnippetNew ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ SubscriptionSnippet() [1/2]

google_youtube_api::SubscriptionSnippet::SubscriptionSnippet ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ SubscriptionSnippet() [2/2]

google_youtube_api::SubscriptionSnippet::SubscriptionSnippet ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~SubscriptionSnippet()

google_youtube_api::SubscriptionSnippet::~SubscriptionSnippet ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_channel_id()

void google_youtube_api::SubscriptionSnippet::clear_channel_id ( )
inline

Clears the 'channelId' attribute.

◆ clear_channel_title()

void google_youtube_api::SubscriptionSnippet::clear_channel_title ( )
inline

Clears the 'channelTitle' attribute.

◆ clear_description()

void google_youtube_api::SubscriptionSnippet::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_published_at()

void google_youtube_api::SubscriptionSnippet::clear_published_at ( )
inline

Clears the 'publishedAt' attribute.

◆ clear_resource_id()

void google_youtube_api::SubscriptionSnippet::clear_resource_id ( )
inline

Clears the 'resourceId' attribute.

◆ clear_thumbnails()

void google_youtube_api::SubscriptionSnippet::clear_thumbnails ( )
inline

Clears the 'thumbnails' attribute.

◆ clear_title()

void google_youtube_api::SubscriptionSnippet::clear_title ( )
inline

Clears the 'title' attribute.

◆ get_channel_id()

const StringPiece google_youtube_api::SubscriptionSnippet::get_channel_id ( ) const
inline

Get the value of the 'channelId' attribute.

◆ get_channel_title()

const StringPiece google_youtube_api::SubscriptionSnippet::get_channel_title ( ) const
inline

Get the value of the 'channelTitle' attribute.

◆ get_description()

const StringPiece google_youtube_api::SubscriptionSnippet::get_description ( ) const
inline

Get the value of the 'description' attribute.

◆ get_published_at()

client::DateTime google_youtube_api::SubscriptionSnippet::get_published_at ( ) const
inline

Get the value of the 'publishedAt' attribute.

◆ get_resource_id()

const ResourceId google_youtube_api::SubscriptionSnippet::get_resource_id ( ) const

Get a reference to the value of the 'resourceId' attribute.

◆ get_thumbnails()

const ThumbnailDetails google_youtube_api::SubscriptionSnippet::get_thumbnails ( ) const

Get a reference to the value of the 'thumbnails' attribute.

◆ get_title()

const StringPiece google_youtube_api::SubscriptionSnippet::get_title ( ) const
inline

Get the value of the 'title' attribute.

◆ GetTypeName()

const StringPiece google_youtube_api::SubscriptionSnippet::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_youtube_api::SubscriptionSnippet

◆ has_channel_id()

bool google_youtube_api::SubscriptionSnippet::has_channel_id ( ) const
inline

Determine if the 'channelId' attribute was set.

Returns
true if the 'channelId' attribute was set.

◆ has_channel_title()

bool google_youtube_api::SubscriptionSnippet::has_channel_title ( ) const
inline

Determine if the 'channelTitle' attribute was set.

Returns
true if the 'channelTitle' attribute was set.

◆ has_description()

bool google_youtube_api::SubscriptionSnippet::has_description ( ) const
inline

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_published_at()

bool google_youtube_api::SubscriptionSnippet::has_published_at ( ) const
inline

Determine if the 'publishedAt' attribute was set.

Returns
true if the 'publishedAt' attribute was set.

◆ has_resource_id()

bool google_youtube_api::SubscriptionSnippet::has_resource_id ( ) const
inline

Determine if the 'resourceId' attribute was set.

Returns
true if the 'resourceId' attribute was set.

◆ has_thumbnails()

bool google_youtube_api::SubscriptionSnippet::has_thumbnails ( ) const
inline

Determine if the 'thumbnails' attribute was set.

Returns
true if the 'thumbnails' attribute was set.

◆ has_title()

bool google_youtube_api::SubscriptionSnippet::has_title ( ) const
inline

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ mutable_resourceId()

ResourceId google_youtube_api::SubscriptionSnippet::mutable_resourceId ( )

Gets a reference to a mutable value of the 'resourceId' property.

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

Returns
The result can be modified to change the attribute value.

◆ mutable_thumbnails()

ThumbnailDetails google_youtube_api::SubscriptionSnippet::mutable_thumbnails ( )

Gets a reference to a mutable value of the 'thumbnails' property.

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.

Returns
The result can be modified to change the attribute value.

◆ New()

SubscriptionSnippet * google_youtube_api::SubscriptionSnippet::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_channel_id()

void google_youtube_api::SubscriptionSnippet::set_channel_id ( const StringPiece &  value)
inline

Change the 'channelId' attribute.

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

Parameters
[in]valueThe new value.

◆ set_channel_title()

void google_youtube_api::SubscriptionSnippet::set_channel_title ( const StringPiece &  value)
inline

Change the 'channelTitle' attribute.

Channel title for the channel that the subscription belongs to.

Parameters
[in]valueThe new value.

◆ set_description()

void google_youtube_api::SubscriptionSnippet::set_description ( const StringPiece &  value)
inline

Change the 'description' attribute.

The subscription's details.

Parameters
[in]valueThe new value.

◆ set_published_at()

void google_youtube_api::SubscriptionSnippet::set_published_at ( client::DateTime  value)
inline

Change the 'publishedAt' attribute.

The date and time that the subscription was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.

Parameters
[in]valueThe new value.

◆ set_title()

void google_youtube_api::SubscriptionSnippet::set_title ( const StringPiece &  value)
inline

Change the 'title' attribute.

The subscription's title.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: