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

#include <video_abuse_report_reason_snippet.h>

Inheritance diagram for google_youtube_api::VideoAbuseReportReasonSnippet:

Public Member Functions

 VideoAbuseReportReasonSnippet (const Json::Value &storage)
 
 VideoAbuseReportReasonSnippet (Json::Value *storage)
 
virtual ~VideoAbuseReportReasonSnippet ()
 
const StringPiece GetTypeName () const
 
bool has_label () const
 
void clear_label ()
 
const StringPiece get_label () const
 
void set_label (const StringPiece &value)
 
bool has_secondary_reasons () const
 
void clear_secondary_reasons ()
 
const client::JsonCppArray< VideoAbuseReportSecondaryReasonget_secondary_reasons () const
 
client::JsonCppArray< VideoAbuseReportSecondaryReasonmutable_secondaryReasons ()
 

Static Public Member Functions

static VideoAbuseReportReasonSnippetNew ()
 

Detailed Description

Basic details about a video category, such as its localized title.

Constructor & Destructor Documentation

◆ VideoAbuseReportReasonSnippet() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ VideoAbuseReportReasonSnippet() [2/2]

google_youtube_api::VideoAbuseReportReasonSnippet::VideoAbuseReportReasonSnippet ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~VideoAbuseReportReasonSnippet()

google_youtube_api::VideoAbuseReportReasonSnippet::~VideoAbuseReportReasonSnippet ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_label()

void google_youtube_api::VideoAbuseReportReasonSnippet::clear_label ( )
inline

Clears the 'label' attribute.

◆ clear_secondary_reasons()

void google_youtube_api::VideoAbuseReportReasonSnippet::clear_secondary_reasons ( )
inline

Clears the 'secondaryReasons' attribute.

◆ get_label()

const StringPiece google_youtube_api::VideoAbuseReportReasonSnippet::get_label ( ) const
inline

Get the value of the 'label' attribute.

◆ get_secondary_reasons()

const client::JsonCppArray<VideoAbuseReportSecondaryReason > google_youtube_api::VideoAbuseReportReasonSnippet::get_secondary_reasons ( ) const

Get a reference to the value of the 'secondaryReasons' attribute.

◆ GetTypeName()

const StringPiece google_youtube_api::VideoAbuseReportReasonSnippet::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_youtube_api::VideoAbuseReportReasonSnippet

◆ has_label()

bool google_youtube_api::VideoAbuseReportReasonSnippet::has_label ( ) const
inline

Determine if the 'label' attribute was set.

Returns
true if the 'label' attribute was set.

◆ has_secondary_reasons()

bool google_youtube_api::VideoAbuseReportReasonSnippet::has_secondary_reasons ( ) const
inline

Determine if the 'secondaryReasons' attribute was set.

Returns
true if the 'secondaryReasons' attribute was set.

◆ mutable_secondaryReasons()

client::JsonCppArray<VideoAbuseReportSecondaryReason > google_youtube_api::VideoAbuseReportReasonSnippet::mutable_secondaryReasons ( )

Gets a reference to a mutable value of the 'secondaryReasons' property.

The secondary reasons associated with this reason, if any are available. (There might be 0 or more.).

Returns
The result can be modified to change the attribute value.

◆ New()

VideoAbuseReportReasonSnippet * google_youtube_api::VideoAbuseReportReasonSnippet::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_label()

void google_youtube_api::VideoAbuseReportReasonSnippet::set_label ( const StringPiece &  value)
inline

Change the 'label' attribute.

The localized label belonging to this abuse report reason.

Parameters
[in]valueThe new value.

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