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

#include <channel_statistics.h>

Inheritance diagram for google_youtube_api::ChannelStatistics:

Public Member Functions

 ChannelStatistics (const Json::Value &storage)
 
 ChannelStatistics (Json::Value *storage)
 
virtual ~ChannelStatistics ()
 
const StringPiece GetTypeName () const
 
bool has_comment_count () const
 
void clear_comment_count ()
 
uint64 get_comment_count () const
 
void set_comment_count (uint64 value)
 
bool has_hidden_subscriber_count () const
 
void clear_hidden_subscriber_count ()
 
bool get_hidden_subscriber_count () const
 
void set_hidden_subscriber_count (bool value)
 
bool has_subscriber_count () const
 
void clear_subscriber_count ()
 
uint64 get_subscriber_count () const
 
void set_subscriber_count (uint64 value)
 
bool has_video_count () const
 
void clear_video_count ()
 
uint64 get_video_count () const
 
void set_video_count (uint64 value)
 
bool has_view_count () const
 
void clear_view_count ()
 
uint64 get_view_count () const
 
void set_view_count (uint64 value)
 

Static Public Member Functions

static ChannelStatisticsNew ()
 

Detailed Description

Statistics about a channel: number of subscribers, number of videos in the channel, etc.

Constructor & Destructor Documentation

◆ ChannelStatistics() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ChannelStatistics() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ChannelStatistics()

google_youtube_api::ChannelStatistics::~ChannelStatistics ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_comment_count()

void google_youtube_api::ChannelStatistics::clear_comment_count ( )
inline

Clears the 'commentCount' attribute.

◆ clear_hidden_subscriber_count()

void google_youtube_api::ChannelStatistics::clear_hidden_subscriber_count ( )
inline

Clears the 'hiddenSubscriberCount' attribute.

◆ clear_subscriber_count()

void google_youtube_api::ChannelStatistics::clear_subscriber_count ( )
inline

Clears the 'subscriberCount' attribute.

◆ clear_video_count()

void google_youtube_api::ChannelStatistics::clear_video_count ( )
inline

Clears the 'videoCount' attribute.

◆ clear_view_count()

void google_youtube_api::ChannelStatistics::clear_view_count ( )
inline

Clears the 'viewCount' attribute.

◆ get_comment_count()

uint64 google_youtube_api::ChannelStatistics::get_comment_count ( ) const
inline

Get the value of the 'commentCount' attribute.

◆ get_hidden_subscriber_count()

bool google_youtube_api::ChannelStatistics::get_hidden_subscriber_count ( ) const
inline

Get the value of the 'hiddenSubscriberCount' attribute.

◆ get_subscriber_count()

uint64 google_youtube_api::ChannelStatistics::get_subscriber_count ( ) const
inline

Get the value of the 'subscriberCount' attribute.

◆ get_video_count()

uint64 google_youtube_api::ChannelStatistics::get_video_count ( ) const
inline

Get the value of the 'videoCount' attribute.

◆ get_view_count()

uint64 google_youtube_api::ChannelStatistics::get_view_count ( ) const
inline

Get the value of the 'viewCount' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::ChannelStatistics

◆ has_comment_count()

bool google_youtube_api::ChannelStatistics::has_comment_count ( ) const
inline

Determine if the 'commentCount' attribute was set.

Returns
true if the 'commentCount' attribute was set.

◆ has_hidden_subscriber_count()

bool google_youtube_api::ChannelStatistics::has_hidden_subscriber_count ( ) const
inline

Determine if the 'hiddenSubscriberCount' attribute was set.

Returns
true if the 'hiddenSubscriberCount' attribute was set.

◆ has_subscriber_count()

bool google_youtube_api::ChannelStatistics::has_subscriber_count ( ) const
inline

Determine if the 'subscriberCount' attribute was set.

Returns
true if the 'subscriberCount' attribute was set.

◆ has_video_count()

bool google_youtube_api::ChannelStatistics::has_video_count ( ) const
inline

Determine if the 'videoCount' attribute was set.

Returns
true if the 'videoCount' attribute was set.

◆ has_view_count()

bool google_youtube_api::ChannelStatistics::has_view_count ( ) const
inline

Determine if the 'viewCount' attribute was set.

Returns
true if the 'viewCount' attribute was set.

◆ New()

ChannelStatistics * google_youtube_api::ChannelStatistics::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_comment_count()

void google_youtube_api::ChannelStatistics::set_comment_count ( uint64  value)
inline

Change the 'commentCount' attribute.

The number of comments for the channel.

Parameters
[in]valueThe new value.

◆ set_hidden_subscriber_count()

void google_youtube_api::ChannelStatistics::set_hidden_subscriber_count ( bool  value)
inline

Change the 'hiddenSubscriberCount' attribute.

Whether or not the number of subscribers is shown for this user.

Parameters
[in]valueThe new value.

◆ set_subscriber_count()

void google_youtube_api::ChannelStatistics::set_subscriber_count ( uint64  value)
inline

Change the 'subscriberCount' attribute.

The number of subscribers that the channel has.

Parameters
[in]valueThe new value.

◆ set_video_count()

void google_youtube_api::ChannelStatistics::set_video_count ( uint64  value)
inline

Change the 'videoCount' attribute.

The number of videos uploaded to the channel.

Parameters
[in]valueThe new value.

◆ set_view_count()

void google_youtube_api::ChannelStatistics::set_view_count ( uint64  value)
inline

Change the 'viewCount' attribute.

The number of times the channel has been viewed.

Parameters
[in]valueThe new value.

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