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

#include <live_chat_super_chat_details.h>

Inheritance diagram for google_youtube_api::LiveChatSuperChatDetails:

Public Member Functions

 LiveChatSuperChatDetails (const Json::Value &storage)
 
 LiveChatSuperChatDetails (Json::Value *storage)
 
virtual ~LiveChatSuperChatDetails ()
 
const StringPiece GetTypeName () const
 
bool has_amount_display_string () const
 
void clear_amount_display_string ()
 
const StringPiece get_amount_display_string () const
 
void set_amount_display_string (const StringPiece &value)
 
bool has_amount_micros () const
 
void clear_amount_micros ()
 
uint64 get_amount_micros () const
 
void set_amount_micros (uint64 value)
 
bool has_currency () const
 
void clear_currency ()
 
const StringPiece get_currency () const
 
void set_currency (const StringPiece &value)
 
bool has_tier () const
 
void clear_tier ()
 
uint32 get_tier () const
 
void set_tier (uint32 value)
 
bool has_user_comment () const
 
void clear_user_comment ()
 
const StringPiece get_user_comment () const
 
void set_user_comment (const StringPiece &value)
 

Static Public Member Functions

static LiveChatSuperChatDetailsNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ LiveChatSuperChatDetails() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ LiveChatSuperChatDetails() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~LiveChatSuperChatDetails()

google_youtube_api::LiveChatSuperChatDetails::~LiveChatSuperChatDetails ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_amount_display_string()

void google_youtube_api::LiveChatSuperChatDetails::clear_amount_display_string ( )
inline

Clears the 'amountDisplayString' attribute.

◆ clear_amount_micros()

void google_youtube_api::LiveChatSuperChatDetails::clear_amount_micros ( )
inline

Clears the 'amountMicros' attribute.

◆ clear_currency()

void google_youtube_api::LiveChatSuperChatDetails::clear_currency ( )
inline

Clears the 'currency' attribute.

◆ clear_tier()

void google_youtube_api::LiveChatSuperChatDetails::clear_tier ( )
inline

Clears the 'tier' attribute.

◆ clear_user_comment()

void google_youtube_api::LiveChatSuperChatDetails::clear_user_comment ( )
inline

Clears the 'userComment' attribute.

◆ get_amount_display_string()

const StringPiece google_youtube_api::LiveChatSuperChatDetails::get_amount_display_string ( ) const
inline

Get the value of the 'amountDisplayString' attribute.

◆ get_amount_micros()

uint64 google_youtube_api::LiveChatSuperChatDetails::get_amount_micros ( ) const
inline

Get the value of the 'amountMicros' attribute.

◆ get_currency()

const StringPiece google_youtube_api::LiveChatSuperChatDetails::get_currency ( ) const
inline

Get the value of the 'currency' attribute.

◆ get_tier()

uint32 google_youtube_api::LiveChatSuperChatDetails::get_tier ( ) const
inline

Get the value of the 'tier' attribute.

◆ get_user_comment()

const StringPiece google_youtube_api::LiveChatSuperChatDetails::get_user_comment ( ) const
inline

Get the value of the 'userComment' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::LiveChatSuperChatDetails

◆ has_amount_display_string()

bool google_youtube_api::LiveChatSuperChatDetails::has_amount_display_string ( ) const
inline

Determine if the 'amountDisplayString' attribute was set.

Returns
true if the 'amountDisplayString' attribute was set.

◆ has_amount_micros()

bool google_youtube_api::LiveChatSuperChatDetails::has_amount_micros ( ) const
inline

Determine if the 'amountMicros' attribute was set.

Returns
true if the 'amountMicros' attribute was set.

◆ has_currency()

bool google_youtube_api::LiveChatSuperChatDetails::has_currency ( ) const
inline

Determine if the 'currency' attribute was set.

Returns
true if the 'currency' attribute was set.

◆ has_tier()

bool google_youtube_api::LiveChatSuperChatDetails::has_tier ( ) const
inline

Determine if the 'tier' attribute was set.

Returns
true if the 'tier' attribute was set.

◆ has_user_comment()

bool google_youtube_api::LiveChatSuperChatDetails::has_user_comment ( ) const
inline

Determine if the 'userComment' attribute was set.

Returns
true if the 'userComment' attribute was set.

◆ New()

LiveChatSuperChatDetails * google_youtube_api::LiveChatSuperChatDetails::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_amount_display_string()

void google_youtube_api::LiveChatSuperChatDetails::set_amount_display_string ( const StringPiece &  value)
inline

Change the 'amountDisplayString' attribute.

A rendered string that displays the fund amount and currency to the user.

Parameters
[in]valueThe new value.

◆ set_amount_micros()

void google_youtube_api::LiveChatSuperChatDetails::set_amount_micros ( uint64  value)
inline

Change the 'amountMicros' attribute.

The amount purchased by the user, in micros (1,750,000 micros = 1.75).

Parameters
[in]valueThe new value.

◆ set_currency()

void google_youtube_api::LiveChatSuperChatDetails::set_currency ( const StringPiece &  value)
inline

Change the 'currency' attribute.

The currency in which the purchase was made.

Parameters
[in]valueThe new value.

◆ set_tier()

void google_youtube_api::LiveChatSuperChatDetails::set_tier ( uint32  value)
inline

Change the 'tier' attribute.

The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is 1.

Parameters
[in]valueThe new value.

◆ set_user_comment()

void google_youtube_api::LiveChatSuperChatDetails::set_user_comment ( const StringPiece &  value)
inline

Change the 'userComment' attribute.

The comment added by the user to this Super Chat event.

Parameters
[in]valueThe new value.

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