public final class LiveChatMessageSnippet extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
LiveChatMessageSnippet() |
| Modifier and Type | Method and Description |
|---|---|
LiveChatMessageSnippet |
clone() |
String |
getAuthorChannelId()
The ID of the user that authored this message, this field is not always filled.
|
String |
getDisplayMessage()
Contains a string that can be displayed to the user.
|
LiveChatFanFundingEventDetails |
getFanFundingEventDetails()
Details about the funding event, this is only set if the type is 'fanFundingEvent'.
|
Boolean |
getHasDisplayContent()
Whether the message has display content that should be displayed to users.
|
String |
getLiveChatId() |
LiveChatMessageDeletedDetails |
getMessageDeletedDetails() |
LiveChatMessageRetractedDetails |
getMessageRetractedDetails() |
DateTime |
getPublishedAt()
The date and time when the message was orignally published.
|
LiveChatSuperChatDetails |
getSuperChatDetails()
Details about the Super Chat event, this is only set if the type is 'superChatEvent'.
|
LiveChatSuperStickerDetails |
getSuperStickerDetails()
Details about the Super Sticker event, this is only set if the type is 'superStickerEvent'.
|
LiveChatTextMessageDetails |
getTextMessageDetails()
Details about the text message, this is only set if the type is 'textMessageEvent'.
|
String |
getType()
The type of message, this will always be present, it determines the contents of the message as
well as which fields will be present.
|
LiveChatUserBannedMessageDetails |
getUserBannedDetails() |
LiveChatMessageSnippet |
set(String fieldName,
Object value) |
LiveChatMessageSnippet |
setAuthorChannelId(String authorChannelId)
The ID of the user that authored this message, this field is not always filled.
|
LiveChatMessageSnippet |
setDisplayMessage(String displayMessage)
Contains a string that can be displayed to the user.
|
LiveChatMessageSnippet |
setFanFundingEventDetails(LiveChatFanFundingEventDetails fanFundingEventDetails)
Details about the funding event, this is only set if the type is 'fanFundingEvent'.
|
LiveChatMessageSnippet |
setHasDisplayContent(Boolean hasDisplayContent)
Whether the message has display content that should be displayed to users.
|
LiveChatMessageSnippet |
setLiveChatId(String liveChatId) |
LiveChatMessageSnippet |
setMessageDeletedDetails(LiveChatMessageDeletedDetails messageDeletedDetails) |
LiveChatMessageSnippet |
setMessageRetractedDetails(LiveChatMessageRetractedDetails messageRetractedDetails) |
LiveChatMessageSnippet |
setPublishedAt(DateTime publishedAt)
The date and time when the message was orignally published.
|
LiveChatMessageSnippet |
setSuperChatDetails(LiveChatSuperChatDetails superChatDetails)
Details about the Super Chat event, this is only set if the type is 'superChatEvent'.
|
LiveChatMessageSnippet |
setSuperStickerDetails(LiveChatSuperStickerDetails superStickerDetails)
Details about the Super Sticker event, this is only set if the type is 'superStickerEvent'.
|
LiveChatMessageSnippet |
setTextMessageDetails(LiveChatTextMessageDetails textMessageDetails)
Details about the text message, this is only set if the type is 'textMessageEvent'.
|
LiveChatMessageSnippet |
setType(String type)
The type of message, this will always be present, it determines the contents of the message as
well as which fields will be present.
|
LiveChatMessageSnippet |
setUserBannedDetails(LiveChatUserBannedMessageDetails userBannedDetails) |
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 getAuthorChannelId()
null for nonepublic LiveChatMessageSnippet setAuthorChannelId(String authorChannelId)
authorChannelId - authorChannelId or null for nonepublic String getDisplayMessage()
null for nonepublic LiveChatMessageSnippet setDisplayMessage(String displayMessage)
displayMessage - displayMessage or null for nonepublic LiveChatFanFundingEventDetails getFanFundingEventDetails()
null for nonepublic LiveChatMessageSnippet setFanFundingEventDetails(LiveChatFanFundingEventDetails fanFundingEventDetails)
fanFundingEventDetails - fanFundingEventDetails or null for nonepublic Boolean getHasDisplayContent()
null for nonepublic LiveChatMessageSnippet setHasDisplayContent(Boolean hasDisplayContent)
hasDisplayContent - hasDisplayContent or null for nonepublic String getLiveChatId()
null for nonepublic LiveChatMessageSnippet setLiveChatId(String liveChatId)
liveChatId - liveChatId or null for nonepublic LiveChatMessageDeletedDetails getMessageDeletedDetails()
null for nonepublic LiveChatMessageSnippet setMessageDeletedDetails(LiveChatMessageDeletedDetails messageDeletedDetails)
messageDeletedDetails - messageDeletedDetails or null for nonepublic LiveChatMessageRetractedDetails getMessageRetractedDetails()
null for nonepublic LiveChatMessageSnippet setMessageRetractedDetails(LiveChatMessageRetractedDetails messageRetractedDetails)
messageRetractedDetails - messageRetractedDetails or null for nonepublic DateTime getPublishedAt()
null for nonepublic LiveChatMessageSnippet setPublishedAt(DateTime publishedAt)
publishedAt - publishedAt or null for nonepublic LiveChatSuperChatDetails getSuperChatDetails()
null for nonepublic LiveChatMessageSnippet setSuperChatDetails(LiveChatSuperChatDetails superChatDetails)
superChatDetails - superChatDetails or null for nonepublic LiveChatSuperStickerDetails getSuperStickerDetails()
null for nonepublic LiveChatMessageSnippet setSuperStickerDetails(LiveChatSuperStickerDetails superStickerDetails)
superStickerDetails - superStickerDetails or null for nonepublic LiveChatTextMessageDetails getTextMessageDetails()
null for nonepublic LiveChatMessageSnippet setTextMessageDetails(LiveChatTextMessageDetails textMessageDetails)
textMessageDetails - textMessageDetails or null for nonepublic String getType()
null for nonepublic LiveChatMessageSnippet setType(String type)
type - type or null for nonepublic LiveChatUserBannedMessageDetails getUserBannedDetails()
null for nonepublic LiveChatMessageSnippet setUserBannedDetails(LiveChatUserBannedMessageDetails userBannedDetails)
userBannedDetails - userBannedDetails or null for nonepublic LiveChatMessageSnippet set(String fieldName, Object value)
set in class GenericJsonpublic LiveChatMessageSnippet clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.