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

#include <live_broadcast_snippet.h>

Inheritance diagram for google_youtube_api::LiveBroadcastSnippet:

Public Member Functions

 LiveBroadcastSnippet (const Json::Value &storage)
 
 LiveBroadcastSnippet (Json::Value *storage)
 
virtual ~LiveBroadcastSnippet ()
 
const StringPiece GetTypeName () const
 
bool has_actual_end_time () const
 
void clear_actual_end_time ()
 
client::DateTime get_actual_end_time () const
 
void set_actual_end_time (client::DateTime value)
 
bool has_actual_start_time () const
 
void clear_actual_start_time ()
 
client::DateTime get_actual_start_time () const
 
void set_actual_start_time (client::DateTime value)
 
bool has_broadcast_type () const
 
void clear_broadcast_type ()
 
const StringPiece get_broadcast_type () const
 
void set_broadcast_type (const StringPiece &value)
 
bool has_channel_id () const
 
void clear_channel_id ()
 
const StringPiece get_channel_id () const
 
void set_channel_id (const StringPiece &value)
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_is_default_broadcast () const
 
void clear_is_default_broadcast ()
 
bool get_is_default_broadcast () const
 
void set_is_default_broadcast (bool value)
 
bool has_live_chat_id () const
 
void clear_live_chat_id ()
 
const StringPiece get_live_chat_id () const
 
void set_live_chat_id (const StringPiece &value)
 
bool has_published_at () const
 
void clear_published_at ()
 
client::DateTime get_published_at () const
 
void set_published_at (client::DateTime value)
 
bool has_scheduled_end_time () const
 
void clear_scheduled_end_time ()
 
client::DateTime get_scheduled_end_time () const
 
void set_scheduled_end_time (client::DateTime value)
 
bool has_scheduled_start_time () const
 
void clear_scheduled_start_time ()
 
client::DateTime get_scheduled_start_time () const
 
void set_scheduled_start_time (client::DateTime value)
 
bool has_thumbnails () const
 
void clear_thumbnails ()
 
const ThumbnailDetails get_thumbnails () const
 
ThumbnailDetails mutable_thumbnails ()
 
bool has_title () const
 
void clear_title ()
 
const StringPiece get_title () const
 
void set_title (const StringPiece &value)
 

Static Public Member Functions

static LiveBroadcastSnippetNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ LiveBroadcastSnippet() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ LiveBroadcastSnippet() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~LiveBroadcastSnippet()

google_youtube_api::LiveBroadcastSnippet::~LiveBroadcastSnippet ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_actual_end_time()

void google_youtube_api::LiveBroadcastSnippet::clear_actual_end_time ( )
inline

Clears the 'actualEndTime' attribute.

◆ clear_actual_start_time()

void google_youtube_api::LiveBroadcastSnippet::clear_actual_start_time ( )
inline

Clears the 'actualStartTime' attribute.

◆ clear_broadcast_type()

void google_youtube_api::LiveBroadcastSnippet::clear_broadcast_type ( )
inline

Clears the 'broadcastType' attribute.

◆ clear_channel_id()

void google_youtube_api::LiveBroadcastSnippet::clear_channel_id ( )
inline

Clears the 'channelId' attribute.

◆ clear_description()

void google_youtube_api::LiveBroadcastSnippet::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_is_default_broadcast()

void google_youtube_api::LiveBroadcastSnippet::clear_is_default_broadcast ( )
inline

Clears the 'isDefaultBroadcast' attribute.

◆ clear_live_chat_id()

void google_youtube_api::LiveBroadcastSnippet::clear_live_chat_id ( )
inline

Clears the 'liveChatId' attribute.

◆ clear_published_at()

void google_youtube_api::LiveBroadcastSnippet::clear_published_at ( )
inline

Clears the 'publishedAt' attribute.

◆ clear_scheduled_end_time()

void google_youtube_api::LiveBroadcastSnippet::clear_scheduled_end_time ( )
inline

Clears the 'scheduledEndTime' attribute.

◆ clear_scheduled_start_time()

void google_youtube_api::LiveBroadcastSnippet::clear_scheduled_start_time ( )
inline

Clears the 'scheduledStartTime' attribute.

◆ clear_thumbnails()

void google_youtube_api::LiveBroadcastSnippet::clear_thumbnails ( )
inline

Clears the 'thumbnails' attribute.

◆ clear_title()

void google_youtube_api::LiveBroadcastSnippet::clear_title ( )
inline

Clears the 'title' attribute.

◆ get_actual_end_time()

client::DateTime google_youtube_api::LiveBroadcastSnippet::get_actual_end_time ( ) const
inline

Get the value of the 'actualEndTime' attribute.

◆ get_actual_start_time()

client::DateTime google_youtube_api::LiveBroadcastSnippet::get_actual_start_time ( ) const
inline

Get the value of the 'actualStartTime' attribute.

◆ get_broadcast_type()

const StringPiece google_youtube_api::LiveBroadcastSnippet::get_broadcast_type ( ) const
inline

Get the value of the 'broadcastType' attribute.

◆ get_channel_id()

const StringPiece google_youtube_api::LiveBroadcastSnippet::get_channel_id ( ) const
inline

Get the value of the 'channelId' attribute.

◆ get_description()

const StringPiece google_youtube_api::LiveBroadcastSnippet::get_description ( ) const
inline

Get the value of the 'description' attribute.

◆ get_is_default_broadcast()

bool google_youtube_api::LiveBroadcastSnippet::get_is_default_broadcast ( ) const
inline

Get the value of the 'isDefaultBroadcast' attribute.

◆ get_live_chat_id()

const StringPiece google_youtube_api::LiveBroadcastSnippet::get_live_chat_id ( ) const
inline

Get the value of the 'liveChatId' attribute.

◆ get_published_at()

client::DateTime google_youtube_api::LiveBroadcastSnippet::get_published_at ( ) const
inline

Get the value of the 'publishedAt' attribute.

◆ get_scheduled_end_time()

client::DateTime google_youtube_api::LiveBroadcastSnippet::get_scheduled_end_time ( ) const
inline

Get the value of the 'scheduledEndTime' attribute.

◆ get_scheduled_start_time()

client::DateTime google_youtube_api::LiveBroadcastSnippet::get_scheduled_start_time ( ) const
inline

Get the value of the 'scheduledStartTime' attribute.

◆ get_thumbnails()

const ThumbnailDetails google_youtube_api::LiveBroadcastSnippet::get_thumbnails ( ) const

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

◆ get_title()

const StringPiece google_youtube_api::LiveBroadcastSnippet::get_title ( ) const
inline

Get the value of the 'title' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::LiveBroadcastSnippet

◆ has_actual_end_time()

bool google_youtube_api::LiveBroadcastSnippet::has_actual_end_time ( ) const
inline

Determine if the 'actualEndTime' attribute was set.

Returns
true if the 'actualEndTime' attribute was set.

◆ has_actual_start_time()

bool google_youtube_api::LiveBroadcastSnippet::has_actual_start_time ( ) const
inline

Determine if the 'actualStartTime' attribute was set.

Returns
true if the 'actualStartTime' attribute was set.

◆ has_broadcast_type()

bool google_youtube_api::LiveBroadcastSnippet::has_broadcast_type ( ) const
inline

Determine if the 'broadcastType' attribute was set.

Returns
true if the 'broadcastType' attribute was set.

◆ has_channel_id()

bool google_youtube_api::LiveBroadcastSnippet::has_channel_id ( ) const
inline

Determine if the 'channelId' attribute was set.

Returns
true if the 'channelId' attribute was set.

◆ has_description()

bool google_youtube_api::LiveBroadcastSnippet::has_description ( ) const
inline

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_is_default_broadcast()

bool google_youtube_api::LiveBroadcastSnippet::has_is_default_broadcast ( ) const
inline

Determine if the 'isDefaultBroadcast' attribute was set.

Returns
true if the 'isDefaultBroadcast' attribute was set.

◆ has_live_chat_id()

bool google_youtube_api::LiveBroadcastSnippet::has_live_chat_id ( ) const
inline

Determine if the 'liveChatId' attribute was set.

Returns
true if the 'liveChatId' attribute was set.

◆ has_published_at()

