public final class Comment
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 |
---|
Comment() |
Modifier and Type | Method and Description |
---|---|
Comment |
clone() |
java.lang.String |
getEtag()
Etag of this resource.
|
java.lang.String |
getId()
The ID that YouTube uses to uniquely identify the comment.
|
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
CommentSnippet |
getSnippet()
The snippet object contains basic details about the comment.
|
Comment |
set(java.lang.String fieldName,
java.lang.Object value) |
Comment |
setEtag(java.lang.String etag)
Etag of this resource.
|
Comment |
setId(java.lang.String id)
The ID that YouTube uses to uniquely identify the comment.
|
Comment |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
Comment |
setSnippet(CommentSnippet snippet)
The snippet object contains basic details about the comment.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getEtag()
null
for nonepublic Comment setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic java.lang.String getId()
null
for nonepublic Comment setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic Comment setKind(java.lang.String kind)
kind
- kind or null
for nonepublic CommentSnippet getSnippet()
null
for nonepublic Comment setSnippet(CommentSnippet snippet)
snippet
- snippet or null
for nonepublic Comment set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Comment clone()
clone
in class com.google.api.client.json.GenericJson