target.apidocs.com.google.api.services.youtube.model.LiveChatSuperStickerDetails.html Maven / Gradle / Ivy
LiveChatSuperStickerDetails (YouTube Data API v3 v3-rev20240417-2.0.0)
com.google.api.services.youtube.model
Class LiveChatSuperStickerDetails
- 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.LiveChatSuperStickerDetails
-
public final class LiveChatSuperStickerDetails
extends com.google.api.client.json.GenericJson
Model definition for LiveChatSuperStickerDetails.
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
LiveChatSuperStickerDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
LiveChatSuperStickerDetails
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.
SuperStickerMetadata
getSuperStickerMetadata()
Information about the Super Sticker.
Long
getTier()
The tier in which the amount belongs.
LiveChatSuperStickerDetails
set(String fieldName,
Object value)
LiveChatSuperStickerDetails
setAmountDisplayString(String amountDisplayString)
A rendered string that displays the fund amount and currency to the user.
LiveChatSuperStickerDetails
setAmountMicros(BigInteger amountMicros)
The amount purchased by the user, in micros (1,750,000 micros = 1.75).
LiveChatSuperStickerDetails
setCurrency(String currency)
The currency in which the purchase was made.
LiveChatSuperStickerDetails
setSuperStickerMetadata(SuperStickerMetadata superStickerMetadata)
Information about the Super Sticker.
LiveChatSuperStickerDetails
setTier(Long tier)
The tier in which the amount belongs.
-
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 LiveChatSuperStickerDetails 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 LiveChatSuperStickerDetails 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 LiveChatSuperStickerDetails setCurrency(String currency)
The currency in which the purchase was made.
- Parameters:
currency
- currency or null
for none
-
getSuperStickerMetadata
public SuperStickerMetadata getSuperStickerMetadata()
Information about the Super Sticker.
- Returns:
- value or
null
for none
-
setSuperStickerMetadata
public LiveChatSuperStickerDetails setSuperStickerMetadata(SuperStickerMetadata superStickerMetadata)
Information about the Super Sticker.
- Parameters:
superStickerMetadata
- superStickerMetadata 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 LiveChatSuperStickerDetails 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
-
set
public LiveChatSuperStickerDetails set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public LiveChatSuperStickerDetails 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