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

#include <playlist_snippet.h>

Inheritance diagram for google_youtube_api::PlaylistSnippet:

Public Member Functions

 PlaylistSnippet (const Json::Value &storage)
 
 PlaylistSnippet (Json::Value *storage)
 
virtual ~PlaylistSnippet ()
 
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_channel_title () const
 
void clear_channel_title ()
 
const StringPiece get_channel_title () const
 
void set_channel_title (const StringPiece &value)
 
bool has_default_language () const
 
void clear_default_language ()
 
const StringPiece get_default_language () const
 
void set_default_language (const StringPiece &value)
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_localized () const
 
void clear_localized ()
 
const PlaylistLocalization get_localized () const
 
PlaylistLocalization mutable_localized ()
 
bool has_published_at () const
 
void clear_published_at ()
 
client::DateTime get_published_at () const
 
void set_published_at (client::DateTime value)
 
bool has_tags () const
 
void clear_tags ()
 
const client::JsonCppArray< string > get_tags () const
 
client::JsonCppArray< string > mutable_tags ()
 
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 PlaylistSnippetNew ()
 

Detailed Description

Basic details about a playlist, including title, description and thumbnails.

Constructor & Destructor Documentation

◆ PlaylistSnippet() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ PlaylistSnippet() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~PlaylistSnippet()

google_youtube_api::PlaylistSnippet::~PlaylistSnippet ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_channel_id()

void google_youtube_api::PlaylistSnippet::clear_channel_id ( )
inline

Clears the 'channelId' attribute.

◆ clear_channel_title()

void google_youtube_api::PlaylistSnippet::clear_channel_title ( )
inline

Clears the 'channelTitle' attribute.

◆ clear_default_language()

void google_youtube_api::PlaylistSnippet::clear_default_language ( )
inline

Clears the 'defaultLanguage' attribute.

◆ clear_description()

void google_youtube_api::PlaylistSnippet::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_localized()

void google_youtube_api::PlaylistSnippet::clear_localized ( )
inline

Clears the 'localized' attribute.

◆ clear_published_at()

void google_youtube_api::PlaylistSnippet::clear_published_at ( )
inline

Clears the 'publishedAt' attribute.

◆ clear_tags()

void google_youtube_api::PlaylistSnippet::clear_tags ( )
inline

Clears the 'tags' attribute.

◆ clear_thumbnails()

void google_youtube_api::PlaylistSnippet::clear_thumbnails ( )
inline

Clears the 'thumbnails' attribute.

◆ clear_title()

void google_youtube_api::PlaylistSnippet::clear_title ( )
inline

Clears the 'title' attribute.

◆ get_channel_id()

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

Get the value of the 'channelId' attribute.

◆ get_channel_title()

const StringPiece google_youtube_api::PlaylistSnippet::get_channel_title ( ) const
inline

Get the value of the 'channelTitle' attribute.

◆ get_default_language()

const StringPiece google_youtube_api::PlaylistSnippet::get_default_language ( ) const
inline

Get the value of the 'defaultLanguage' attribute.

◆ get_description()

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

Get the value of the 'description' attribute.

◆ get_localized()

const PlaylistLocalization google_youtube_api::PlaylistSnippet::get_localized ( ) const

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

◆ get_published_at()

client::DateTime google_youtube_api::PlaylistSnippet::get_published_at ( ) const
inline

Get the value of the 'publishedAt' attribute.

◆ get_tags()

const client::JsonCppArray<string > google_youtube_api::PlaylistSnippet::get_tags ( ) const
inline

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

◆ get_thumbnails()

const ThumbnailDetails google_youtube_api::PlaylistSnippet::get_thumbnails ( ) const

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

◆ get_title()

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

Get the value of the 'title' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::PlaylistSnippet

◆ has_channel_id()

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

Determine if the 'channelId' attribute was set.

Returns
true if the 'channelId' attribute was set.

◆ has_channel_title()

bool google_youtube_api::PlaylistSnippet::has_channel_title ( ) const
inline

Determine if the 'channelTitle' attribute was set.

Returns
true if the 'channelTitle' attribute was set.

◆ has_default_language()

bool google_youtube_api::PlaylistSnippet::has_default_language ( ) const
inline

Determine if the 'defaultLanguage' attribute was set.

Returns
true if the 'defaultLanguage' attribute was set.

◆ has_description()

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

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_localized()

bool google_youtube_api::PlaylistSnippet::has_localized ( ) const
inline

Determine if the 'localized' attribute was set.

Returns
true if the 'localized' attribute was set.

◆ has_published_at()

bool google_youtube_api::PlaylistSnippet::has_published_at ( ) const
inline

Determine if the 'publishedAt' attribute was set.

Returns
true if the 'publishedAt' attribute was set.

◆ has_tags()

bool google_youtube_api::PlaylistSnippet::has_tags ( ) const
inline

Determine if the 'tags' attribute was set.

Returns
true if the 'tags' attribute was set.

◆ has_thumbnails()

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

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ mutable_localized()

PlaylistLocalization google_youtube_api::PlaylistSnippet::mutable_localized ( )

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

Localized title and description, read-only.

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

◆ mutable_tags()

client::JsonCppArray<string > google_youtube_api::PlaylistSnippet::mutable_tags ( )
inline

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

Keyword tags associated with the playlist.

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

◆ mutable_thumbnails()

ThumbnailDetails google_youtube_api::PlaylistSnippet::mutable_thumbnails ( )

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

A map of thumbnail images associated with the playlist. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.

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

◆ New()

PlaylistSnippet * google_youtube_api::PlaylistSnippet::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_channel_id()

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

Change the 'channelId' attribute.

The ID that YouTube uses to uniquely identify the channel that published the playlist.

Parameters
[in]valueThe new value.

◆ set_channel_title()

void google_youtube_api::PlaylistSnippet::set_channel_title ( const StringPiece &  value)
inline

Change the 'channelTitle' attribute.

The channel title of the channel that the video belongs to.

Parameters
[in]valueThe new value.

◆ set_default_language()

void google_youtube_api::PlaylistSnippet::set_default_language ( const StringPiece &  value)
inline

Change the 'defaultLanguage' attribute.

The language of the playlist's default title and description.

Parameters
[in]valueThe new value.

◆ set_description()

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

Change the 'description' attribute.

The playlist's description.

Parameters
[in]valueThe new value.

◆ set_published_at()

void google_youtube_api::PlaylistSnippet::set_published_at ( client::DateTime  value)
inline

Change the 'publishedAt' attribute.

The date and time that the playlist was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.

Parameters
[in]valueThe new value.

◆ set_title()

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

Change the 'title' attribute.

The playlist's title.

Parameters
[in]valueThe new value.

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