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

#include <channel.h>

Inheritance diagram for google_youtube_api::Channel:

Public Member Functions

 Channel (const Json::Value &storage)
 
 Channel (Json::Value *storage)
 
virtual ~Channel ()
 
const StringPiece GetTypeName () const
 
bool has_audit_details () const
 
void clear_audit_details ()
 
const ChannelAuditDetails get_audit_details () const
 
ChannelAuditDetails mutable_auditDetails ()
 
bool has_branding_settings () const
 
void clear_branding_settings ()
 
const ChannelBrandingSettings get_branding_settings () const
 
ChannelBrandingSettings mutable_brandingSettings ()
 
bool has_content_details () const
 
void clear_content_details ()
 
const ChannelContentDetails get_content_details () const
 
ChannelContentDetails mutable_contentDetails ()
 
bool has_content_owner_details () const
 
void clear_content_owner_details ()
 
const ChannelContentOwnerDetails get_content_owner_details () const
 
ChannelContentOwnerDetails mutable_contentOwnerDetails ()
 
bool has_conversion_pings () const
 
void clear_conversion_pings ()
 
const ChannelConversionPings get_conversion_pings () const
 
ChannelConversionPings mutable_conversionPings ()
 
bool has_etag () const
 
void clear_etag ()
 
const StringPiece get_etag () const
 
