youtube
v3
|
#include <video_abuse_report_reason_snippet.h>
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< VideoAbuseReportSecondaryReason > | get_secondary_reasons () const |
client::JsonCppArray< VideoAbuseReportSecondaryReason > | mutable_secondaryReasons () |
Static Public Member Functions | |
static VideoAbuseReportReasonSnippet * | New () |
Basic details about a video category, such as its localized title.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'label
' attribute.
|
inline |
Clears the 'secondaryReasons
' attribute.
|
inline |
Get the value of the 'label
' attribute.
const client::JsonCppArray<VideoAbuseReportSecondaryReason > google_youtube_api::VideoAbuseReportReasonSnippet::get_secondary_reasons | ( | ) | const |
Get a reference to the value of the 'secondaryReasons
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'label
' attribute was set.
label
' attribute was set.
|
inline |
Determine if the 'secondaryReasons
' attribute was set.
secondaryReasons
' attribute was set. 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.).
|
static |
Creates a new default instance.
|
inline |
Change the 'label
' attribute.
The localized label belonging to this abuse report reason.
[in] | value | The new value. |