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

#include <channel_section_content_details.h>

Inheritance diagram for google_youtube_api::ChannelSectionContentDetails:

Public Member Functions

 ChannelSectionContentDetails (const Json::Value &storage)
 
 ChannelSectionContentDetails (Json::Value *storage)
 
virtual ~ChannelSectionContentDetails ()
 
const StringPiece GetTypeName () const
 
bool has_channels () const
 
void clear_channels ()
 
const client::JsonCppArray< string > get_channels () const
 
client::JsonCppArray< string > mutable_channels ()
 
bool has_playlists () const
 
void clear_playlists ()
 
const client::JsonCppArray< string > get_playlists () const
 
client::JsonCppArray< string > mutable_playlists ()
 

Static Public Member Functions

static ChannelSectionContentDetailsNew ()
 

Detailed Description

Details about a channelsection, including playlists and channels.

Constructor & Destructor Documentation

◆ ChannelSectionContentDetails() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ChannelSectionContentDetails() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ChannelSectionContentDetails()

google_youtube_api::ChannelSectionContentDetails::~ChannelSectionContentDetails ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_channels()

void google_youtube_api::ChannelSectionContentDetails::clear_channels ( )
inline

Clears the 'channels' attribute.

◆ clear_playlists()

void google_youtube_api::ChannelSectionContentDetails::clear_playlists ( )
inline

Clears the 'playlists' attribute.

◆ get_channels()

const client::JsonCppArray<string > google_youtube_api::ChannelSectionContentDetails::get_channels ( ) const
inline

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

◆ get_playlists()

const client::JsonCppArray<string > google_youtube_api::ChannelSectionContentDetails::get_playlists ( ) const
inline

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::ChannelSectionContentDetails

◆ has_channels()

bool google_youtube_api::ChannelSectionContentDetails::has_channels ( ) const
inline

Determine if the 'channels' attribute was set.

Returns
true if the 'channels' attribute was set.

◆ has_playlists()

bool google_youtube_api::ChannelSectionContentDetails::has_playlists ( ) const
inline

Determine if the 'playlists' attribute was set.

Returns
true if the 'playlists' attribute was set.

◆ mutable_channels()

client::JsonCppArray<string > google_youtube_api::ChannelSectionContentDetails::mutable_channels ( )
inline

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

The channel ids for type multiple_channels.

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

◆ mutable_playlists()

client::JsonCppArray<string > google_youtube_api::ChannelSectionContentDetails::mutable_playlists ( )
inline

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

The playlist ids for type single_playlist and multiple_playlists. For singlePlaylist, only one playlistId is allowed.

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

◆ New()

ChannelSectionContentDetails * google_youtube_api::ChannelSectionContentDetails::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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