#include <video_rating.h>
◆ VideoRating() [1/2]
google_youtube_api::VideoRating::VideoRating |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~VideoRating()
google_youtube_api::VideoRating::~VideoRating |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
◆ set_video_id()
void google_youtube_api::VideoRating::set_video_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'videoId
' attribute.
- Parameters
-
The documentation for this class was generated from the following files: