#include <video_content_details_region_restriction.h>
DEPRECATED Region restriction of the video.
◆ VideoContentDetailsRegionRestriction() [1/2]
google_youtube_api::VideoContentDetailsRegionRestriction::VideoContentDetailsRegionRestriction |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ VideoContentDetailsRegionRestriction() [2/2]
google_youtube_api::VideoContentDetailsRegionRestriction::VideoContentDetailsRegionRestriction |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~VideoContentDetailsRegionRestriction()
google_youtube_api::VideoContentDetailsRegionRestriction::~VideoContentDetailsRegionRestriction |
( |
| ) |
|
|
virtual |
◆ clear_allowed()
void google_youtube_api::VideoContentDetailsRegionRestriction::clear_allowed |
( |
| ) |
|
|
inline |
Clears the 'allowed
' attribute.
◆ clear_blocked()
void google_youtube_api::VideoContentDetailsRegionRestriction::clear_blocked |
( |
| ) |
|
|
inline |
Clears the 'blocked
' attribute.
◆ get_allowed()
const client::JsonCppArray<string > google_youtube_api::VideoContentDetailsRegionRestriction::get_allowed |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'allowed
' attribute.
◆ get_blocked()
const client::JsonCppArray<string > google_youtube_api::VideoContentDetailsRegionRestriction::get_blocked |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'blocked
' attribute.
◆ GetTypeName()
const StringPiece google_youtube_api::VideoContentDetailsRegionRestriction::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_allowed()
bool google_youtube_api::VideoContentDetailsRegionRestriction::has_allowed |
( |
| ) |
const |
|
inline |
Determine if the 'allowed
' attribute was set.
- Returns
- true if the '
allowed
' attribute was set.
◆ has_blocked()
bool google_youtube_api::VideoContentDetailsRegionRestriction::has_blocked |
( |
| ) |
const |
|
inline |
Determine if the 'blocked
' attribute was set.
- Returns
- true if the '
blocked
' attribute was set.
◆ mutable_allowed()
client::JsonCppArray<string > google_youtube_api::VideoContentDetailsRegionRestriction::mutable_allowed |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'allowed
' property.
A list of region codes that identify countries where the video is viewable. If this property is present and a country is not listed in its value, then the video is blocked from appearing in that country. If this property is present and contains an empty list, the video is blocked in all countries.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_blocked()
client::JsonCppArray<string > google_youtube_api::VideoContentDetailsRegionRestriction::mutable_blocked |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'blocked
' property.
A list of region codes that identify countries where the video is blocked. If this property is present and a country is not listed in its value, then the video is viewable in that country. If this property is present and contains an empty list, the video is viewable in all countries.
- 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: