#include <live_chat_user_banned_message_details.h>
◆ LiveChatUserBannedMessageDetails() [1/2]
google_youtube_api::LiveChatUserBannedMessageDetails::LiveChatUserBannedMessageDetails |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~LiveChatUserBannedMessageDetails()
google_youtube_api::LiveChatUserBannedMessageDetails::~LiveChatUserBannedMessageDetails |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
◆ set_ban_type()
void google_youtube_api::LiveChatUserBannedMessageDetails::set_ban_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'banType
' attribute.
The type of ban.
- Parameters
-
The documentation for this class was generated from the following files: