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

#include <video_status.h>

Inheritance diagram for google_youtube_api::VideoStatus:

Public Member Functions

 VideoStatus (const Json::Value &storage)
 
 VideoStatus (Json::Value *storage)
 
virtual ~VideoStatus ()
 
const StringPiece GetTypeName () const
 
bool has_embeddable () const
 
void clear_embeddable ()
 
bool get_embeddable () const
 
void set_embeddable (bool value)
 
bool has_failure_reason () const
 
void clear_failure_reason ()
 
const StringPiece get_failure_reason () const
 
void set_failure_reason (const StringPiece &value)
 
bool has_license () const
 
void clear_license ()
 
const StringPiece get_license () const
 
void set_license (const StringPiece &value)
 
bool has_made_for_kids () const
 
void clear_made_for_kids ()
 
bool get_made_for_kids () const
 
void set_made_for_kids (bool value)
 
bool has_privacy_status () const
 
void clear_privacy_status ()
 
const StringPiece get_privacy_status () const
 
void set_privacy_status (const StringPiece &value)
 
bool has_public_stats_viewable () const
 
void clear_public_stats_viewable ()
 
bool get_public_stats_viewable () const
 
void set_public_stats_viewable (bool value)
 
bool has_publish_at () const
 
void clear_publish_at ()
 
client::DateTime get_publish_at () const
 
void set_publish_at (client::DateTime value)
 
bool has_rejection_reason () const
 
void clear_rejection_reason ()
 
const StringPiece get_rejection_reason () const
 
void set_rejection_reason (const StringPiece &value)
 
bool has_self_declared_made_for_kids () const
 
void clear_self_declared_made_for_kids ()
 
bool get_self_declared_made_for_kids () const
 
void set_self_declared_made_for_kids (bool value)
 
bool has_upload_status () const
 
void clear_upload_status ()
 
const StringPiece get_upload_status () const
 
void set_upload_status (const StringPiece &value)
 

Static Public Member Functions

static VideoStatusNew ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ VideoStatus() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ VideoStatus() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~VideoStatus()

google_youtube_api::VideoStatus::~VideoStatus ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_embeddable()

void google_youtube_api::VideoStatus::clear_embeddable ( )
inline

Clears the 'embeddable' attribute.

◆ clear_failure_reason()

void google_youtube_api::VideoStatus::clear_failure_reason ( )
inline

Clears the 'failureReason' attribute.

◆ clear_license()

void google_youtube_api::VideoStatus::clear_license ( )
inline

Clears the 'license' attribute.

◆ clear_made_for_kids()

void google_youtube_api::VideoStatus::clear_made_for_kids ( )
inline

Clears the 'madeForKids' attribute.

◆ clear_privacy_status()

void google_youtube_api::VideoStatus::clear_privacy_status ( )
inline

Clears the 'privacyStatus' attribute.

◆ clear_public_stats_viewable()

void google_youtube_api::VideoStatus::clear_public_stats_viewable ( )
inline

Clears the 'publicStatsViewable' attribute.

◆ clear_publish_at()

void google_youtube_api::VideoStatus::clear_publish_at ( )
inline

Clears the 'publishAt' attribute.

◆ clear_rejection_reason()

void google_youtube_api::VideoStatus::clear_rejection_reason ( )
inline

Clears the 'rejectionReason' attribute.

◆ clear_self_declared_made_for_kids()

void google_youtube_api::VideoStatus::clear_self_declared_made_for_kids ( )
inline

Clears the 'selfDeclaredMadeForKids' attribute.

◆ clear_upload_status()

void google_youtube_api::VideoStatus::clear_upload_status ( )
inline

Clears the 'uploadStatus' attribute.

◆ get_embeddable()

bool google_youtube_api::VideoStatus::get_embeddable ( ) const
inline

Get the value of the 'embeddable' attribute.

◆ get_failure_reason()

const StringPiece google_youtube_api::VideoStatus::get_failure_reason ( ) const
inline

Get the value of the 'failureReason' attribute.

◆ get_license()

const StringPiece google_youtube_api::VideoStatus::get_license ( ) const
inline

Get the value of the 'license' attribute.

◆ get_made_for_kids()

bool google_youtube_api::VideoStatus::get_made_for_kids ( ) const
inline

Get the value of the 'madeForKids' attribute.

◆ get_privacy_status()

const StringPiece google_youtube_api::VideoStatus::get_privacy_status ( ) const
inline

Get the value of the 'privacyStatus' attribute.

◆ get_public_stats_viewable()

bool google_youtube_api::VideoStatus::get_public_stats_viewable ( ) const
inline

Get the value of the 'publicStatsViewable' attribute.

◆ get_publish_at()

client::DateTime google_youtube_api::VideoStatus::get_publish_at ( ) const
inline

Get the value of the 'publishAt' attribute.

◆ get_rejection_reason()

const StringPiece google_youtube_api::VideoStatus::get_rejection_reason ( ) const
inline

Get the value of the 'rejectionReason' attribute.

◆ get_self_declared_made_for_kids()

bool google_youtube_api::VideoStatus::get_self_declared_made_for_kids ( ) const
inline

Get the value of the 'selfDeclaredMadeForKids' attribute.

◆ get_upload_status()

const StringPiece google_youtube_api::VideoStatus::get_upload_status ( ) const
inline

Get the value of the 'uploadStatus' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::VideoStatus

◆ has_embeddable()

bool google_youtube_api::VideoStatus::has_embeddable ( ) const
inline

Determine if the 'embeddable' attribute was set.

Returns
true if the 'embeddable' attribute was set.

◆ has_failure_reason()

bool google_youtube_api::VideoStatus::has_failure_reason ( ) const
inline

Determine if the 'failureReason' attribute was set.

Returns
true if the 'failureReason' attribute was set.

◆ has_license()

bool google_youtube_api::VideoStatus::has_license ( ) const
inline

Determine if the 'license' attribute was set.

Returns
true if the 'license' attribute was set.

◆ has_made_for_kids()

bool google_youtube_api::VideoStatus::has_made_for_kids ( ) const
inline

Determine if the 'madeForKids' attribute was set.

Returns
true if the 'madeForKids' attribute was set.

◆ has_privacy_status()

bool google_youtube_api::VideoStatus::has_privacy_status ( ) const
inline

Determine if the 'privacyStatus' attribute was set.

Returns
true if the 'privacyStatus' attribute was set.

◆ has_public_stats_viewable()

bool google_youtube_api::VideoStatus::has_public_stats_viewable ( ) const
inline

Determine if the 'publicStatsViewable' attribute was set.

Returns
true if the 'publicStatsViewable' attribute was set.

◆ has_publish_at()

bool google_youtube_api::VideoStatus::has_publish_at ( ) const
inline

Determine if the 'publishAt' attribute was set.

Returns
true if the 'publishAt' attribute was set.

◆ has_rejection_reason()

bool google_youtube_api::VideoStatus::has_rejection_reason ( ) const
inline

Determine if the 'rejectionReason' attribute was set.

Returns
true if the 'rejectionReason' attribute was set.

◆ has_self_declared_made_for_kids()

bool google_youtube_api::VideoStatus::has_self_declared_made_for_kids ( ) const
inline

Determine if the 'selfDeclaredMadeForKids' attribute was set.

Returns
true if the 'selfDeclaredMadeForKids' attribute was set.

◆ has_upload_status()

bool google_youtube_api::VideoStatus::has_upload_status ( ) const
inline

Determine if the 'uploadStatus' attribute was set.

Returns
true if the 'uploadStatus' attribute was set.

◆ New()

VideoStatus * google_youtube_api::VideoStatus::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_embeddable()

void google_youtube_api::VideoStatus::set_embeddable ( bool  value)
inline

Change the 'embeddable' attribute.

This value indicates if the video can be embedded on another website.

Parameters
[in]valueThe new value.

◆ set_failure_reason()

void google_youtube_api::VideoStatus::set_failure_reason ( const StringPiece &  value)
inline

Change the 'failureReason' attribute.

This value explains why a video failed to upload. This property is only present if the uploadStatus property indicates that the upload failed.

Parameters
[in]valueThe new value.

◆ set_license()

void google_youtube_api::VideoStatus::set_license ( const StringPiece &  value)
inline

Change the 'license' attribute.

The video's license.

Parameters
[in]valueThe new value.

◆ set_made_for_kids()

void google_youtube_api::VideoStatus::set_made_for_kids ( bool  value)
inline

Change the 'madeForKids' attribute.

Parameters
[in]valueThe new value.

◆ set_privacy_status()

void google_youtube_api::VideoStatus::set_privacy_status ( const StringPiece &  value)
inline

Change the 'privacyStatus' attribute.

The video's privacy status.

Parameters
[in]valueThe new value.

◆ set_public_stats_viewable()

void google_youtube_api::VideoStatus::set_public_stats_viewable ( bool  value)
inline

Change the 'publicStatsViewable' attribute.

This value indicates if the extended video statistics on the watch page can be viewed by everyone. Note that the view count, likes, etc will still be visible if this is disabled.

Parameters
[in]valueThe new value.

◆ set_publish_at()

void google_youtube_api::VideoStatus::set_publish_at ( client::DateTime  value)
inline

Change the 'publishAt' attribute.

The date and time when the video is scheduled to publish. It can be set only if the privacy status of the video is private. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.

Parameters
[in]valueThe new value.

◆ set_rejection_reason()

void google_youtube_api::VideoStatus::set_rejection_reason ( const StringPiece &  value)
inline

Change the 'rejectionReason' attribute.

This value explains why YouTube rejected an uploaded video. This property is only present if the uploadStatus property indicates that the upload was rejected.

Parameters
[in]valueThe new value.

◆ set_self_declared_made_for_kids()

void google_youtube_api::VideoStatus::set_self_declared_made_for_kids ( bool  value)
inline

Change the 'selfDeclaredMadeForKids' attribute.

Parameters
[in]valueThe new value.

◆ set_upload_status()

void google_youtube_api::VideoStatus::set_upload_status ( const StringPiece &  value)
inline

Change the 'uploadStatus' attribute.

The status of the uploaded video.

Parameters
[in]valueThe new value.

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