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

#include <thumbnail.h>

Inheritance diagram for google_youtube_api::Thumbnail:

Public Member Functions

 Thumbnail (const Json::Value &storage)
 
 Thumbnail (Json::Value *storage)
 
virtual ~Thumbnail ()
 
const StringPiece GetTypeName () const
 
bool has_height () const
 
void clear_height ()
 
uint32 get_height () const
 
void set_height (uint32 value)
 
bool has_url () const
 
void clear_url ()
 
const StringPiece get_url () const
 
void set_url (const StringPiece &value)
 
bool has_width () const
 
void clear_width ()
 
uint32 get_width () const
 
void set_width (uint32 value)
 

Static Public Member Functions

static ThumbnailNew ()
 

Detailed Description

A thumbnail is an image representing a YouTube resource.

Constructor & Destructor Documentation

◆ Thumbnail() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Thumbnail() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Thumbnail()

google_youtube_api::Thumbnail::~Thumbnail ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_height()

void google_youtube_api::Thumbnail::clear_height ( )
inline

Clears the 'height' attribute.

◆ clear_url()

void google_youtube_api::Thumbnail::clear_url ( )
inline

Clears the 'url' attribute.

◆ clear_width()

void google_youtube_api::Thumbnail::clear_width ( )
inline

Clears the 'width' attribute.

◆ get_height()

uint32 google_youtube_api::Thumbnail::get_height ( ) const
inline

Get the value of the 'height' attribute.

◆ get_url()

const StringPiece google_youtube_api::Thumbnail::get_url ( ) const
inline

Get the value of the 'url' attribute.

◆ get_width()

uint32 google_youtube_api::Thumbnail::get_width ( ) const
inline

Get the value of the 'width' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::Thumbnail

◆ has_height()

bool google_youtube_api::Thumbnail::has_height ( ) const
inline

Determine if the 'height' attribute was set.

Returns
true if the 'height' attribute was set.

◆ has_url()

bool google_youtube_api::Thumbnail::has_url ( ) const
inline

Determine if the 'url' attribute was set.

Returns
true if the 'url' attribute was set.

◆ has_width()

bool google_youtube_api::Thumbnail::has_width ( ) const
inline

Determine if the 'width' attribute was set.

Returns
true if the 'width' attribute was set.

◆ New()

Thumbnail * google_youtube_api::Thumbnail::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_height()

void google_youtube_api::Thumbnail::set_height ( uint32  value)
inline

Change the 'height' attribute.

(Optional) Height of the thumbnail image.

Parameters
[in]valueThe new value.

◆ set_url()

void google_youtube_api::Thumbnail::set_url ( const StringPiece &  value)
inline

Change the 'url' attribute.

The thumbnail image's URL.

Parameters
[in]valueThe new value.

◆ set_width()

void google_youtube_api::Thumbnail::set_width ( uint32  value)
inline

Change the 'width' attribute.

(Optional) Width of the thumbnail image.

Parameters
[in]valueThe new value.

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