public final class SuperChatEvent 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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SuperChatEvent() |
Modifier and Type | Method and Description |
---|---|
SuperChatEvent |
clone() |
String |
getEtag()
Etag of this resource.
|
String |
getId()
The ID that YouTube assigns to uniquely identify the Super Chat event.
|
String |
getKind()
Identifies what kind of resource this is.
|
SuperChatEventSnippet |
getSnippet()
The `snippet` object contains basic details about the Super Chat event.
|
SuperChatEvent |
set(String fieldName,
Object value) |
SuperChatEvent |
setEtag(String etag)
Etag of this resource.
|
SuperChatEvent |
setId(String id)
The ID that YouTube assigns to uniquely identify the Super Chat event.
|
SuperChatEvent |
setKind(String kind)
Identifies what kind of resource this is.
|
SuperChatEvent |
setSnippet(SuperChatEventSnippet snippet)
The `snippet` object contains basic details about the Super Chat event.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getEtag()
null
for nonepublic SuperChatEvent setEtag(String etag)
etag
- etag or null
for nonepublic String getId()
null
for nonepublic SuperChatEvent setId(String id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic SuperChatEvent setKind(String kind)
kind
- kind or null
for nonepublic SuperChatEventSnippet getSnippet()
null
for nonepublic SuperChatEvent setSnippet(SuperChatEventSnippet snippet)
snippet
- snippet or null
for nonepublic SuperChatEvent set(String fieldName, Object value)
set
in class GenericJson
public SuperChatEvent clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.