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 Google+ API. 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.Actor
The person who posted this comment.
|
static class |
Comment.InReplyTo
Model definition for CommentInReplyTo.
|
static class |
Comment.PlusObject
The object of this comment.
|
static class |
Comment.Plusoners
People who +1'd this comment.
|
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Comment() |
Modifier and Type | Method and Description |
---|---|
Comment |
clone() |
Comment.Actor |
getActor()
The person who posted this comment.
|
java.lang.String |
getEtag()
ETag of this response for caching purposes.
|
java.lang.String |
getId()
The ID of this comment.
|
java.util.List<Comment.InReplyTo> |
getInReplyTo()
The activity this comment replied to.
|
java.lang.String |
getKind()
Identifies this resource as a comment.
|
Comment.PlusObject |
getObject()
The object of this comment.
|
Comment.Plusoners |
getPlusoners()
People who +1'd this comment.
|
com.google.api.client.util.DateTime |
getPublished()
The time at which this comment was initially published.
|
java.lang.String |
getSelfLink()
Link to this comment resource.
|
com.google.api.client.util.DateTime |
getUpdated()
The time at which this comment was last updated.
|
java.lang.String |
getVerb()
This comment's verb, indicating what action was performed.
|
Comment |
set(java.lang.String fieldName,
java.lang.Object value) |
Comment |
setActor(Comment.Actor actor)
The person who posted this comment.
|
Comment |
setEtag(java.lang.String etag)
ETag of this response for caching purposes.
|
Comment |
setId(java.lang.String id)
The ID of this comment.
|
Comment |
setInReplyTo(java.util.List<Comment.InReplyTo> inReplyTo)
The activity this comment replied to.
|
Comment |
setKind(java.lang.String kind)
Identifies this resource as a comment.
|
Comment |
setObject(Comment.PlusObject object__)
The object of this comment.
|
Comment |
setPlusoners(Comment.Plusoners plusoners)
People who +1'd this comment.
|
Comment |
setPublished(com.google.api.client.util.DateTime published)
The time at which this comment was initially published.
|
Comment |
setSelfLink(java.lang.String selfLink)
Link to this comment resource.
|
Comment |
setUpdated(com.google.api.client.util.DateTime updated)
The time at which this comment was last updated.
|
Comment |
setVerb(java.lang.String verb)
This comment's verb, indicating what action was performed.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Comment.Actor getActor()
null
for nonepublic Comment setActor(Comment.Actor actor)
actor
- actor or null
for nonepublic 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.util.List<Comment.InReplyTo> getInReplyTo()
null
for nonepublic Comment setInReplyTo(java.util.List<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.PlusObject getObject()
null
for nonepublic Comment setObject(Comment.PlusObject object__)
object__
- object__ or null
for nonepublic Comment.Plusoners getPlusoners()
null
for nonepublic Comment setPlusoners(Comment.Plusoners plusoners)
plusoners
- plusoners or null
for nonepublic com.google.api.client.util.DateTime getPublished()
null
for nonepublic Comment setPublished(com.google.api.client.util.DateTime 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 com.google.api.client.util.DateTime getUpdated()
null
for nonepublic Comment setUpdated(com.google.api.client.util.DateTime updated)
updated
- updated or null
for nonepublic java.lang.String getVerb()
null
for nonepublic Comment setVerb(java.lang.String verb)
verb
- verb 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