youtube  v3
Public Member Functions | Static Public Member Functions | List of all members
google_youtube_api::VideoAbuseReport Class Reference

#include <video_abuse_report.h>

Inheritance diagram for google_youtube_api::VideoAbuseReport:

Public Member Functions

 VideoAbuseReport (const Json::Value &storage)
 
 VideoAbuseReport (Json::Value *storage)
 
virtual ~VideoAbuseReport ()
 
const StringPiece GetTypeName () const
 
bool has_comments () const
 
void clear_comments ()
 
const StringPiece get_comments () const
 
void set_comments (const StringPiece &value)
 
bool has_language () const
 
void clear_language ()
 
const StringPiece get_language () const
 
void set_language (const StringPiece &value)
 
bool has_reason_id () const
 
void clear_reason_id ()
 
const StringPiece get_reason_id () const
 
void set_reason_id (const StringPiece &value)
 
bool has_secondary_reason_id () const
 
void clear_secondary_reason_id ()
 
const StringPiece get_secondary_reason_id () const
 
void set_secondary_reason_id (const StringPiece &value)
 
bool has_video_id () const
 
void clear_video_id ()
 
const StringPiece get_video_id () const
 
void set_video_id (const StringPiece &value)
 

Static Public Member Functions

static VideoAbuseReportNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ VideoAbuseReport() [1/2]

google_youtube_api::VideoAbuseReport::VideoAbuseReport ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~VideoAbuseReport()

google_youtube_api::VideoAbuseReport::~VideoAbuseReport ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::VideoAbuseReport

◆ 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()

VideoAbuseReport * google_youtube_api::VideoAbuseReport::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

The documentation for this class was generated from the following files: