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 Blogger API v3. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
Modifier and Type | Class and Description |
---|---|
static class |
Comment.Author
The author of this Comment.
|
static class |
Comment.Blog
Data about the blog containing this comment.
|
static class |
Comment.InReplyTo
Data about the comment this is in reply to.
|
static class |
Comment.Post
Data about the post containing this comment.
|
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Comment() |
Modifier and Type | Method and Description |
---|---|
Comment |
clone() |
Comment.Author |
getAuthor()
The author of this Comment.
|
Comment.Blog |
getBlog()
Data about the blog containing this comment.
|
java.lang.String |
getContent()
The actual content of the comment.
|
java.lang.String |
getId()
The identifier for this resource.
|
Comment.InReplyTo |
getInReplyTo()
Data about the comment this is in reply to.
|
java.lang.String |
getKind()
The kind of this entry.
|
Comment.Post |
getPost()
Data about the post containing this comment.
|
java.lang.String |
getPublished()
RFC 3339 date-time when this comment was published.
|
java.lang.String |
getSelfLink()
The API REST URL to fetch this resource from.
|
java.lang.String |
getStatus()
The status of the comment (only populated for admin users).
|
java.lang.String |
getUpdated()
RFC 3339 date-time when this comment was last updated.
|
Comment |
set(java.lang.String fieldName,
java.lang.Object value) |
Comment |
setAuthor(Comment.Author author)
The author of this Comment.
|
Comment |
setBlog(Comment.Blog blog)
Data about the blog containing this comment.
|
Comment |
setContent(java.lang.String content)
The actual content of the comment.
|
Comment |
setId(java.lang.String id)
The identifier for this resource.
|
Comment |
setInReplyTo(Comment.InReplyTo inReplyTo)
Data about the comment this is in reply to.
|
Comment |
setKind(java.lang.String kind)
The kind of this entry.
|
Comment |
setPost(Comment.Post post)
Data about the post containing this comment.
|
Comment |
setPublished(java.lang.String published)
RFC 3339 date-time when this comment was published.
|
Comment |
setSelfLink(java.lang.String selfLink)
The API REST URL to fetch this resource from.
|
Comment |
setStatus(java.lang.String status)
The status of the comment (only populated for admin users).
|
Comment |
setUpdated(java.lang.String updated)
RFC 3339 date-time when this comment was last updated.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Comment.Author getAuthor()
null
for nonepublic Comment setAuthor(Comment.Author author)
author
- author or null
for nonepublic Comment.Blog getBlog()
null
for nonepublic Comment setBlog(Comment.Blog blog)
blog
- blog or null
for nonepublic java.lang.String getContent()
null
for nonepublic Comment setContent(java.lang.String content)
content
- content or null
for nonepublic java.lang.String getId()
null
for nonepublic Comment setId(java.lang.String id)
id
- id or null
for nonepublic Comment.InReplyTo getInReplyTo()
null
for nonepublic Comment setInReplyTo(Comment.InReplyTo inReplyTo)
inReplyTo
- inReplyTo or null
for nonepublic java.lang.String getKind()
null
for nonepublic Comment setKind(java.lang.String kind)
kind
- kind or null
for nonepublic Comment.Post getPost()
null
for nonepublic Comment setPost(Comment.Post post)
post
- post or null
for nonepublic java.lang.String getPublished()
null
for nonepublic Comment setPublished(java.lang.String published)
published
- published or null
for nonepublic java.lang.String getSelfLink()
null
for nonepublic Comment setSelfLink(java.lang.String selfLink)
selfLink
- selfLink or null
for nonepublic java.lang.String getStatus()
null
for nonepublic Comment setStatus(java.lang.String status)
status
- status or null
for nonepublic java.lang.String getUpdated()
null
for nonepublic Comment setUpdated(java.lang.String updated)
updated
- updated 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