youtube
v3
|
#include <search_result_snippet.h>
Public Member Functions | |
SearchResultSnippet (const Json::Value &storage) | |
SearchResultSnippet (Json::Value *storage) | |
virtual | ~SearchResultSnippet () |
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_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_published_at () const |
void | clear_published_at () |
client::DateTime | get_published_at () const |
void | set_published_at (client::DateTime value) |
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 SearchResultSnippet * | New () |
Basic details about a search result, including title, description and thumbnails of the item referenced by the search result.
|
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 'channelId
' attribute.
|
inline |
Clears the 'channelTitle
' attribute.
|
inline |
Clears the 'description
' attribute.
|
inline |
Clears the 'liveBroadcastContent
' attribute.
|
inline |
Clears the 'publishedAt
' attribute.
|
inline |
Clears the 'thumbnails
' attribute.
|
inline |
Clears the 'title
' attribute.
|
inline |
Get the value of the 'channelId
' attribute.
|
inline |
Get the value of the 'channelTitle
' attribute.
|
inline |
Get the value of the 'description
' attribute.
|
inline |
Get the value of the 'liveBroadcastContent
' attribute.
|
inline |
Get the value of the 'publishedAt
' attribute.
const ThumbnailDetails google_youtube_api::SearchResultSnippet::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 'channelId
' attribute was set.
channelId
' attribute was set.
|
inline |
Determine if the 'channelTitle
' attribute was set.
channelTitle
' 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 'publishedAt
' attribute was set.
publishedAt
' 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. ThumbnailDetails google_youtube_api::SearchResultSnippet::mutable_thumbnails | ( | ) |
Gets a reference to a mutable value of the 'thumbnails
' property.
A map of thumbnail images associated with the search result. 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 'channelId
' attribute.
The value that YouTube uses to uniquely identify the channel that published the resource that the search result identifies.
[in] | value | The new value. |
|
inline |
Change the 'channelTitle
' attribute.
The title of the channel that published the resource that the search result identifies.
[in] | value | The new value. |
|
inline |
Change the 'description
' attribute.
A description of the search result.
[in] | value | The new value. |
|
inline |
Change the 'liveBroadcastContent
' attribute.
It indicates if the resource (video or channel) has upcoming/active live broadcast content. Or it's "none" if there is not any upcoming/active live broadcasts.
[in] | value | The new value. |
|
inline |
Change the 'publishedAt
' attribute.
The creation date and time of the resource that the search result identifies. 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 title of the search result.
[in] | value | The new value. |