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

#include <live_chat_user_banned_message_details.h>

Inheritance diagram for google_youtube_api::LiveChatUserBannedMessageDetails:

Public Member Functions

 LiveChatUserBannedMessageDetails (const Json::Value &storage)
 
 LiveChatUserBannedMessageDetails (Json::Value *storage)
 
virtual ~LiveChatUserBannedMessageDetails ()
 
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_ban_type () const
 
void clear_ban_type ()
 
const StringPiece get_ban_type () const
 
void set_ban_type (const StringPiece &value)
 
bool has_banned_user_details () const
 
void clear_banned_user_details ()
 
const ChannelProfileDetails get_banned_user_details () const
 
ChannelProfileDetails mutable_bannedUserDetails ()
 

Static Public Member Functions

static LiveChatUserBannedMessageDetailsNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ LiveChatUserBannedMessageDetails() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ LiveChatUserBannedMessageDetails() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~LiveChatUserBannedMessageDetails()

google_youtube_api::LiveChatUserBannedMessageDetails::~LiveChatUserBannedMessageDetails ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_ban_duration_seconds()

void google_youtube_api::LiveChatUserBannedMessageDetails::clear_ban_duration_seconds ( )
inline

Clears the 'banDurationSeconds' attribute.

◆ clear_ban_type()

void google_youtube_api::LiveChatUserBannedMessageDetails::clear_ban_type ( )
inline

Clears the 'banType' attribute.

◆ clear_banned_user_details()

void google_youtube_api::LiveChatUserBannedMessageDetails::clear_banned_user_details ( )
inline

Clears the 'bannedUserDetails' attribute.

◆ get_ban_duration_seconds()

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

Get the value of the 'banDurationSeconds' attribute.

◆ get_ban_type()

const StringPiece google_youtube_api::LiveChatUserBannedMessageDetails::get_ban_type ( ) const
inline

Get the value of the 'banType' attribute.

◆ get_banned_user_details()

const ChannelProfileDetails google_youtube_api::LiveChatUserBannedMessageDetails::get_banned_user_details ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::LiveChatUserBannedMessageDetails

◆ has_ban_duration_seconds()

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

Determine if the 'banDurationSeconds' attribute was set.

Returns
true if the 'banDurationSeconds' attribute was set.

◆ has_ban_type()

bool google_youtube_api::LiveChatUserBannedMessageDetails::has_ban_type ( ) const
inline

Determine if the 'banType' attribute was set.

Returns
true if the 'banType' attribute was set.

◆ has_banned_user_details()

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

Determine if the 'bannedUserDetails' attribute was set.

Returns
true if the 'bannedUserDetails' attribute was set.

◆ mutable_bannedUserDetails()

ChannelProfileDetails google_youtube_api::LiveChatUserBannedMessageDetails::mutable_bannedUserDetails ( )

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

The details of the user that was banned.

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

◆ New()

LiveChatUserBannedMessageDetails * google_youtube_api::LiveChatUserBannedMessageDetails::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_ban_duration_seconds()

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

Change the 'banDurationSeconds' attribute.

The duration of the ban. This property is only present if the banType is temporary.

Parameters
[in]valueThe new value.

◆ set_ban_type()

void google_youtube_api::LiveChatUserBannedMessageDetails::set_ban_type ( const StringPiece &  value)
inline

Change the 'banType' attribute.

The type of ban.

Parameters
[in]valueThe new value.

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