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

#include <live_chat_ban_snippet.h>

Inheritance diagram for google_youtube_api::LiveChatBanSnippet:

Public Member Functions

 LiveChatBanSnippet (const Json::Value &storage)
 
 LiveChatBanSnippet (Json::Value *storage)
 
virtual ~LiveChatBanSnippet ()
 
const StringPiece GetTypeName () const
 
bool has_ban_duration_seconds () const
 
void clear_ban_duration_seconds ()
 
uint64 get_ban_duration_seconds () const
 
void set_ban_duration_seconds (uint64 value)
 
bool has_banned_user_details () const
 
void clear_banned_user_details ()
 
const ChannelProfileDetails get_banned_user_details () const
 
ChannelProfileDetails mutable_bannedUserDetails ()
 
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_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (const StringPiece &value)
 

Static Public Member Functions

static LiveChatBanSnippetNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ LiveChatBanSnippet() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ LiveChatBanSnippet() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~LiveChatBanSnippet()

google_youtube_api::LiveChatBanSnippet::~LiveChatBanSnippet ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_ban_duration_seconds()

void google_youtube_api::LiveChatBanSnippet::clear_ban_duration_seconds ( )
inline

Clears the 'banDurationSeconds' attribute.

◆ clear_banned_user_details()

void google_youtube_api::LiveChatBanSnippet::clear_banned_user_details ( )
inline

Clears the 'bannedUserDetails' attribute.

◆ clear_live_chat_id()

void google_youtube_api::LiveChatBanSnippet::clear_live_chat_id ( )
inline

Clears the 'liveChatId' attribute.

◆ clear_type()

void google_youtube_api::LiveChatBanSnippet::clear_type ( )
inline

Clears the 'type' attribute.

◆ get_ban_duration_seconds()

uint64 google_youtube_api::LiveChatBanSnippet::get_ban_duration_seconds ( ) const
inline

Get the value of the 'banDurationSeconds' attribute.

◆ get_banned_user_details()

const ChannelProfileDetails google_youtube_api::LiveChatBanSnippet::get_banned_user_details ( ) const

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

◆ get_live_chat_id()

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

Get the value of the 'liveChatId' attribute.

◆ get_type()

const StringPiece google_youtube_api::LiveChatBanSnippet::get_type ( ) const
inline

Get the value of the 'type' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::LiveChatBanSnippet

◆ has_ban_duration_seconds()

bool google_youtube_api::LiveChatBanSnippet::has_ban_duration_seconds ( ) const
inline

Determine if the 'banDurationSeconds' attribute was set.

Returns
true if the 'banDurationSeconds' attribute was set.

◆ has_banned_user_details()

bool google_youtube_api::LiveChatBanSnippet::has_banned_user_details ( ) const
inline

Determine if the 'bannedUserDetails' attribute was set.

Returns
true if the 'bannedUserDetails' attribute was set.

◆ has_live_chat_id()

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

Determine if the 'liveChatId' attribute was set.

Returns
true if the 'liveChatId' attribute was set.

◆ has_type()

bool google_youtube_api::LiveChatBanSnippet::has_type ( ) const
inline

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ mutable_bannedUserDetails()

ChannelProfileDetails google_youtube_api::LiveChatBanSnippet::mutable_bannedUserDetails ( )

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

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

◆ New()

LiveChatBanSnippet * google_youtube_api::LiveChatBanSnippet::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_ban_duration_seconds()

void google_youtube_api::LiveChatBanSnippet::set_ban_duration_seconds ( uint64  value)
inline

Change the 'banDurationSeconds' attribute.

The duration of a ban, only filled if the ban has type TEMPORARY.

Parameters
[in]valueThe new value.

◆ set_live_chat_id()

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

Change the 'liveChatId' attribute.

The chat this ban is pertinent to.

Parameters
[in]valueThe new value.

◆ set_type()

void google_youtube_api::LiveChatBanSnippet::set_type ( const StringPiece &  value)
inline

Change the 'type' attribute.

The type of ban.

Parameters
[in]valueThe new value.

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