#include <video_abuse_report.h>
◆ VideoAbuseReport() [1/2]
google_youtube_api::VideoAbuseReport::VideoAbuseReport |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ VideoAbuseReport() [2/2]
google_youtube_api::VideoAbuseReport::VideoAbuseReport |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~VideoAbuseReport()
google_youtube_api::VideoAbuseReport::~VideoAbuseReport |
( |
| ) |
|
|
virtual |
◆ clear_comments()
void google_youtube_api::VideoAbuseReport::clear_comments |
( |
| ) |
|
|
inline |
Clears the 'comments
' attribute.
◆ clear_language()
void google_youtube_api::VideoAbuseReport::clear_language |
( |
| ) |
|
|
inline |
Clears the 'language
' attribute.
◆ clear_reason_id()
void google_youtube_api::VideoAbuseReport::clear_reason_id |
( |
| ) |
|
|
inline |
Clears the 'reasonId
' attribute.
◆ clear_secondary_reason_id()
void google_youtube_api::VideoAbuseReport::clear_secondary_reason_id |
( |
| ) |
|
|
inline |
Clears the 'secondaryReasonId
' attribute.
◆ clear_video_id()
void google_youtube_api::VideoAbuseReport::clear_video_id |
( |
| ) |
|
|
inline |
Clears the 'videoId
' attribute.
◆ get_comments()
const StringPiece google_youtube_api::VideoAbuseReport::get_comments |
( |
| ) |
const |
|
inline |
Get the value of the 'comments
' attribute.
◆ get_language()
const StringPiece google_youtube_api::VideoAbuseReport::get_language |
( |
| ) |
const |
|
inline |
Get the value of the 'language
' attribute.
◆ get_reason_id()
const StringPiece google_youtube_api::VideoAbuseReport::get_reason_id |
( |
| ) |
const |
|
inline |
Get the value of the 'reasonId
' attribute.
◆ get_secondary_reason_id()
const StringPiece google_youtube_api::VideoAbuseReport::get_secondary_reason_id |
( |
| ) |
const |
|
inline |
Get the value of the 'secondaryReasonId
' attribute.
◆ get_video_id()
const StringPiece google_youtube_api::VideoAbuseReport::get_video_id |
( |
| ) |
const |
|
inline |
Get the value of the 'videoId
' attribute.
◆ GetTypeName()
const StringPiece google_youtube_api::VideoAbuseReport::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_comments()
bool google_youtube_api::VideoAbuseReport::has_comments |
( |
| ) |
const |
|
inline |
Determine if the 'comments
' attribute was set.
- Returns
- true if the '
comments
' attribute was set.
◆ has_language()
bool google_youtube_api::VideoAbuseReport::has_language |
( |
| ) |
const |
|
inline |
Determine if the 'language
' attribute was set.
- Returns
- true if the '
language
' attribute was set.
◆ has_reason_id()
bool google_youtube_api::VideoAbuseReport::has_reason_id |
( |
| ) |
const |
|
inline |
Determine if the 'reasonId
' attribute was set.
- Returns
- true if the '
reasonId
' attribute was set.
◆ has_secondary_reason_id()
bool google_youtube_api::VideoAbuseReport::has_secondary_reason_id |
( |
| ) |
const |
|
inline |
Determine if the 'secondaryReasonId
' attribute was set.
- Returns
- true if the '
secondaryReasonId
' attribute was set.
◆ has_video_id()
bool google_youtube_api::VideoAbuseReport::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_comments()
void google_youtube_api::VideoAbuseReport::set_comments |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'comments
' attribute.
Additional comments regarding the abuse report.
- Parameters
-
◆ set_language()
void google_youtube_api::VideoAbuseReport::set_language |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'language
' attribute.
The language that the content was viewed in.
- Parameters
-
◆ set_reason_id()
void google_youtube_api::VideoAbuseReport::set_reason_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'reasonId
' attribute.
The high-level, or primary, reason that the content is abusive. The value is an abuse report reason ID.
- Parameters
-
◆ set_secondary_reason_id()
void google_youtube_api::VideoAbuseReport::set_secondary_reason_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'secondaryReasonId
' attribute.
The specific, or secondary, reason that this content is abusive (if available). The value is an abuse report reason ID that is a valid secondary reason for the primary reason.
- Parameters
-
◆ set_video_id()
void google_youtube_api::VideoAbuseReport::set_video_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'videoId
' attribute.
The ID that YouTube uses to uniquely identify the video.
- Parameters
-
The documentation for this class was generated from the following files: