public final class LiveChatUserBannedMessageDetails
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 |
|---|
LiveChatUserBannedMessageDetails() |
| Modifier and Type | Method and Description |
|---|---|
LiveChatUserBannedMessageDetails |
clone() |
java.math.BigInteger |
getBanDurationSeconds()
The duration of the ban.
|
ChannelProfileDetails |
getBannedUserDetails()
The details of the user that was banned.
|
java.lang.String |
getBanType()
The type of ban.
|
LiveChatUserBannedMessageDetails |
set(java.lang.String fieldName,
java.lang.Object value) |
LiveChatUserBannedMessageDetails |
setBanDurationSeconds(java.math.BigInteger banDurationSeconds)
The duration of the ban.
|
LiveChatUserBannedMessageDetails |
setBannedUserDetails(ChannelProfileDetails bannedUserDetails)
The details of the user that was banned.
|
LiveChatUserBannedMessageDetails |
setBanType(java.lang.String banType)
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 LiveChatUserBannedMessageDetails setBanDurationSeconds(java.math.BigInteger banDurationSeconds)
banDurationSeconds - banDurationSeconds or null for nonepublic java.lang.String getBanType()
null for nonepublic LiveChatUserBannedMessageDetails setBanType(java.lang.String banType)
banType - banType or null for nonepublic ChannelProfileDetails getBannedUserDetails()
null for nonepublic LiveChatUserBannedMessageDetails setBannedUserDetails(ChannelProfileDetails bannedUserDetails)
bannedUserDetails - bannedUserDetails or null for nonepublic LiveChatUserBannedMessageDetails set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic LiveChatUserBannedMessageDetails clone()
clone in class com.google.api.client.json.GenericJson