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.Flags
AbstractMap.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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 GenericJson
public LiveChatBanSnippet clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.