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

#include <thumbnail_details.h>

Inheritance diagram for google_youtube_api::ThumbnailDetails:

Public Member Functions

 ThumbnailDetails (const Json::Value &storage)
 
 ThumbnailDetails (Json::Value *storage)
 
virtual ~ThumbnailDetails ()
 
const StringPiece GetTypeName () const
 
bool has_default () const
 
void clear_default ()
 
const Thumbnail get_default () const
 
Thumbnail mutable_default ()
 
bool has_high () const
 
void clear_high ()
 
const Thumbnail get_high () const
 
Thumbnail mutable_high ()
 
bool has_maxres () const
 
void clear_maxres ()
 
const Thumbnail get_maxres () const
 
Thumbnail mutable_maxres ()
 
bool has_medium () const
 
void clear_medium ()
 
const Thumbnail get_medium () const
 
Thumbnail mutable_medium ()
 
bool has_standard () const
 
void clear_standard ()
 
const Thumbnail get_standard () const
 
Thumbnail mutable_standard ()
 

Static Public Member Functions

static ThumbnailDetailsNew ()
 

Detailed Description

Internal representation of thumbnails for a YouTube resource.

Constructor & Destructor Documentation

◆ ThumbnailDetails() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ThumbnailDetails() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ThumbnailDetails()

google_youtube_api::ThumbnailDetails::~ThumbnailDetails ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_default()

void google_youtube_api::ThumbnailDetails::clear_default ( )
inline

Clears the 'default' attribute.

◆ clear_high()

void google_youtube_api::ThumbnailDetails::clear_high ( )
inline

Clears the 'high' attribute.

◆ clear_maxres()

void google_youtube_api::ThumbnailDetails::clear_maxres ( )
inline

Clears the 'maxres' attribute.

◆ clear_medium()

void google_youtube_api::ThumbnailDetails::clear_medium ( )
inline

Clears the 'medium' attribute.

◆ clear_standard()

void google_youtube_api::ThumbnailDetails::clear_standard ( )
inline

Clears the 'standard' attribute.

◆ get_default()

const Thumbnail google_youtube_api::ThumbnailDetails::get_default ( ) const

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

◆ get_high()

const Thumbnail google_youtube_api::ThumbnailDetails::get_high ( ) const

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

◆ get_maxres()

const Thumbnail google_youtube_api::ThumbnailDetails::get_maxres ( ) const

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

◆ get_medium()

const Thumbnail google_youtube_api::ThumbnailDetails::get_medium ( ) const

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

◆ get_standard()

const Thumbnail google_youtube_api::ThumbnailDetails::get_standard ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::ThumbnailDetails

◆ has_default()

bool google_youtube_api::ThumbnailDetails::has_default ( ) const
inline

Determine if the 'default' attribute was set.

Returns
true if the 'default' attribute was set.

◆ has_high()

bool google_youtube_api::ThumbnailDetails::has_high ( ) const
inline

Determine if the 'high' attribute was set.

Returns
true if the 'high' attribute was set.

◆ has_maxres()

bool google_youtube_api::ThumbnailDetails::has_maxres ( ) const
inline

Determine if the 'maxres' attribute was set.

Returns
true if the 'maxres' attribute was set.

◆ has_medium()

bool google_youtube_api::ThumbnailDetails::has_medium ( ) const
inline

Determine if the 'medium' attribute was set.

Returns
true if the 'medium' attribute was set.

◆ has_standard()

bool google_youtube_api::ThumbnailDetails::has_standard ( ) const
inline

Determine if the 'standard' attribute was set.

Returns
true if the 'standard' attribute was set.

◆ mutable_default()

Thumbnail google_youtube_api::ThumbnailDetails::mutable_default ( )

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

The default image for this resource.

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

◆ mutable_high()

Thumbnail google_youtube_api::ThumbnailDetails::mutable_high ( )

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

The high quality image for this resource.

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

◆ mutable_maxres()

Thumbnail google_youtube_api::ThumbnailDetails::mutable_maxres ( )

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

The maximum resolution quality image for this resource.

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

◆ mutable_medium()

Thumbnail google_youtube_api::ThumbnailDetails::mutable_medium ( )

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

The medium quality image for this resource.

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

◆ mutable_standard()

Thumbnail google_youtube_api::ThumbnailDetails::mutable_standard ( )

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

The standard quality image for this resource.

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

◆ New()

ThumbnailDetails * google_youtube_api::ThumbnailDetails::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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