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

#include <channel_banner_resource.h>

Inheritance diagram for google_youtube_api::ChannelBannerResource:

Public Member Functions

 ChannelBannerResource (const Json::Value &storage)
 
 ChannelBannerResource (Json::Value *storage)
 
virtual ~ChannelBannerResource ()
 
const StringPiece GetTypeName () const
 
bool has_etag () const
 
void clear_etag ()
 
const StringPiece get_etag () const
 
void set_etag (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_url () const
 
void clear_url ()
 
const StringPiece get_url () const
 
void set_url (const StringPiece &value)
 

Static Public Member Functions

static ChannelBannerResourceNew ()
 

Detailed Description

A channel banner returned as the response to a channel_banner.insert call.

Constructor & Destructor Documentation

◆ ChannelBannerResource() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ChannelBannerResource() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ChannelBannerResource()

google_youtube_api::ChannelBannerResource::~ChannelBannerResource ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_etag()

void google_youtube_api::ChannelBannerResource::clear_etag ( )
inline

Clears the 'etag' attribute.

◆ clear_kind()

void google_youtube_api::ChannelBannerResource::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_url()

void google_youtube_api::ChannelBannerResource::clear_url ( )
inline

Clears the 'url' attribute.

◆ get_etag()

const StringPiece google_youtube_api::ChannelBannerResource::get_etag ( ) const
inline

Get the value of the 'etag' attribute.

◆ get_kind()

const StringPiece google_youtube_api::ChannelBannerResource::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_url()

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

Get the value of the 'url' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::ChannelBannerResource

◆ has_etag()

bool google_youtube_api::ChannelBannerResource::has_etag ( ) const
inline

Determine if the 'etag' attribute was set.

Returns
true if the 'etag' attribute was set.

◆ has_kind()

bool google_youtube_api::ChannelBannerResource::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_url()

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

Determine if the 'url' attribute was set.

Returns
true if the 'url' attribute was set.

◆ New()

ChannelBannerResource * google_youtube_api::ChannelBannerResource::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_etag()

void google_youtube_api::ChannelBannerResource::set_etag ( const StringPiece &  value)
inline

Change the 'etag' attribute.

Etag of this resource.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_youtube_api::ChannelBannerResource::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Identifies what kind of resource this is. Value: the fixed string "youtube#channelBannerResource".

Parameters
[in]valueThe new value.

◆ set_url()

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

Change the 'url' attribute.

The URL of this banner image.

Parameters
[in]valueThe new value.

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