public final class LiveChatBanSnippet extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the YouTube Data API v3. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
LiveChatBanSnippet() |
| Modifier and Type | Method and Description |
|---|---|
LiveChatBanSnippet |
clone() |
BigInteger |
getBanDurationSeconds()
The duration of a ban, only filled if the ban has type TEMPORARY.
|
ChannelProfileDetails |
getBannedUserDetails() |
String |
getLiveChatId()
The chat this ban is pertinent to.
|
String |
getType()
The type of ban.
|
LiveChatBanSnippet |
set(String fieldName,
Object value) |
LiveChatBanSnippet |
setBanDurationSeconds(BigInteger banDurationSeconds)
The duration of a ban, only filled if the ban has type TEMPORARY.
|
LiveChatBanSnippet |
setBannedUserDetails(ChannelProfileDetails bannedUserDetails) |
LiveChatBanSnippet |
setLiveChatId(String liveChatId)
The chat this ban is pertinent to.
|
LiveChatBanSnippet |
setType(String type)
The type of ban.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic BigInteger getBanDurationSeconds()
null for nonepublic LiveChatBanSnippet setBanDurationSeconds(BigInteger banDurationSeconds)
banDurationSeconds - banDurationSeconds or null for nonepublic ChannelProfileDetails getBannedUserDetails()
null for nonepublic LiveChatBanSnippet setBannedUserDetails(ChannelProfileDetails bannedUserDetails)
bannedUserDetails - bannedUserDetails or null for nonepublic String getLiveChatId()
null for nonepublic LiveChatBanSnippet setLiveChatId(String liveChatId)
liveChatId - liveChatId or null for nonepublic String getType()
null for nonepublic LiveChatBanSnippet setType(String type)
type - type or null for nonepublic LiveChatBanSnippet set(String fieldName, Object value)
set in class GenericJsonpublic LiveChatBanSnippet clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.