void set_etag (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_invideo_promotion () const
 
void clear_invideo_promotion ()
 
const InvideoPromotion get_invideo_promotion () const
 
InvideoPromotion mutable_invideoPromotion ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_localizations () const
 
void clear_localizations ()
 
const client::JsonCppAssociativeArray< ChannelLocalizationget_localizations () const
 
client::JsonCppAssociativeArray< ChannelLocalizationmutable_localizations ()
 
bool has_snippet () const
 
void clear_snippet ()
 
const ChannelSnippet get_snippet () const
 
ChannelSnippet mutable_snippet ()
 
bool has_statistics () const
 
void clear_statistics ()
 
const ChannelStatistics get_statistics () const
 
ChannelStatistics mutable_statistics ()
 
bool has_status () const
 
void clear_status ()
 
const ChannelStatus get_status () const
 
ChannelStatus mutable_status ()
 
bool has_topic_details () const
 
void clear_topic_details ()
 
const ChannelTopicDetails get_topic_details () const
 
ChannelTopicDetails mutable_topicDetails ()
 

Static Public Member Functions

static ChannelNew ()
 

Detailed Description

A channel resource contains information about a YouTube channel.

Constructor & Destructor Documentation

◆ Channel() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Channel() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Channel()

google_youtube_api::Channel::~Channel ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_audit_details()

void google_youtube_api::Channel::clear_audit_details ( )
inline

Clears the 'auditDetails' attribute.

◆ clear_branding_settings()

void google_youtube_api::Channel::clear_branding_settings ( )
inline

Clears the 'brandingSettings' attribute.

◆ clear_content_details()

void google_youtube_api::Channel::clear_content_details ( )
inline

Clears the 'contentDetails' attribute.

◆ clear_content_owner_details()

void google_youtube_api::Channel::clear_content_owner_details ( )
inline

Clears the 'contentOwnerDetails' attribute.

◆ clear_conversion_pings()

void google_youtube_api::Channel::clear_conversion_pings ( )
inline

Clears the 'conversionPings' attribute.

◆ clear_etag()

void google_youtube_api::Channel::clear_etag ( )
inline

Clears the 'etag' attribute.

◆ clear_id()

void google_youtube_api::Channel::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_invideo_promotion()

void google_youtube_api::Channel::clear_invideo_promotion ( )
inline

Clears the 'invideoPromotion' attribute.

◆ clear_kind()

void google_youtube_api::Channel::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_localizations()

void google_youtube_api::Channel::clear_localizations ( )
inline

Clears the 'localizations' attribute.

◆ clear_snippet()

void google_youtube_api::Channel::clear_snippet ( )
inline

Clears the 'snippet' attribute.

◆ clear_statistics()

void google_youtube_api::Channel::clear_statistics ( )
inline

Clears the 'statistics' attribute.

◆ clear_status()

void google_youtube_api::Channel::clear_status ( )
inline

Clears the 'status' attribute.

◆ clear_topic_details()

void google_youtube_api::Channel::clear_topic_details ( )
inline

Clears the 'topicDetails' attribute.

◆ get_audit_details()

const ChannelAuditDetails google_youtube_api::Channel::get_audit_details ( ) const

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

◆ get_branding_settings()

const ChannelBrandingSettings google_youtube_api::Channel::get_branding_settings ( ) const

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

◆ get_content_details()

const ChannelContentDetails google_youtube_api::Channel::get_content_details ( ) const

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

◆ get_content_owner_details()

const ChannelContentOwnerDetails google_youtube_api::Channel::get_content_owner_details ( ) const

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

◆ get_conversion_pings()

const ChannelConversionPings google_youtube_api::Channel::get_conversion_pings ( ) const

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

◆ get_etag()

const StringPiece google_youtube_api::Channel::get_etag ( ) const
inline

Get the value of the 'etag' attribute.

◆ get_id()

const StringPiece google_youtube_api::Channel::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_invideo_promotion()

const InvideoPromotion google_youtube_api::Channel::get_invideo_promotion ( ) const

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

◆ get_kind()

const StringPiece google_youtube_api::Channel::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_localizations()

const client::JsonCppAssociativeArray<ChannelLocalization > google_youtube_api::Channel::get_localizations ( ) const

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

◆ get_snippet()

const ChannelSnippet google_youtube_api::Channel::get_snippet ( ) const

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

◆ get_statistics()

const ChannelStatistics google_youtube_api::Channel::get_statistics ( ) const

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

◆ get_status()

const ChannelStatus google_youtube_api::Channel::get_status ( ) const

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

◆ get_topic_details()

const ChannelTopicDetails google_youtube_api::Channel::get_topic_details ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::Channel

◆ has_audit_details()

bool google_youtube_api::Channel::has_audit_details ( ) const
inline

Determine if the 'auditDetails' attribute was set.

Returns
true if the 'auditDetails' attribute was set.

◆ has_branding_settings()

bool google_youtube_api::Channel::has_branding_settings ( ) const
inline

Determine if the 'brandingSettings' attribute was set.

Returns
true if the 'brandingSettings' attribute was set.

◆ has_content_details()

bool google_youtube_api::Channel::has_content_details ( ) const
inline

Determine if the 'contentDetails' attribute was set.

Returns
true if the 'contentDetails' attribute was set.

◆ has_content_owner_details()

bool google_youtube_api::Channel::has_content_owner_details ( ) const
inline

Determine if the 'contentOwnerDetails' attribute was set.

Returns
true if the 'contentOwnerDetails' attribute was set.

◆ has_conversion_pings()

bool google_youtube_api::Channel::has_conversion_pings ( ) const
inline

Determine if the 'conversionPings' attribute was set.

Returns
true if the 'conversionPings' attribute was set.

◆ has_etag()

bool google_youtube_api::Channel::has_etag ( ) const
inline

Determine if the 'etag' attribute was set.

Returns
true if the 'etag' attribute was set.

◆ has_id()

bool google_youtube_api::Channel::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_invideo_promotion()

bool google_youtube_api::Channel::has_invideo_promotion ( ) const
inline

Determine if the 'invideoPromotion' attribute was set.

Returns
true if the 'invideoPromotion' attribute was set.

◆ has_kind()

bool google_youtube_api::Channel::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_localizations()

bool google_youtube_api::Channel::has_localizations ( ) const
inline

Determine if the 'localizations' attribute was set.

Returns
true if the 'localizations' attribute was set.

◆ has_snippet()

bool google_youtube_api::Channel::has_snippet ( ) const
inline

Determine if the 'snippet' attribute was set.

Returns
true if the 'snippet' attribute was set.

◆ has_statistics()

bool google_youtube_api::Channel::has_statistics ( ) const
inline

Determine if the 'statistics' attribute was set.

Returns
true if the 'statistics' attribute was set.

◆ has_status()

bool google_youtube_api::Channel::has_status ( ) const
inline

Determine if the 'status' attribute was set.

Returns
true if the 'status' attribute was set.

◆ has_topic_details()

bool google_youtube_api::Channel::has_topic_details ( ) const
inline

Determine if the 'topicDetails' attribute was set.

Returns
true if the 'topicDetails' attribute was set.

◆ mutable_auditDetails()

ChannelAuditDetails google_youtube_api::Channel::mutable_auditDetails ( )

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

The auditionDetails object encapsulates channel data that is relevant for YouTube Partners during the audition process.

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

◆ mutable_brandingSettings()

ChannelBrandingSettings google_youtube_api::Channel::mutable_brandingSettings ( )

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

The brandingSettings object encapsulates information about the branding of the channel.

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

◆ mutable_contentDetails()

ChannelContentDetails google_youtube_api::Channel::mutable_contentDetails ( )

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

The contentDetails object encapsulates information about the channel's content.

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

◆ mutable_contentOwnerDetails()

ChannelContentOwnerDetails google_youtube_api::Channel::mutable_contentOwnerDetails ( )

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

The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel.

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

◆ mutable_conversionPings()

ChannelConversionPings google_youtube_api::Channel::mutable_conversionPings ( )

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

The conversionPings object encapsulates information about conversion pings that need to be respected by the channel.

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

◆ mutable_invideoPromotion()

InvideoPromotion google_youtube_api::Channel::mutable_invideoPromotion ( )

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

The invideoPromotion object encapsulates information about promotion campaign associated with the channel.

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

◆ mutable_localizations()

client::JsonCppAssociativeArray<ChannelLocalization > google_youtube_api::Channel::mutable_localizations ( )

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

Localizations for different languages.

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

◆ mutable_snippet()

ChannelSnippet google_youtube_api::Channel::mutable_snippet ( )

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

The snippet object contains basic details about the channel, such as its title, description, and thumbnail images.

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

◆ mutable_statistics()

ChannelStatistics google_youtube_api::Channel::mutable_statistics ( )

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

The statistics object encapsulates statistics for the channel.

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

◆ mutable_status()

ChannelStatus google_youtube_api::Channel::mutable_status ( )

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

The status object encapsulates information about the privacy status of the channel.

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

◆ mutable_topicDetails()

ChannelTopicDetails google_youtube_api::Channel::mutable_topicDetails ( )

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

The topicDetails object encapsulates information about Freebase topics associated with the channel.

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

◆ New()

Channel * google_youtube_api::Channel::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_etag()

void google_youtube_api::Channel::set_etag ( const StringPiece &  value)
inline

Change the 'etag' attribute.

Etag of this resource.

Parameters
[in]valueThe new value.

◆ set_id()

void google_youtube_api::Channel::set_id ( const StringPiece &  value)
inline

Change the 'id' attribute.

The ID that YouTube uses to uniquely identify the channel.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_youtube_api::Channel::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Identifies what kind of resource this is. Value: the fixed string "youtube#channel".

Parameters
[in]valueThe new value.

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