target.apidocs.com.google.api.services.youtube.model.LiveChatSuperChatDetails.html Maven / Gradle / Ivy
LiveChatSuperChatDetails (YouTube Data API v3 v3-rev20240909-2.0.0)
com.google.api.services.youtube.model
Class LiveChatSuperChatDetails
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.youtube.model.LiveChatSuperChatDetails
-
public final class LiveChatSuperChatDetails
extends com.google.api.client.json.GenericJson
Model definition for LiveChatSuperChatDetails.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
LiveChatSuperChatDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAmountDisplayString
public String getAmountDisplayString()
A rendered string that displays the fund amount and currency to the user.
- Returns:
- value or
null
for none
-
setAmountDisplayString
public LiveChatSuperChatDetails setAmountDisplayString(String amountDisplayString)
A rendered string that displays the fund amount and currency to the user.
- Parameters:
amountDisplayString
- amountDisplayString or null
for none
-
getAmountMicros
public BigInteger getAmountMicros()
The amount purchased by the user, in micros (1,750,000 micros = 1.75).
- Returns:
- value or
null
for none
-
setAmountMicros
public LiveChatSuperChatDetails setAmountMicros(BigInteger amountMicros)
The amount purchased by the user, in micros (1,750,000 micros = 1.75).
- Parameters:
amountMicros
- amountMicros or null
for none
-
getCurrency
public String getCurrency()
The currency in which the purchase was made.
- Returns:
- value or
null
for none
-
setCurrency
public LiveChatSuperChatDetails setCurrency(String currency)
The currency in which the purchase was made.
- Parameters:
currency
- currency or null
for none
-
getTier
public Long getTier()
The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is
1.
- Returns:
- value or
null
for none
-
setTier
public LiveChatSuperChatDetails setTier(Long tier)
The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is
1.
- Parameters:
tier
- tier or null
for none
-
getUserComment
public String getUserComment()
The comment added by the user to this Super Chat event.
- Returns:
- value or
null
for none
-
setUserComment
public LiveChatSuperChatDetails setUserComment(String userComment)
The comment added by the user to this Super Chat event.
- Parameters:
userComment
- userComment or null
for none
-
set
public LiveChatSuperChatDetails set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public LiveChatSuperChatDetails clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy