#include <video_abuse_report_reason.h>
A videoAbuseReportReason resource identifies a reason that a video could be reported as abusive. Video abuse report reasons are used with video.ReportAbuse.
◆ VideoAbuseReportReason() [1/2]
| google_youtube_api::VideoAbuseReportReason::VideoAbuseReportReason |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ VideoAbuseReportReason() [2/2]
| google_youtube_api::VideoAbuseReportReason::VideoAbuseReportReason |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~VideoAbuseReportReason()
| google_youtube_api::VideoAbuseReportReason::~VideoAbuseReportReason |
( |
| ) |
|
|
virtual |
◆ clear_etag()
| void google_youtube_api::VideoAbuseReportReason::clear_etag |
( |
| ) |
|
|
inline |
Clears the 'etag' attribute.
◆ clear_id()
| void google_youtube_api::VideoAbuseReportReason::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id' attribute.
◆ clear_kind()
| void google_youtube_api::VideoAbuseReportReason::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_snippet()
| void google_youtube_api::VideoAbuseReportReason::clear_snippet |
( |
| ) |
|
|
inline |
Clears the 'snippet' attribute.
◆ get_etag()
| const StringPiece google_youtube_api::VideoAbuseReportReason::get_etag |
( |
| ) |
const |
|
inline |
Get the value of the 'etag' attribute.
◆ get_id()
| const StringPiece google_youtube_api::VideoAbuseReportReason::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id' attribute.
◆ get_kind()
| const StringPiece google_youtube_api::VideoAbuseReportReason::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_snippet()
Get a reference to the value of the 'snippet' attribute.
◆ GetTypeName()
| const StringPiece google_youtube_api::VideoAbuseReportReason::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_etag()
| bool google_youtube_api::VideoAbuseReportReason::has_etag |
( |
| ) |
const |
|
inline |
Determine if the 'etag' attribute was set.
- Returns
- true if the '
etag' attribute was set.
◆ has_id()
| bool google_youtube_api::VideoAbuseReportReason::has_id |
( |
| ) |
const |
|
inline |
Determine if the 'id' attribute was set.
- Returns
- true if the '
id' attribute was set.
◆ has_kind()
| bool google_youtube_api::VideoAbuseReportReason::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_snippet()
| bool google_youtube_api::VideoAbuseReportReason::has_snippet |
( |
| ) |
const |
|
inline |
Determine if the 'snippet' attribute was set.
- Returns
- true if the '
snippet' attribute was set.
◆ mutable_snippet()
Gets a reference to a mutable value of the 'snippet' property.
The snippet object contains basic details about the abuse report reason.
- 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.
◆ set_etag()
| void google_youtube_api::VideoAbuseReportReason::set_etag |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'etag' attribute.
Etag of this resource.
- Parameters
-
◆ set_id()
| void google_youtube_api::VideoAbuseReportReason::set_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'id' attribute.
The ID of this abuse report reason.
- Parameters
-
◆ set_kind()
| void google_youtube_api::VideoAbuseReportReason::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
Identifies what kind of resource this is. Value: the fixed string "youtube#videoAbuseReportReason".
- Parameters
-
The documentation for this class was generated from the following files: