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

#include <live_chat_message.h>

Inheritance diagram for google_youtube_api::LiveChatMessage:

Public Member Functions

 LiveChatMessage (const Json::Value &storage)
 
 LiveChatMessage (Json::Value *storage)
 
virtual ~LiveChatMessage ()
 
const StringPiece GetTypeName () const
 
bool has_author_details () const
 
void clear_author_details ()
 
const LiveChatMessageAuthorDetails get_author_details () const
 
LiveChatMessageAuthorDetails mutable_authorDetails ()
 
bool has_etag () const
 
void clear_etag ()
 
const StringPiece get_etag () const
 
void set_etag (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_snippet () const
 
void clear_snippet ()
 
const LiveChatMessageSnippet get_snippet () const
 
LiveChatMessageSnippet mutable_snippet ()
 

Static Public Member Functions

static LiveChatMessageNew ()
 

Detailed Description

A liveChatMessage resource represents a chat message in a YouTube Live Chat.

Constructor & Destructor Documentation

◆ LiveChatMessage() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ LiveChatMessage() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~LiveChatMessage()

google_youtube_api::LiveChatMessage::~LiveChatMessage ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_author_details()

void google_youtube_api::LiveChatMessage::clear_author_details ( )
inline

Clears the 'authorDetails' attribute.

◆ clear_etag()

void google_youtube_api::LiveChatMessage::clear_etag ( )
inline

Clears the 'etag' attribute.

◆ clear_id()

void google_youtube_api::LiveChatMessage::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_youtube_api::LiveChatMessage::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_snippet()

void google_youtube_api::LiveChatMessage::clear_snippet ( )
inline

Clears the 'snippet' attribute.

◆ get_author_details()

const LiveChatMessageAuthorDetails google_youtube_api::LiveChatMessage::get_author_details ( ) const

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

◆ get_etag()

const StringPiece google_youtube_api::LiveChatMessage::get_etag ( ) const
inline

Get the value of the 'etag' attribute.

◆ get_id()

const StringPiece google_youtube_api::LiveChatMessage::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_kind()

const StringPiece google_youtube_api::LiveChatMessage::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_snippet()

const LiveChatMessageSnippet google_youtube_api::LiveChatMessage::get_snippet ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::LiveChatMessage

◆ has_author_details()

bool google_youtube_api::LiveChatMessage::has_author_details ( ) const
inline

Determine if the 'authorDetails' attribute was set.

Returns
true if the 'authorDetails' attribute was set.

◆ has_etag()

bool google_youtube_api::LiveChatMessage::has_etag ( ) const
inline

Determine if the 'etag' attribute was set.

Returns
true if the 'etag' attribute was set.

◆ has_id()

bool google_youtube_api::LiveChatMessage::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

bool google_youtube_api::LiveChatMessage::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_snippet()

bool google_youtube_api::LiveChatMessage::has_snippet ( ) const
inline

Determine if the 'snippet' attribute was set.

Returns
true if the 'snippet' attribute was set.

◆ mutable_authorDetails()

LiveChatMessageAuthorDetails google_youtube_api::LiveChatMessage::mutable_authorDetails ( )

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

The authorDetails object contains basic details about the user that posted this message.

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

◆ mutable_snippet()

LiveChatMessageSnippet google_youtube_api::LiveChatMessage::mutable_snippet ( )

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

The snippet object contains basic details about the message.

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

◆ New()

LiveChatMessage * google_youtube_api::LiveChatMessage::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_etag()

void google_youtube_api::LiveChatMessage::set_etag ( const StringPiece &  value)
inline

Change the 'etag' attribute.

Etag of this resource.

Parameters
[in]valueThe new value.

◆ set_id()

void google_youtube_api::LiveChatMessage::set_id ( const StringPiece &  value)
inline

Change the 'id' attribute.

The ID that YouTube assigns to uniquely identify the message.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_youtube_api::LiveChatMessage::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatMessage".

Parameters
[in]valueThe new value.

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