youtube
v3
|
#include <channel_snippet.h>
Public Member Functions | |
ChannelSnippet (const Json::Value &storage) | |
ChannelSnippet (Json::Value *storage) | |
virtual | ~ChannelSnippet () |
const StringPiece | GetTypeName () const |
bool | has_country () const |
void | clear_country () |
const StringPiece | get_country () const |
void | set_country (const StringPiece &value) |
bool | has_custom_url () const |
void | clear_custom_url () |
const StringPiece | get_custom_url () const |
void | set_custom_url (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 ChannelLocalization | get_localized () const |
ChannelLocalization | 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_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 ChannelSnippet * | New () |
Basic details about a channel, including title, description and thumbnails.
|
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 'country
' attribute.
|
inline |
Clears the 'customUrl
' attribute.
|
inline |
Clears the 'defaultLanguage
' attribute.
|
inline |
Clears the 'description
' attribute.
|
inline |
Clears the 'localized
' attribute.
|
inline |
Clears the 'publishedAt
' attribute.
|
inline |
Clears the 'thumbnails
' attribute.
|
inline |
Clears the 'title
' attribute.
|
inline |
Get the value of the 'country
' attribute.
|
inline |
Get the value of the 'customUrl
' attribute.
|
inline |
Get the value of the 'defaultLanguage
' attribute.
|
inline |
Get the value of the 'description
' attribute.
const ChannelLocalization google_youtube_api::ChannelSnippet::get_localized | ( | ) | const |
Get a reference to the value of the 'localized
' attribute.
|
inline |
Get the value of the 'publishedAt
' attribute.
const ThumbnailDetails google_youtube_api::ChannelSnippet::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 'country
' attribute was set.
country
' attribute was set.
|
inline |
Determine if the 'customUrl
' attribute was set.
customUrl
' 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 'localized
' attribute was set.
localized
' 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. ChannelLocalization google_youtube_api::ChannelSnippet::mutable_localized | ( | ) |
Gets a reference to a mutable value of the 'localized
' property.
Localized title and description, read-only.
ThumbnailDetails google_youtube_api::ChannelSnippet::mutable_thumbnails | ( | ) |
Gets a reference to a mutable value of the 'thumbnails
' property.
A map of thumbnail images associated with the channel. 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.
When displaying thumbnails in your application, make sure that your code uses the image URLs exactly as they are returned in API responses. For example, your application should not use the http domain instead of the https domain in a URL returned in an API response.
Beginning in July 2018, channel thumbnail URLs will only be available in the https domain, which is how the URLs appear in API responses. After that time, you might see broken images in your application if it tries to load YouTube images from the http domain.
|
static |
Creates a new default instance.
|
inline |
Change the 'country
' attribute.
The country of the channel.
[in] | value | The new value. |
|
inline |
Change the 'customUrl
' attribute.
The custom url of the channel.
[in] | value | The new value. |
|
inline |
Change the 'defaultLanguage
' attribute.
The language of the channel's default title and description.
[in] | value | The new value. |
|
inline |
Change the 'description
' attribute.
The description of the channel.
[in] | value | The new value. |
|
inline |
Change the 'publishedAt
' attribute.
The date and time that the channel was created. 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 channel's title.
[in] | value | The new value. |