public final class LiveChatBanSnippet
extends com.google.api.client.json.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. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
LiveChatBanSnippet() |
| Modifier and Type | Method and Description |
|---|---|
LiveChatBanSnippet |
clone() |
java.math.BigInteger |
getBanDurationSeconds()
The duration of a ban, only filled if the ban has type TEMPORARY.
|
ChannelProfileDetails |
getBannedUserDetails() |
java.lang.String |
getLiveChatId()
The chat this ban is pertinent to.
|
java.lang.String |
getType()
The type of ban.
|
LiveChatBanSnippet |
set(java.lang.String fieldName,
java.lang.Object value) |
LiveChatBanSnippet |
setBanDurationSeconds(java.math.BigInteger banDurationSeconds)
The duration of a ban, only filled if the ban has type TEMPORARY.
|
LiveChatBanSnippet |
setBannedUserDetails(ChannelProfileDetails bannedUserDetails) |
LiveChatBanSnippet |
setLiveChatId(java.lang.String liveChatId)
The chat this ban is pertinent to.
|
LiveChatBanSnippet |
setType(java.lang.String type)
The type of ban.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.math.BigInteger getBanDurationSeconds()
null for nonepublic LiveChatBanSnippet setBanDurationSeconds(java.math.BigInteger banDurationSeconds)
banDurationSeconds - banDurationSeconds or null for nonepublic ChannelProfileDetails getBannedUserDetails()
null for nonepublic LiveChatBanSnippet setBannedUserDetails(ChannelProfileDetails bannedUserDetails)
bannedUserDetails - bannedUserDetails or null for nonepublic java.lang.String getLiveChatId()
null for nonepublic LiveChatBanSnippet setLiveChatId(java.lang.String liveChatId)
liveChatId - liveChatId or null for nonepublic java.lang.String getType()
null for nonepublic LiveChatBanSnippet setType(java.lang.String type)
type - type or null for nonepublic LiveChatBanSnippet set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic LiveChatBanSnippet clone()
clone in class com.google.api.client.json.GenericJson