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. 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 |
---|
LiveChatSuperChatDetails() |
Modifier and Type | Method and Description |
---|---|
LiveChatSuperChatDetails |
clone() |
java.lang.String |
getAmountDisplayString()
A rendered string that displays the fund amount and currency to the user.
|
java.math.BigInteger |
getAmountMicros()
The amount purchased by the user, in micros (1,750,000 micros = 1.75).
|
java.lang.String |
getCurrency()
The currency in which the purchase was made.
|
java.lang.Long |
getTier()
The tier in which the amount belongs.
|
java.lang.String |
getUserComment()
The comment added by the user to this Super Chat event.
|
LiveChatSuperChatDetails |
set(java.lang.String fieldName,
java.lang.Object value) |
LiveChatSuperChatDetails |
setAmountDisplayString(java.lang.String amountDisplayString)
A rendered string that displays the fund amount and currency to the user.
|
LiveChatSuperChatDetails |
setAmountMicros(java.math.BigInteger amountMicros)
The amount purchased by the user, in micros (1,750,000 micros = 1.75).
|
LiveChatSuperChatDetails |
setCurrency(java.lang.String currency)
The currency in which the purchase was made.
|
LiveChatSuperChatDetails |
setTier(java.lang.Long tier)
The tier in which the amount belongs.
|
LiveChatSuperChatDetails |
setUserComment(java.lang.String userComment)
The comment added by the user to this Super Chat event.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAmountDisplayString()
null
for nonepublic LiveChatSuperChatDetails setAmountDisplayString(java.lang.String amountDisplayString)
amountDisplayString
- amountDisplayString or null
for nonepublic java.math.BigInteger getAmountMicros()
null
for nonepublic LiveChatSuperChatDetails setAmountMicros(java.math.BigInteger amountMicros)
amountMicros
- amountMicros or null
for nonepublic java.lang.String getCurrency()
null
for nonepublic LiveChatSuperChatDetails setCurrency(java.lang.String currency)
currency
- currency or null
for nonepublic java.lang.Long getTier()
null
for nonepublic LiveChatSuperChatDetails setTier(java.lang.Long tier)
tier
- tier or null
for nonepublic java.lang.String getUserComment()
null
for nonepublic LiveChatSuperChatDetails setUserComment(java.lang.String userComment)
userComment
- userComment or null
for nonepublic LiveChatSuperChatDetails set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public LiveChatSuperChatDetails clone()
clone
in class com.google.api.client.json.GenericJson