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

#include <playlist_item_snippet.h>

Inheritance diagram for google_youtube_api::PlaylistItemSnippet:

Public Member Functions

 PlaylistItemSnippet (const Json::Value &storage)
 
 PlaylistItemSnippet (Json::Value *storage)
 
virtual ~PlaylistItemSnippet ()
 
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_playlist_id () const
 
void clear_playlist_id ()
 
const StringPiece get_playlist_id () const
 
void set_playlist_id (const StringPiece &value)
 
bool has_position () const
 
void clear_position ()
 
uint32 get_position () const
 
void set_position (uint32 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_resource_id () const
 
void clear_resource_id ()
 
const ResourceId get_resource_id () const
 
ResourceId mutable_resourceId ()
 
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 PlaylistItemSnippetNew ()
 

Detailed Description

Basic details about a playlist, including title, description and thumbnails.

Constructor & Destructor Documentation

◆ PlaylistItemSnippet() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ PlaylistItemSnippet() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~PlaylistItemSnippet()

google_youtube_api::PlaylistItemSnippet::~PlaylistItemSnippet ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_channel_id()

void google_youtube_api::PlaylistItemSnippet::clear_channel_id ( )
inline

Clears the 'channelId' attribute.

◆ clear_channel_title()

void google_youtube_api::PlaylistItemSnippet::clear_channel_title ( )
inline

Clears the 'channelTitle' attribute.

◆ clear_description()

void google_youtube_api::PlaylistItemSnippet::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_playlist_id()

void google_youtube_api::PlaylistItemSnippet::clear_playlist_id ( )
inline

Clears the 'playlistId' attribute.

◆ clear_position()

void google_youtube_api::PlaylistItemSnippet::clear_position ( )
inline

Clears the 'position' attribute.

◆ clear_published_at()

void google_youtube_api::PlaylistItemSnippet::clear_published_at ( )
inline

Clears the 'publishedAt' attribute.

◆ clear_resource_id()

void google_youtube_api::PlaylistItemSnippet::clear_resource_id ( )
inline

Clears the 'resourceId' attribute.

◆ clear_thumbnails()

void google_youtube_api::PlaylistItemSnippet::clear_thumbnails ( )
inline

Clears the 'thumbnails' attribute.

◆ clear_title()

void google_youtube_api::PlaylistItemSnippet::clear_title ( )
inline

Clears the 'title' attribute.

◆ get_channel_id()

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

Get the value of the 'channelId' attribute.

◆ get_channel_title()

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

Get the value of the 'channelTitle' attribute.

◆ get_description()

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

Get the value of the 'description' attribute.

◆ get_playlist_id()

const StringPiece google_youtube_api::PlaylistItemSnippet::get_playlist_id ( ) const
inline

Get the value of the 'playlistId' attribute.

◆ get_position()

uint32 google_youtube_api::PlaylistItemSnippet::get_position ( ) const
inline

Get the value of the 'position' attribute.

◆ get_published_at()

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

Get the value of the 'publishedAt' attribute.

◆ get_resource_id()

const ResourceId google_youtube_api::PlaylistItemSnippet::get_resource_id ( ) const

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

◆ get_thumbnails()

const ThumbnailDetails google_youtube_api::PlaylistItemSnippet::get_thumbnails ( ) const

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

◆ get_title()

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

Get the value of the 'title' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::PlaylistItemSnippet

◆ has_channel_id()

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

Determine if the 'channelTitle' attribute was set.

Returns
true if the 'channelTitle' attribute was set.

◆ has_description()

bool google_youtube_api::PlaylistItemSnippet::has_description ( ) const
inline

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_playlist_id()

bool google_youtube_api::PlaylistItemSnippet::has_playlist_id ( ) const
inline

Determine if the 'playlistId' attribute was set.

Returns
true if the 'playlistId' attribute was set.

◆ has_position()

bool google_youtube_api::PlaylistItemSnippet::has_position ( ) const
inline

Determine if the 'position' attribute was set.

Returns
true if the 'position' attribute was set.

◆ has_published_at()

bool google_youtube_api::PlaylistItemSnippet::has_published_at ( ) const
inline

Determine if the 'publishedAt' attribute was set.

Returns
true if the 'publishedAt' attribute was set.

◆ has_resource_id()

bool google_youtube_api::PlaylistItemSnippet::has_resource_id ( ) const
inline

Determine if the 'resourceId' attribute was set.

Returns
true if the 'resourceId' attribute was set.

◆ has_thumbnails()

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

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ mutable_resourceId()

ResourceId google_youtube_api::PlaylistItemSnippet::mutable_resourceId ( )

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

The id object contains information that can be used to uniquely identify the resource that is included in the playlist as the playlist item.

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

◆ mutable_thumbnails()

ThumbnailDetails google_youtube_api::PlaylistItemSnippet::mutable_thumbnails ( )

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

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

PlaylistItemSnippet * google_youtube_api::PlaylistItemSnippet::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_channel_id()

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

Change the 'channelId' attribute.

The ID that YouTube uses to uniquely identify the user that added the item to the playlist.

Parameters
[in]valueThe new value.

◆ set_channel_title()

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

Change the 'channelTitle' attribute.

Channel title for the channel that the playlist item belongs to.

Parameters
[in]valueThe new value.

◆ set_description()

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

Change the 'description' attribute.

The item's description.

Parameters
[in]valueThe new value.

◆ set_playlist_id()

void google_youtube_api::PlaylistItemSnippet::set_playlist_id ( const StringPiece &  value)
inline

Change the 'playlistId' attribute.

The ID that YouTube uses to uniquely identify the playlist that the playlist item is in.

Parameters
[in]valueThe new value.

◆ set_position()

void google_youtube_api::PlaylistItemSnippet::set_position ( uint32  value)
inline

Change the 'position' attribute.

The order in which the item appears in the playlist. The value uses a zero- based index, so the first item has a position of 0, the second item has a position of 1, and so forth.

Parameters
[in]valueThe new value.

◆ set_published_at()

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

Change the 'publishedAt' attribute.

The date and time that the item was added to the playlist. 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::PlaylistItemSnippet::set_title ( const StringPiece &  value)
inline

Change the 'title' attribute.

The item's title.

Parameters
[in]valueThe new value.

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