youtube
v3
|
#include <video_snippet.h>
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 VideoSnippet * | New () |
Basic details about a video, including title, description, uploader, thumbnails and category.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'categoryId
' attribute.
|
inline |
Clears the 'channelId
' attribute.
|
inline |
Clears the 'channelTitle
' attribute.
|
inline |
Clears the 'defaultAudioLanguage
' attribute.
|
inline |
Clears the 'defaultLanguage
' attribute.
|
inline |
Clears the 'description
' attribute.
|
inline |
Clears the 'liveBroadcastContent
' attribute.
|
inline |
Clears the 'localized
' attribute.
|
inline |
Clears the 'publishedAt
' attribute.
|
inline |
Clears the 'tags
' attribute.
|
inline |
Clears the 'thumbnails
' attribute.
|
inline |
Clears the 'title
' attribute.
|
inline |
Get the value of the 'categoryId
' attribute.
|
inline |
Get the value of the 'channelId
' attribute.
|
inline |
Get the value of the 'channelTitle
' attribute.
|
inline |
Get the value of the 'defaultAudioLanguage
' attribute.
|
inline |
Get the value of the 'defaultLanguage
' attribute.
|
inline |
Get the value of the 'description
' attribute.
|
inline |
Get the value of the 'liveBroadcastContent
' attribute.
const VideoLocalization google_youtube_api::VideoSnippet::get_localized | ( | ) | const |
Get a reference to the value of the 'localized
' attribute.
|
inline |
Get the value of the 'publishedAt
' attribute.
|
inline |
Get a reference to the value of the 'tags
' attribute.
const ThumbnailDetails google_youtube_api::VideoSnippet::get_thumbnails | ( | ) | const |
Get a reference to the value of the 'thumbnails
' attribute.
|
inline |
Get the value of the 'title
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'categoryId
' attribute was set.
categoryId
' attribute was set.
|
inline |
Determine if the 'channelId
' attribute was set.
channelId
' attribute was set.
|
inline |
Determine if the 'channelTitle
' attribute was set.
channelTitle
' attribute was set.
|
inline |
Determine if the 'defaultAudioLanguage
' attribute was set.
defaultAudioLanguage
' attribute was set.
|
inline |
Determine if the 'defaultLanguage
' attribute was set.
defaultLanguage
' attribute was set.
|
inline |
Determine if the 'description
' attribute was set.
description
' attribute was set.
|
inline |
Determine if the 'liveBroadcastContent
' attribute was set.
liveBroadcastContent
' attribute was set.
|
inline |
Determine if the 'localized
' attribute was set.
localized
' attribute was set.
|
inline |
Determine if the 'publishedAt
' attribute was set.
publishedAt
' attribute was set.
|
inline |
Determine if the 'tags
' attribute was set.
tags
' attribute was set.
|
inline |
Determine if the 'thumbnails
' attribute was set.
thumbnails
' attribute was set.
|
inline |
Determine if the 'title
' attribute was set.
title
' attribute was set. 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).
|
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.
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.
|
static |
Creates a new default instance.
|
inline |
Change the 'categoryId
' attribute.
The YouTube video category associated with the video.
[in] | value | The new value. |
|
inline |
Change the 'channelId
' attribute.
The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.
[in] | value | The new value. |
|
inline |
Change the 'channelTitle
' attribute.
Channel title for the channel that the video belongs to.
[in] | value | The new value. |
|
inline |
Change the 'defaultAudioLanguage
' attribute.
The default_audio_language property specifies the language spoken in the video's default audio track.
[in] | value | The new value. |
|
inline |
Change the 'defaultLanguage
' attribute.
The language of the videos's default snippet.
[in] | value | The new value. |
|
inline |
Change the 'description
' attribute.
The video's description.
[in] | value | The new 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.
[in] | value | The new 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.
[in] | value | The new value. |
|
inline |
Change the 'title
' attribute.
The video's title.
[in] | value | The new value. |