youtube
v3
|
#include <playlist.h>
Public Member Functions | |
Playlist (const Json::Value &storage) | |
Playlist (Json::Value *storage) | |
virtual | ~Playlist () |
const StringPiece | GetTypeName () const |
bool | has_content_details () const |
void | clear_content_details () |
const PlaylistContentDetails | get_content_details () const |
PlaylistContentDetails | mutable_contentDetails () |
bool | has_etag () const |
void | clear_etag () |
const StringPiece | get_etag () const |
void | set_etag (const StringPiece &value) |
bool | has_id () const |
void | clear_id () |
const StringPiece | get_id () const |
void | set_id (const StringPiece &value) |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
bool | has_localizations () const |
void | clear_localizations () |
const client::JsonCppAssociativeArray< PlaylistLocalization > | get_localizations () const |
client::JsonCppAssociativeArray< PlaylistLocalization > | mutable_localizations () |
bool | has_player () const |
void | clear_player () |
const PlaylistPlayer | get_player () const |
PlaylistPlayer | mutable_player () |
bool | has_snippet () const |
void | clear_snippet () |
const PlaylistSnippet | get_snippet () const |
PlaylistSnippet | mutable_snippet () |
bool | has_status () const |
void | clear_status () |
const PlaylistStatus | get_status () const |
PlaylistStatus | mutable_status () |
Static Public Member Functions | |
static Playlist * | New () |
A playlist resource represents a YouTube playlist. A playlist is a collection of videos that can be viewed sequentially and shared with other users. A playlist can contain up to 200 videos, and YouTube does not limit the number of playlists that each user creates. By default, playlists are publicly visible to other users, but playlists can be public or private.
YouTube also uses playlists to identify special collections of videos for a channel, such as:
You can then use the playlistItems.list method to retrieve any of those lists. You can also add or remove items from those lists by calling the playlistItems.insert and playlistItems.delete methods.
|
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 'contentDetails
' attribute.
|
inline |
Clears the 'etag
' attribute.
|
inline |
Clears the 'id
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'localizations
' attribute.
|
inline |
Clears the 'player
' attribute.
|
inline |
Clears the 'snippet
' attribute.
|
inline |
Clears the 'status
' attribute.
const PlaylistContentDetails google_youtube_api::Playlist::get_content_details | ( | ) | const |
Get a reference to the value of the 'contentDetails
' attribute.
|
inline |
Get the value of the 'etag
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
const client::JsonCppAssociativeArray<PlaylistLocalization > google_youtube_api::Playlist::get_localizations | ( | ) | const |
Get a reference to the value of the 'localizations
' attribute.
const PlaylistPlayer google_youtube_api::Playlist::get_player | ( | ) | const |
Get a reference to the value of the 'player
' attribute.
const PlaylistSnippet google_youtube_api::Playlist::get_snippet | ( | ) | const |
Get a reference to the value of the 'snippet
' attribute.
const PlaylistStatus google_youtube_api::Playlist::get_status | ( | ) | const |
Get a reference to the value of the 'status
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_youtube_api::Playlist
|
inline |
Determine if the 'contentDetails
' attribute was set.
contentDetails
' attribute was set.
|
inline |
Determine if the 'etag
' attribute was set.
etag
' attribute was set.
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'localizations
' attribute was set.
localizations
' attribute was set.
|
inline |
Determine if the 'player
' attribute was set.
player
' attribute was set.
|
inline |
Determine if the 'snippet
' attribute was set.
snippet
' attribute was set.
|
inline |
Determine if the 'status
' attribute was set.
status
' attribute was set. PlaylistContentDetails google_youtube_api::Playlist::mutable_contentDetails | ( | ) |
Gets a reference to a mutable value of the 'contentDetails
' property.
The contentDetails object contains information like video count.
client::JsonCppAssociativeArray<PlaylistLocalization > google_youtube_api::Playlist::mutable_localizations | ( | ) |
Gets a reference to a mutable value of the 'localizations
' property.
Localizations for different languages.
PlaylistPlayer google_youtube_api::Playlist::mutable_player | ( | ) |
Gets a reference to a mutable value of the 'player
' property.
The player object contains information that you would use to play the playlist in an embedded player.
PlaylistSnippet google_youtube_api::Playlist::mutable_snippet | ( | ) |
Gets a reference to a mutable value of the 'snippet
' property.
The snippet object contains basic details about the playlist, such as its title and description.
PlaylistStatus google_youtube_api::Playlist::mutable_status | ( | ) |
Gets a reference to a mutable value of the 'status
' property.
The status object contains status information for the playlist.
|
static |
Creates a new default instance.
|
inline |
Change the 'etag
' attribute.
Etag of this resource.
[in] | value | The new value. |
|
inline |
Change the 'id
' attribute.
The ID that YouTube uses to uniquely identify the playlist.
[in] | value | The new value. |
|
inline |
Change the 'kind
' attribute.
Identifies what kind of resource this is. Value: the fixed string "youtube#playlist".
[in] | value | The new value. |