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

#include <video_rating.h>

Inheritance diagram for google_youtube_api::VideoRating:

Public Member Functions

 VideoRating (const Json::Value &storage)
 
 VideoRating (Json::Value *storage)
 
virtual ~VideoRating ()
 
const StringPiece GetTypeName () const
 
bool has_rating () const
 
void clear_rating ()
 
const StringPiece get_rating () const
 
void set_rating (const StringPiece &value)
 
bool has_video_id () const
 
void clear_video_id ()
 
const StringPiece get_video_id () const
 
void set_video_id (const StringPiece &value)
 

Static Public Member Functions

static VideoRatingNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ VideoRating() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ VideoRating() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~VideoRating()

google_youtube_api::VideoRating::~VideoRating ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_rating()

void google_youtube_api::VideoRating::clear_rating ( )
inline

Clears the 'rating' attribute.

◆ clear_video_id()

void google_youtube_api::VideoRating::clear_video_id ( )
inline

Clears the 'videoId' attribute.

◆ get_rating()

const StringPiece google_youtube_api::VideoRating::get_rating ( ) const
inline

Get the value of the 'rating' attribute.

◆ get_video_id()

const StringPiece google_youtube_api::VideoRating::get_video_id ( ) const
inline

Get the value of the 'videoId' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::VideoRating

◆ has_rating()

bool google_youtube_api::VideoRating::has_rating ( ) const
inline

Determine if the 'rating' attribute was set.

Returns
true if the 'rating' attribute was set.

◆ has_video_id()

bool google_youtube_api::VideoRating::has_video_id ( ) const
inline

Determine if the 'videoId' attribute was set.

Returns
true if the 'videoId' attribute was set.

◆ New()

VideoRating * google_youtube_api::VideoRating::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_rating()

void google_youtube_api::VideoRating::set_rating ( const StringPiece &  value)
inline

Change the 'rating' attribute.

Parameters
[in]valueThe new value.

◆ set_video_id()

void google_youtube_api::VideoRating::set_video_id ( const StringPiece &  value)
inline

Change the 'videoId' attribute.

Parameters
[in]valueThe new value.

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