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