bool google_youtube_api::LiveBroadcastSnippet::has_published_at ( ) const
inline

Determine if the 'publishedAt' attribute was set.

Returns
true if the 'publishedAt' attribute was set.

◆ has_scheduled_end_time()

bool google_youtube_api::LiveBroadcastSnippet::has_scheduled_end_time ( ) const
inline

Determine if the 'scheduledEndTime' attribute was set.

Returns
true if the 'scheduledEndTime' attribute was set.

◆ has_scheduled_start_time()

bool google_youtube_api::LiveBroadcastSnippet::has_scheduled_start_time ( ) const
inline

Determine if the 'scheduledStartTime' attribute was set.

Returns
true if the 'scheduledStartTime' attribute was set.

◆ has_thumbnails()

bool google_youtube_api::LiveBroadcastSnippet::has_thumbnails ( ) const
inline

Determine if the 'thumbnails' attribute was set.

Returns
true if the 'thumbnails' attribute was set.

◆ has_title()

bool google_youtube_api::LiveBroadcastSnippet::has_title ( ) const
inline

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ mutable_thumbnails()

ThumbnailDetails google_youtube_api::LiveBroadcastSnippet::mutable_thumbnails ( )

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

A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.

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

◆ New()

LiveBroadcastSnippet * google_youtube_api::LiveBroadcastSnippet::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_actual_end_time()

void google_youtube_api::LiveBroadcastSnippet::set_actual_end_time ( client::DateTime  value)
inline

Change the 'actualEndTime' attribute.

The date and time that the broadcast actually ended. This information is only available once the broadcast's state is complete. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.

Parameters
[in]valueThe new value.

◆ set_actual_start_time()

void google_youtube_api::LiveBroadcastSnippet::set_actual_start_time ( client::DateTime  value)
inline

Change the 'actualStartTime' attribute.

The date and time that the broadcast actually started. This information is only available once the broadcast's state is live. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.

Parameters
[in]valueThe new value.

◆ set_broadcast_type()

void google_youtube_api::LiveBroadcastSnippet::set_broadcast_type ( const StringPiece &  value)
inline

Change the 'broadcastType' attribute.

Parameters
[in]valueThe new value.

◆ set_channel_id()

void google_youtube_api::LiveBroadcastSnippet::set_channel_id ( const StringPiece &  value)
inline

Change the 'channelId' attribute.

The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.

Parameters
[in]valueThe new value.

◆ set_description()

void google_youtube_api::LiveBroadcastSnippet::set_description ( const StringPiece &  value)
inline

Change the 'description' attribute.

The broadcast's description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.

Parameters
[in]valueThe new value.

◆ set_is_default_broadcast()

void google_youtube_api::LiveBroadcastSnippet::set_is_default_broadcast ( bool  value)
inline

Change the 'isDefaultBroadcast' attribute.

Parameters
[in]valueThe new value.

◆ set_live_chat_id()

void google_youtube_api::LiveBroadcastSnippet::set_live_chat_id ( const StringPiece &  value)
inline

Change the 'liveChatId' attribute.

The id of the live chat for this broadcast.

Parameters
[in]valueThe new value.

◆ set_published_at()

void google_youtube_api::LiveBroadcastSnippet::set_published_at ( client::DateTime  value)
inline

Change the 'publishedAt' attribute.

The date and time that the broadcast was added to YouTube's live broadcast schedule. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.

Parameters
[in]valueThe new value.

◆ set_scheduled_end_time()

void google_youtube_api::LiveBroadcastSnippet::set_scheduled_end_time ( client::DateTime  value)
inline

Change the 'scheduledEndTime' attribute.

The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.

Parameters
[in]valueThe new value.

◆ set_scheduled_start_time()

void google_youtube_api::LiveBroadcastSnippet::set_scheduled_start_time ( client::DateTime  value)
inline

Change the 'scheduledStartTime' attribute.

The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.

Parameters
[in]valueThe new value.

◆ set_title()

void google_youtube_api::LiveBroadcastSnippet::set_title ( const StringPiece &  value)
inline

Change the 'title' attribute.

The broadcast's title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource.

Parameters
[in]valueThe new value.

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