public final class LiveChatSuperChatDetails
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 v3. 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
LiveChatSuperChatDetails() |
Modifier and Type | Method and Description |
---|---|
LiveChatSuperChatDetails |
clone() |
String |
getAmountDisplayString()
A rendered string that displays the fund amount and currency to the user.
|
BigInteger |
getAmountMicros()
The amount purchased by the user, in micros (1,750,000 micros = 1.75).
|
String |
getCurrency()
The currency in which the purchase was made.
|
Long |
getTier()
The tier in which the amount belongs.
|
String |
getUserComment()
The comment added by the user to this Super Chat event.
|
LiveChatSuperChatDetails |
set(String fieldName,
Object value) |
LiveChatSuperChatDetails |
setAmountDisplayString(String amountDisplayString)
A rendered string that displays the fund amount and currency to the user.
|
LiveChatSuperChatDetails |
setAmountMicros(BigInteger amountMicros)
The amount purchased by the user, in micros (1,750,000 micros = 1.75).
|
LiveChatSuperChatDetails |
setCurrency(String currency)
The currency in which the purchase was made.
|
LiveChatSuperChatDetails |
setTier(Long tier)
The tier in which the amount belongs.
|
LiveChatSuperChatDetails |
setUserComment(String userComment)
The comment added by the user to this Super Chat event.
|
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 String getAmountDisplayString()
null
for nonepublic LiveChatSuperChatDetails setAmountDisplayString(String amountDisplayString)
amountDisplayString
- amountDisplayString or null
for nonepublic BigInteger getAmountMicros()
null
for nonepublic LiveChatSuperChatDetails setAmountMicros(BigInteger amountMicros)
amountMicros
- amountMicros or null
for nonepublic String getCurrency()
null
for nonepublic LiveChatSuperChatDetails setCurrency(String currency)
currency
- currency or null
for nonepublic Long getTier()
null
for nonepublic LiveChatSuperChatDetails setTier(Long tier)
tier
- tier or null
for nonepublic String getUserComment()
null
for nonepublic LiveChatSuperChatDetails setUserComment(String userComment)
userComment
- userComment or null
for nonepublic LiveChatSuperChatDetails set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public LiveChatSuperChatDetails clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.