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

#include <video_snippet.h>

Inheritance diagram for google_youtube_api::VideoSnippet:

Public Member Functions

 VideoSnippet (const Json::Value &storage)
 
 VideoSnippet (Json::Value *storage)
 
virtual ~VideoSnippet ()
 
const StringPiece GetTypeName () const
 
bool has_category_id () const
 
void clear_category_id ()
 
const StringPiece get_category_id () const
 
void set_category_id (const StringPiece &value)
 
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_audio_language () const
 
void clear_default_audio_language ()
 
const StringPiece get_default_audio_language () const
 
void set_default_audio_language (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_live_broadcast_content () const
 
void clear_live_broadcast_content ()
 
const StringPiece get_live_broadcast_content () const
 
void set_live_broadcast_content (const StringPiece &value)
 
bool has_localized () const
 
void clear_localized ()
 
const VideoLocalization get_localized () const
 
VideoLocalization 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 VideoSnippetNew ()
 

Detailed Description

Basic details about a video, including title, description, uploader, thumbnails and category.

Constructor & Destructor Documentation

◆ VideoSnippet() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ VideoSnippet() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~VideoSnippet()

google_youtube_api::VideoSnippet::~VideoSnippet ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_category_id()

void google_youtube_api::VideoSnippet::clear_category_id ( )
inline

Clears the 'categoryId' attribute.

◆ clear_channel_id()

void google_youtube_api::VideoSnippet::clear_channel_id ( )
inline

Clears the 'channelId' attribute.

◆ clear_channel_title()

void google_youtube_api::VideoSnippet::clear_channel_title ( )
inline

Clears the 'channelTitle' attribute.

◆ clear_default_audio_language()

void google_youtube_api::VideoSnippet::clear_default_audio_language ( )
inline

Clears the 'defaultAudioLanguage' attribute.

◆ clear_default_language()

void google_youtube_api::VideoSnippet::clear_default_language ( )
inline

Clears the 'defaultLanguage' attribute.

◆ clear_description()

void google_youtube_api::VideoSnippet::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_live_broadcast_content()

void google_youtube_api::VideoSnippet::clear_live_broadcast_content ( )
inline

Clears the 'liveBroadcastContent' attribute.

◆ clear_localized()

void google_youtube_api::VideoSnippet::clear_localized ( )
inline

Clears the 'localized' attribute.

◆ clear_published_at()

void google_youtube_api::VideoSnippet::clear_published_at ( )
inline

Clears the 'publishedAt' attribute.

◆ clear_tags()

void google_youtube_api::VideoSnippet::clear_tags ( )
inline

Clears the 'tags' attribute.

◆ clear_thumbnails()

void google_youtube_api::VideoSnippet::clear_thumbnails ( )
inline

Clears the 'thumbnails' attribute.

◆ clear_title()

void google_youtube_api::VideoSnippet::clear_title ( )
inline

Clears the 'title' attribute.

◆ get_category_id()

const StringPiece google_youtube_api::VideoSnippet::get_category_id ( ) const
inline

Get the value of the 'categoryId' attribute.

◆ get_channel_id()

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

Get the value of the 'channelId' attribute.

◆ get_channel_title()

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

Get the value of the 'channelTitle' attribute.

◆ get_default_audio_language()

const StringPiece google_youtube_api::VideoSnippet::get_default_audio_language ( ) const
inline

Get the value of the 'defaultAudioLanguage' attribute.

◆ get_default_language()

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

Get the value of the 'defaultLanguage' attribute.

◆ get_description()

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

Get the value of the 'description' attribute.

◆ get_live_broadcast_content()

const StringPiece google_youtube_api::VideoSnippet::get_live_broadcast_content ( ) const
inline

Get the value of the 'liveBroadcastContent' attribute.

◆ get_localized()

const VideoLocalization google_youtube_api::VideoSnippet::get_localized ( ) const

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

◆ get_published_at()

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

Get the value of the 'publishedAt' attribute.

◆ get_tags()

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

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

◆ get_thumbnails()

const ThumbnailDetails google_youtube_api::VideoSnippet::get_thumbnails ( ) const

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

◆ get_title()

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

Get the value of the 'title' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::VideoSnippet

◆ has_category_id()

bool google_youtube_api::VideoSnippet::has_category_id ( ) const
inline

Determine if the 'categoryId' attribute was set.

Returns
true if the 'categoryId' attribute was set.

◆ has_channel_id()

bool google_youtube_api::VideoSnippet::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::VideoSnippet::has_channel_title ( ) const
inline

Determine if the 'channelTitle' attribute was set.

Returns
true if the 'channelTitle' attribute was set.

◆ has_default_audio_language()

bool google_youtube_api::VideoSnippet::has_default_audio_language ( ) const
inline

Determine if the 'defaultAudioLanguage' attribute was set.

Returns
true if the 'defaultAudioLanguage' attribute was set.

◆ has_default_language()

bool google_youtube_api::VideoSnippet::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::VideoSnippet::has_description ( ) const
inline

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_live_broadcast_content()

bool google_youtube_api::VideoSnippet::has_live_broadcast_content ( ) const
inline

Determine if the 'liveBroadcastContent' attribute was set.

Returns
true if the 'liveBroadcastContent' attribute was set.

◆ has_localized()

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

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ mutable_localized()

VideoLocalization google_youtube_api::VideoSnippet::mutable_localized ( )

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

Localized snippet selected with the hl parameter. If no such localization exists, this field is populated with the default snippet. (Read-only).

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

◆ mutable_tags()

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

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

A list of keyword tags associated with the video. Tags may contain spaces.

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

◆ mutable_thumbnails()

ThumbnailDetails google_youtube_api::VideoSnippet::mutable_thumbnails ( )

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

A map of thumbnail images associated with the video. 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()

VideoSnippet * google_youtube_api::VideoSnippet::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_category_id()

void google_youtube_api::VideoSnippet::set_category_id ( const StringPiece &  value)
inline

Change the 'categoryId' attribute.

The YouTube video category associated with the video.

Parameters
[in]valueThe new value.

◆ set_channel_id()

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

Change the 'channelId' attribute.

The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.

Parameters
[in]valueThe new value.

◆ set_channel_title()

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

Change the 'channelTitle' attribute.

Channel title for the channel that the video belongs to.

Parameters
[in]valueThe new value.

◆ set_default_audio_language()

void google_youtube_api::VideoSnippet::set_default_audio_language ( const StringPiece &  value)
inline

Change the 'defaultAudioLanguage' attribute.

The default_audio_language property specifies the language spoken in the video's default audio track.

Parameters
[in]valueThe new value.

◆ set_default_language()

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

Change the 'defaultLanguage' attribute.

The language of the videos's default snippet.

Parameters
[in]valueThe new value.

◆ set_description()

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

Change the 'description' attribute.

The video's description.

Parameters
[in]valueThe new value.

◆ set_live_broadcast_content()

void google_youtube_api::VideoSnippet::set_live_broadcast_content ( const StringPiece &  value)
inline

Change the 'liveBroadcastContent' attribute.

Indicates if the video is an upcoming/active live broadcast. Or it's "none" if the video is not an upcoming/active live broadcast.

Parameters
[in]valueThe new value.

◆ set_published_at()

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

Change the 'publishedAt' attribute.

The date and time that the video was uploaded. 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::VideoSnippet::set_title ( const StringPiece &  value)
inline

Change the 'title' attribute.

The video's title.

Parameters
[in]valueThe new value.

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