public final class LiveChatMessage
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. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
LiveChatMessage() |
Modifier and Type | Method and Description |
---|---|
LiveChatMessage |
clone() |
LiveChatMessageAuthorDetails |
getAuthorDetails()
The authorDetails object contains basic details about the user that posted this message.
|
java.lang.String |
getEtag()
Etag of this resource.
|
java.lang.String |
getId()
The ID that YouTube assigns to uniquely identify the message.
|
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
LiveChatMessageSnippet |
getSnippet()
The snippet object contains basic details about the message.
|
LiveChatMessage |
set(java.lang.String fieldName,
java.lang.Object value) |
LiveChatMessage |
setAuthorDetails(LiveChatMessageAuthorDetails authorDetails)
The authorDetails object contains basic details about the user that posted this message.
|
LiveChatMessage |
setEtag(java.lang.String etag)
Etag of this resource.
|
LiveChatMessage |
setId(java.lang.String id)
The ID that YouTube assigns to uniquely identify the message.
|
LiveChatMessage |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
LiveChatMessage |
setSnippet(LiveChatMessageSnippet snippet)
The snippet object contains basic details about the message.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public LiveChatMessageAuthorDetails getAuthorDetails()
null
for nonepublic LiveChatMessage setAuthorDetails(LiveChatMessageAuthorDetails authorDetails)
authorDetails
- authorDetails or null
for nonepublic java.lang.String getEtag()
null
for nonepublic LiveChatMessage setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic java.lang.String getId()
null
for nonepublic LiveChatMessage setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic LiveChatMessage setKind(java.lang.String kind)
kind
- kind or null
for nonepublic LiveChatMessageSnippet getSnippet()
null
for nonepublic LiveChatMessage setSnippet(LiveChatMessageSnippet snippet)
snippet
- snippet or null
for nonepublic LiveChatMessage set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public LiveChatMessage clone()
clone
in class com.google.api.client.json.GenericJson