public final class LiveChatMessageSnippet
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 |
|---|
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'.
|
LiveChatGiftMembershipReceivedDetails |
getGiftMembershipReceivedDetails()
Details about the Gift Membership Received event, this is only set if the type is
'giftMembershipReceivedEvent'.
|
Boolean |
getHasDisplayContent()
Whether the message has display content that should be displayed to users.
|
String |
getLiveChatId() |
LiveChatMemberMilestoneChatDetails |
getMemberMilestoneChatDetails()
Details about the Member Milestone Chat event, this is only set if the type is
'memberMilestoneChatEvent'.
|
LiveChatMembershipGiftingDetails |
getMembershipGiftingDetails()
Details about the Membership Gifting event, this is only set if the type is
'membershipGiftingEvent'.
|
LiveChatMessageDeletedDetails |
getMessageDeletedDetails() |
LiveChatMessageRetractedDetails |
getMessageRetractedDetails() |
LiveChatNewSponsorDetails |
getNewSponsorDetails()
Details about the New Member Announcement event, this is only set if the type is
'newSponsorEvent'.
|
LiveChatPollDetails |
getPollDetails()
Details about the poll event, this is only set if the type is 'pollEvent'.
|
com.google.api.client.util.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 |
setGiftMembershipReceivedDetails(LiveChatGiftMembershipReceivedDetails giftMembershipReceivedDetails)
Details about the Gift Membership Received event, this is only set if the type is
'giftMembershipReceivedEvent'.
|
LiveChatMessageSnippet |
setHasDisplayContent(Boolean hasDisplayContent)
Whether the message has display content that should be displayed to users.
|
LiveChatMessageSnippet |
setLiveChatId(String liveChatId) |
LiveChatMessageSnippet |
setMemberMilestoneChatDetails(LiveChatMemberMilestoneChatDetails memberMilestoneChatDetails)
Details about the Member Milestone Chat event, this is only set if the type is
'memberMilestoneChatEvent'.
|
LiveChatMessageSnippet |
setMembershipGiftingDetails(LiveChatMembershipGiftingDetails membershipGiftingDetails)
Details about the Membership Gifting event, this is only set if the type is
'membershipGiftingEvent'.
|
LiveChatMessageSnippet |
setMessageDeletedDetails(LiveChatMessageDeletedDetails messageDeletedDetails) |
LiveChatMessageSnippet |
setMessageRetractedDetails(LiveChatMessageRetractedDetails messageRetractedDetails) |
LiveChatMessageSnippet |
setNewSponsorDetails(LiveChatNewSponsorDetails newSponsorDetails)
Details about the New Member Announcement event, this is only set if the type is
'newSponsorEvent'.
|
LiveChatMessageSnippet |
setPollDetails(LiveChatPollDetails pollDetails)
Details about the poll event, this is only set if the type is 'pollEvent'.
|
LiveChatMessageSnippet |
setPublishedAt(com.google.api.client.util.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 LiveChatGiftMembershipReceivedDetails getGiftMembershipReceivedDetails()
null for nonepublic LiveChatMessageSnippet setGiftMembershipReceivedDetails(LiveChatGiftMembershipReceivedDetails giftMembershipReceivedDetails)
giftMembershipReceivedDetails - giftMembershipReceivedDetails 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 LiveChatMemberMilestoneChatDetails getMemberMilestoneChatDetails()
null for nonepublic LiveChatMessageSnippet setMemberMilestoneChatDetails(LiveChatMemberMilestoneChatDetails memberMilestoneChatDetails)
memberMilestoneChatDetails - memberMilestoneChatDetails or null for nonepublic LiveChatMembershipGiftingDetails getMembershipGiftingDetails()
null for nonepublic LiveChatMessageSnippet setMembershipGiftingDetails(LiveChatMembershipGiftingDetails membershipGiftingDetails)
membershipGiftingDetails - membershipGiftingDetails 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 LiveChatNewSponsorDetails getNewSponsorDetails()
null for nonepublic LiveChatMessageSnippet setNewSponsorDetails(LiveChatNewSponsorDetails newSponsorDetails)
newSponsorDetails - newSponsorDetails or null for nonepublic LiveChatPollDetails getPollDetails()
null for nonepublic LiveChatMessageSnippet setPollDetails(LiveChatPollDetails pollDetails)
pollDetails - pollDetails or null for nonepublic com.google.api.client.util.DateTime getPublishedAt()
null for nonepublic LiveChatMessageSnippet setPublishedAt(com.google.api.client.util.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 com.google.api.client.json.GenericJsonpublic LiveChatMessageSnippet clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.