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

#include <live_chat_poll_item.h>

Inheritance diagram for google_youtube_api::LiveChatPollItem:

Public Member Functions

 LiveChatPollItem (const Json::Value &storage)
 
 LiveChatPollItem (Json::Value *storage)
 
virtual ~LiveChatPollItem ()
 
const StringPiece GetTypeName () const
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_item_id () const
 
void clear_item_id ()
 
const StringPiece get_item_id () const
 
void set_item_id (const StringPiece &value)
 

Static Public Member Functions

static LiveChatPollItemNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ LiveChatPollItem() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ LiveChatPollItem() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~LiveChatPollItem()

google_youtube_api::LiveChatPollItem::~LiveChatPollItem ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_description()

void google_youtube_api::LiveChatPollItem::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_item_id()

void google_youtube_api::LiveChatPollItem::clear_item_id ( )
inline

Clears the 'itemId' attribute.

◆ get_description()

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

Get the value of the 'description' attribute.

◆ get_item_id()

const StringPiece google_youtube_api::LiveChatPollItem::get_item_id ( ) const
inline

Get the value of the 'itemId' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::LiveChatPollItem

◆ has_description()

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

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_item_id()

bool google_youtube_api::LiveChatPollItem::has_item_id ( ) const
inline

Determine if the 'itemId' attribute was set.

Returns
true if the 'itemId' attribute was set.

◆ New()

LiveChatPollItem * google_youtube_api::LiveChatPollItem::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_description()

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

Change the 'description' attribute.

Plain text description of the item.

Parameters
[in]valueThe new value.

◆ set_item_id()

void google_youtube_api::LiveChatPollItem::set_item_id ( const StringPiece &  value)
inline

Change the 'itemId' attribute.

Parameters
[in]valueThe new value.

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