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

#include <channel_status.h>

Inheritance diagram for google_youtube_api::ChannelStatus:

Public Member Functions

 ChannelStatus (const Json::Value &storage)
 
 ChannelStatus (Json::Value *storage)
 
virtual ~ChannelStatus ()
 
const StringPiece GetTypeName () const
 
bool has_is_linked () const
 
void clear_is_linked ()
 
bool get_is_linked () const
 
void set_is_linked (bool value)
 
bool has_long_uploads_status () const
 
void clear_long_uploads_status ()
 
const StringPiece get_long_uploads_status () const
 
void set_long_uploads_status (const StringPiece &value)
 
bool has_made_for_kids () const
 
void clear_made_for_kids ()
 
bool get_made_for_kids () const
 
void set_made_for_kids (bool value)
 
bool has_privacy_status () const
 
void clear_privacy_status ()
 
const StringPiece get_privacy_status () const
 
void set_privacy_status (const StringPiece &value)
 
bool has_self_declared_made_for_kids () const
 
void clear_self_declared_made_for_kids ()
 
bool get_self_declared_made_for_kids () const
 
void set_self_declared_made_for_kids (bool value)
 

Static Public Member Functions

static ChannelStatusNew ()
 

Detailed Description

JSON template for the status part of a channel.

Constructor & Destructor Documentation

◆ ChannelStatus() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ChannelStatus() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ChannelStatus()

google_youtube_api::ChannelStatus::~ChannelStatus ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_is_linked()

void google_youtube_api::ChannelStatus::clear_is_linked ( )
inline

Clears the 'isLinked' attribute.

◆ clear_long_uploads_status()

void google_youtube_api::ChannelStatus::clear_long_uploads_status ( )
inline

Clears the 'longUploadsStatus' attribute.

◆ clear_made_for_kids()

void google_youtube_api::ChannelStatus::clear_made_for_kids ( )
inline

Clears the 'madeForKids' attribute.

◆ clear_privacy_status()

void google_youtube_api::ChannelStatus::clear_privacy_status ( )
inline

Clears the 'privacyStatus' attribute.

◆ clear_self_declared_made_for_kids()

void google_youtube_api::ChannelStatus::clear_self_declared_made_for_kids ( )
inline

Clears the 'selfDeclaredMadeForKids' attribute.

◆ get_is_linked()

bool google_youtube_api::ChannelStatus::get_is_linked ( ) const
inline

Get the value of the 'isLinked' attribute.

◆ get_long_uploads_status()

const StringPiece google_youtube_api::ChannelStatus::get_long_uploads_status ( ) const
inline

Get the value of the 'longUploadsStatus' attribute.

◆ get_made_for_kids()

bool google_youtube_api::ChannelStatus::get_made_for_kids ( ) const
inline

Get the value of the 'madeForKids' attribute.

◆ get_privacy_status()

const StringPiece google_youtube_api::ChannelStatus::get_privacy_status ( ) const
inline

Get the value of the 'privacyStatus' attribute.

◆ get_self_declared_made_for_kids()

bool google_youtube_api::ChannelStatus::get_self_declared_made_for_kids ( ) const
inline

Get the value of the 'selfDeclaredMadeForKids' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::ChannelStatus

◆ has_is_linked()

bool google_youtube_api::ChannelStatus::has_is_linked ( ) const
inline

Determine if the 'isLinked' attribute was set.

Returns
true if the 'isLinked' attribute was set.

◆ has_long_uploads_status()

bool google_youtube_api::ChannelStatus::has_long_uploads_status ( ) const
inline

Determine if the 'longUploadsStatus' attribute was set.

Returns
true if the 'longUploadsStatus' attribute was set.

◆ has_made_for_kids()

bool google_youtube_api::ChannelStatus::has_made_for_kids ( ) const
inline

Determine if the 'madeForKids' attribute was set.

Returns
true if the 'madeForKids' attribute was set.

◆ has_privacy_status()

bool google_youtube_api::ChannelStatus::has_privacy_status ( ) const
inline

Determine if the 'privacyStatus' attribute was set.

Returns
true if the 'privacyStatus' attribute was set.

◆ has_self_declared_made_for_kids()

bool google_youtube_api::ChannelStatus::has_self_declared_made_for_kids ( ) const
inline

Determine if the 'selfDeclaredMadeForKids' attribute was set.

Returns
true if the 'selfDeclaredMadeForKids' attribute was set.

◆ New()

ChannelStatus * google_youtube_api::ChannelStatus::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_is_linked()

void google_youtube_api::ChannelStatus::set_is_linked ( bool  value)
inline

Change the 'isLinked' attribute.

If true, then the user is linked to either a YouTube username or G+ account. Otherwise, the user doesn't have a public YouTube identity.

Parameters
[in]valueThe new value.

◆ set_long_uploads_status()

void google_youtube_api::ChannelStatus::set_long_uploads_status ( const StringPiece &  value)
inline

Change the 'longUploadsStatus' attribute.

The long uploads status of this channel. See.

Parameters
[in]valueThe new value.

◆ set_made_for_kids()

void google_youtube_api::ChannelStatus::set_made_for_kids ( bool  value)
inline

Change the 'madeForKids' attribute.

Parameters
[in]valueThe new value.

◆ set_privacy_status()

void google_youtube_api::ChannelStatus::set_privacy_status ( const StringPiece &  value)
inline

Change the 'privacyStatus' attribute.

Privacy status of the channel.

Parameters
[in]valueThe new value.

◆ set_self_declared_made_for_kids()

void google_youtube_api::ChannelStatus::set_self_declared_made_for_kids ( bool  value)
inline

Change the 'selfDeclaredMadeForKids' attribute.

Parameters
[in]valueThe new value.

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