#include <video_monetization_details.h>
Details about monetization of a YouTube Video.
◆ VideoMonetizationDetails() [1/2]
google_youtube_api::VideoMonetizationDetails::VideoMonetizationDetails |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ VideoMonetizationDetails() [2/2]
google_youtube_api::VideoMonetizationDetails::VideoMonetizationDetails |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~VideoMonetizationDetails()
google_youtube_api::VideoMonetizationDetails::~VideoMonetizationDetails |
( |
| ) |
|
|
virtual |
◆ clear_access()
void google_youtube_api::VideoMonetizationDetails::clear_access |
( |
| ) |
|
|
inline |
Clears the 'access
' attribute.
◆ get_access()
const AccessPolicy google_youtube_api::VideoMonetizationDetails::get_access |
( |
| ) |
const |
Get a reference to the value of the 'access
' attribute.
◆ GetTypeName()
const StringPiece google_youtube_api::VideoMonetizationDetails::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_access()
bool google_youtube_api::VideoMonetizationDetails::has_access |
( |
| ) |
const |
|
inline |
Determine if the 'access
' attribute was set.
- Returns
- true if the '
access
' attribute was set.
◆ mutable_access()
AccessPolicy google_youtube_api::VideoMonetizationDetails::mutable_access |
( |
| ) |
|
Gets a reference to a mutable value of the 'access
' property.
The value of access indicates whether the video can be monetized or not.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
The documentation for this class was generated from the following files: