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

#include <subscription_subscriber_snippet.h>

Inheritance diagram for google_youtube_api::SubscriptionSubscriberSnippet:

Public Member Functions

 SubscriptionSubscriberSnippet (const Json::Value &storage)
 
 SubscriptionSubscriberSnippet (Json::Value *storage)
 
virtual ~SubscriptionSubscriberSnippet ()
 
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_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
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 SubscriptionSubscriberSnippetNew ()
 

Detailed Description

Basic details about a subscription's subscriber including title, description, channel ID and thumbnails.

Constructor & Destructor Documentation

◆ SubscriptionSubscriberSnippet() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ SubscriptionSubscriberSnippet() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~SubscriptionSubscriberSnippet()

google_youtube_api::SubscriptionSubscriberSnippet::~SubscriptionSubscriberSnippet ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_channel_id()

void google_youtube_api::SubscriptionSubscriberSnippet::clear_channel_id ( )
inline

Clears the 'channelId' attribute.

◆ clear_description()

void google_youtube_api::SubscriptionSubscriberSnippet::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_thumbnails()

void google_youtube_api::SubscriptionSubscriberSnippet::clear_thumbnails ( )
inline

Clears the 'thumbnails' attribute.

◆ clear_title()

void google_youtube_api::SubscriptionSubscriberSnippet::clear_title ( )
inline

Clears the 'title' attribute.

◆ get_channel_id()

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

Get the value of the 'channelId' attribute.

◆ get_description()

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

Get the value of the 'description' attribute.

◆ get_thumbnails()

const ThumbnailDetails google_youtube_api::SubscriptionSubscriberSnippet::get_thumbnails ( ) const

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

◆ get_title()

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

Get the value of the 'title' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::SubscriptionSubscriberSnippet

◆ has_channel_id()

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

Determine if the 'channelId' attribute was set.

Returns
true if the 'channelId' attribute was set.

◆ has_description()

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

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_thumbnails()

bool google_youtube_api::SubscriptionSubscriberSnippet::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::SubscriptionSubscriberSnippet::has_title ( ) const
inline

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ mutable_thumbnails()

ThumbnailDetails google_youtube_api::SubscriptionSubscriberSnippet::mutable_thumbnails ( )

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

Thumbnails for this subscriber.

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

◆ New()

SubscriptionSubscriberSnippet * google_youtube_api::SubscriptionSubscriberSnippet::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_channel_id()

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

Change the 'channelId' attribute.

The channel ID of the subscriber.

Parameters
[in]valueThe new value.

◆ set_description()

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

Change the 'description' attribute.

The description of the subscriber.

Parameters
[in]valueThe new value.

◆ set_title()

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

Change the 'title' attribute.

The title of the subscriber.

Parameters
[in]valueThe new value.

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