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

#include <live_stream_snippet.h>

Inheritance diagram for google_youtube_api::LiveStreamSnippet:

Public Member Functions

 LiveStreamSnippet (const Json::Value &storage)
 
 LiveStreamSnippet (Json::Value *storage)
 
virtual ~LiveStreamSnippet ()
 
const StringPiece GetTypeName () const
 
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_stream () const
 
void clear_is_default_stream ()
 
bool get_is_default_stream () const
 
void set_is_default_stream (bool 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_title () const
 
void clear_title ()
 
const StringPiece get_title () const
 
void set_title (const StringPiece &value)
 

Static Public Member Functions

static LiveStreamSnippetNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ LiveStreamSnippet() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ LiveStreamSnippet() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~LiveStreamSnippet()

google_youtube_api::LiveStreamSnippet::~LiveStreamSnippet ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_channel_id()

void google_youtube_api::LiveStreamSnippet::clear_channel_id ( )
inline

Clears the 'channelId' attribute.

◆ clear_description()

void google_youtube_api::LiveStreamSnippet::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_is_default_stream()

void google_youtube_api::LiveStreamSnippet::clear_is_default_stream ( )
inline

Clears the 'isDefaultStream' attribute.

◆ clear_published_at()

void google_youtube_api::LiveStreamSnippet::clear_published_at ( )
inline

Clears the 'publishedAt' attribute.

◆ clear_title()

void google_youtube_api::LiveStreamSnippet::clear_title ( )
inline

Clears the 'title' attribute.

◆ get_channel_id()

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

Get the value of the 'channelId' attribute.

◆ get_description()

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

Get the value of the 'description' attribute.

◆ get_is_default_stream()

bool google_youtube_api::LiveStreamSnippet::get_is_default_stream ( ) const
inline

Get the value of the 'isDefaultStream' attribute.

◆ get_published_at()

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

Get the value of the 'publishedAt' attribute.

◆ get_title()

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

Get the value of the 'title' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::LiveStreamSnippet

◆ has_channel_id()

bool google_youtube_api::LiveStreamSnippet::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::LiveStreamSnippet::has_description ( ) const
inline

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_is_default_stream()

bool google_youtube_api::LiveStreamSnippet::has_is_default_stream ( ) const
inline

Determine if the 'isDefaultStream' attribute was set.

Returns
true if the 'isDefaultStream' attribute was set.

◆ has_published_at()

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

Determine if the 'publishedAt' attribute was set.

Returns
true if the 'publishedAt' attribute was set.

◆ has_title()

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

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ New()

LiveStreamSnippet * google_youtube_api::LiveStreamSnippet::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_channel_id()

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

Change the 'channelId' attribute.

The ID that YouTube uses to uniquely identify the channel that is transmitting the stream.

Parameters
[in]valueThe new value.

◆ set_description()

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

Change the 'description' attribute.

The stream's description. The value cannot be longer than 10000 characters.

Parameters
[in]valueThe new value.

◆ set_is_default_stream()

void google_youtube_api::LiveStreamSnippet::set_is_default_stream ( bool  value)
inline

Change the 'isDefaultStream' attribute.

Parameters
[in]valueThe new value.

◆ set_published_at()

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

Change the 'publishedAt' attribute.

The date and time that the stream was created. 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::LiveStreamSnippet::set_title ( const StringPiece &  value)
inline

Change the 'title' attribute.

The stream's title. The value must be between 1 and 128 characters long.

Parameters
[in]valueThe new value.

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