public final class LiveChatGiftDetails
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
LiveChatGiftDetails() |
| Modifier and Type | Method and Description |
|---|---|
LiveChatGiftDetails |
clone() |
String |
getAltText()
The alternative text to be used for accessibility.
|
Integer |
getComboCount()
The number of times the gift has been sent in a row.
|
String |
getGiftDuration()
The duration of the gift.
|
String |
getGiftName()
The name of the gift.
|
String |
getGiftUrl()
The URL of the gift image.
|
Boolean |
getHasVisualEffect()
Whether the gift involves a visual effect.
|
Integer |
getJewelsAmount()
The value of the gift in jewels.
|
String |
getLanguage()
The BCP-47 language code of the gift.
|
LiveChatGiftDetails |
set(String fieldName,
Object value) |
LiveChatGiftDetails |
setAltText(String altText)
The alternative text to be used for accessibility.
|
LiveChatGiftDetails |
setComboCount(Integer comboCount)
The number of times the gift has been sent in a row.
|
LiveChatGiftDetails |
setGiftDuration(String giftDuration)
The duration of the gift.
|
LiveChatGiftDetails |
setGiftName(String giftName)
The name of the gift.
|
LiveChatGiftDetails |
setGiftUrl(String giftUrl)
The URL of the gift image.
|
LiveChatGiftDetails |
setHasVisualEffect(Boolean hasVisualEffect)
Whether the gift involves a visual effect.
|
LiveChatGiftDetails |
setJewelsAmount(Integer jewelsAmount)
The value of the gift in jewels.
|
LiveChatGiftDetails |
setLanguage(String language)
The BCP-47 language code of the gift.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAltText()
null for nonepublic LiveChatGiftDetails setAltText(String altText)
altText - altText or null for nonepublic Integer getComboCount()
null for nonepublic LiveChatGiftDetails setComboCount(Integer comboCount)
comboCount - comboCount or null for nonepublic String getGiftDuration()
null for nonepublic LiveChatGiftDetails setGiftDuration(String giftDuration)
giftDuration - giftDuration or null for nonepublic String getGiftName()
null for nonepublic LiveChatGiftDetails setGiftName(String giftName)
giftName - giftName or null for nonepublic String getGiftUrl()
null for nonepublic LiveChatGiftDetails setGiftUrl(String giftUrl)
giftUrl - giftUrl or null for nonepublic Boolean getHasVisualEffect()
null for nonepublic LiveChatGiftDetails setHasVisualEffect(Boolean hasVisualEffect)
hasVisualEffect - hasVisualEffect or null for nonepublic Integer getJewelsAmount()
null for nonepublic LiveChatGiftDetails setJewelsAmount(Integer jewelsAmount)
jewelsAmount - jewelsAmount or null for nonepublic String getLanguage()
null for nonepublic LiveChatGiftDetails setLanguage(String language)
language - language or null for nonepublic LiveChatGiftDetails set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic LiveChatGiftDetails clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.