#include <video_age_gating.h>
◆ VideoAgeGating() [1/2]
google_youtube_api::VideoAgeGating::VideoAgeGating |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ VideoAgeGating() [2/2]
google_youtube_api::VideoAgeGating::VideoAgeGating |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~VideoAgeGating()
google_youtube_api::VideoAgeGating::~VideoAgeGating |
( |
| ) |
|
|
virtual |
◆ clear_alcohol_content()
void google_youtube_api::VideoAgeGating::clear_alcohol_content |
( |
| ) |
|
|
inline |
Clears the 'alcoholContent
' attribute.
◆ clear_restricted()
void google_youtube_api::VideoAgeGating::clear_restricted |
( |
| ) |
|
|
inline |
Clears the 'restricted
' attribute.
◆ clear_video_game_rating()
void google_youtube_api::VideoAgeGating::clear_video_game_rating |
( |
| ) |
|
|
inline |
Clears the 'videoGameRating
' attribute.
◆ get_alcohol_content()
bool google_youtube_api::VideoAgeGating::get_alcohol_content |
( |
| ) |
const |
|
inline |
Get the value of the 'alcoholContent
' attribute.
◆ get_restricted()
bool google_youtube_api::VideoAgeGating::get_restricted |
( |
| ) |
const |
|
inline |
Get the value of the 'restricted
' attribute.
◆ get_video_game_rating()
const StringPiece google_youtube_api::VideoAgeGating::get_video_game_rating |
( |
| ) |
const |
|
inline |
Get the value of the 'videoGameRating
' attribute.
◆ GetTypeName()
const StringPiece google_youtube_api::VideoAgeGating::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_alcohol_content()
bool google_youtube_api::VideoAgeGating::has_alcohol_content |
( |
| ) |
const |
|
inline |
Determine if the 'alcoholContent
' attribute was set.
- Returns
- true if the '
alcoholContent
' attribute was set.
◆ has_restricted()
bool google_youtube_api::VideoAgeGating::has_restricted |
( |
| ) |
const |
|
inline |
Determine if the 'restricted
' attribute was set.
- Returns
- true if the '
restricted
' attribute was set.
◆ has_video_game_rating()
bool google_youtube_api::VideoAgeGating::has_video_game_rating |
( |
| ) |
const |
|
inline |
Determine if the 'videoGameRating
' attribute was set.
- Returns
- true if the '
videoGameRating
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_alcohol_content()
void google_youtube_api::VideoAgeGating::set_alcohol_content |
( |
bool |
value | ) |
|
|
inline |
Change the 'alcoholContent
' attribute.
Indicates whether or not the video has alcoholic beverage content. Only users of legal purchasing age in a particular country, as identified by ICAP, can view the content.
- Parameters
-
◆ set_restricted()
void google_youtube_api::VideoAgeGating::set_restricted |
( |
bool |
value | ) |
|
|
inline |
Change the 'restricted
' attribute.
Age-restricted trailers. For redband trailers and adult-rated video-games. Only users aged 18+ can view the content. The the field is true the content is restricted to viewers aged 18+. Otherwise The field won't be present.
- Parameters
-
◆ set_video_game_rating()
void google_youtube_api::VideoAgeGating::set_video_game_rating |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'videoGameRating
' attribute.
Video game rating, if any.
- Parameters
-
The documentation for this class was generated from the following files: