Drive API v2 (revision 47)



com.google.api.services.drive.model
Class CommentReply

java.lang.Object
  extended by java.util.AbstractMap<java.lang.String,java.lang.Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.drive.model.CommentReply
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>

public final class CommentReply
extends GenericJson

A JSON representation of a reply to a comment on a file in Google Drive.

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 Drive API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json

Upgrade warning: starting with version 1.12 getResponseHeaders() is removed, instead use JsonHttpRequest.getLastResponseHeaders()

Author:
Google, Inc.

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
CommentReply()
           
 
Method Summary
 User getAuthor()
          The user who wrote this reply.
 java.lang.String getContent()
          The plain text content used to create this reply.
 DateTime getCreatedDate()
          The date when this reply was first created.
 java.lang.Boolean getDeleted()
          Whether this reply has been deleted.
 java.lang.String getHtmlContent()
          HTML formatted content for this reply.
 java.lang.String getKind()
          This is always drive#commentReply.
 DateTime getModifiedDate()
          The date when this reply was last modified.
 java.lang.String getReplyId()
          The ID of the reply.
 java.lang.String getVerb()
          The action this reply performed to the parent comment.
 CommentReply setAuthor(User author)
          The user who wrote this reply.
 CommentReply setContent(java.lang.String content)
          The plain text content used to create this reply.
 CommentReply setCreatedDate(DateTime createdDate)
          The date when this reply was first created.
 CommentReply setDeleted(java.lang.Boolean deleted)
          Whether this reply has been deleted.
 CommentReply setHtmlContent(java.lang.String htmlContent)
          HTML formatted content for this reply.
 CommentReply setKind(java.lang.String kind)
          This is always drive#commentReply.
 CommentReply setModifiedDate(DateTime modifiedDate)
          The date when this reply was last modified.
 CommentReply setReplyId(java.lang.String replyId)
          The ID of the reply.
 CommentReply setVerb(java.lang.String verb)
          The action this reply performed to the parent comment.
 
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommentReply

public CommentReply()
Method Detail

getAuthor

public User getAuthor()
The user who wrote this reply. The value returned may be null.


setAuthor

public CommentReply setAuthor(User author)
The user who wrote this reply. The value set may be null.


getContent

public java.lang.String getContent()
The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply's content. This field is required on inserts if no verb is specified (resolve/reopen). The value returned may be null.


setContent

public CommentReply setContent(java.lang.String content)
The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply's content. This field is required on inserts if no verb is specified (resolve/reopen). The value set may be null.


getCreatedDate

public DateTime getCreatedDate()
The date when this reply was first created. The value returned may be null.


setCreatedDate

public CommentReply setCreatedDate(DateTime createdDate)
The date when this reply was first created. The value set may be null.


getDeleted

public java.lang.Boolean getDeleted()
Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed. The value returned may be null.


setDeleted

public CommentReply setDeleted(java.lang.Boolean deleted)
Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed. The value set may be null.


getHtmlContent

public java.lang.String getHtmlContent()
HTML formatted content for this reply. The value returned may be null.


setHtmlContent

public CommentReply setHtmlContent(java.lang.String htmlContent)
HTML formatted content for this reply. The value set may be null.


getKind

public java.lang.String getKind()
This is always drive#commentReply. The value returned may be null.


setKind

public CommentReply setKind(java.lang.String kind)
This is always drive#commentReply. The value set may be null.


getModifiedDate

public DateTime getModifiedDate()
The date when this reply was last modified. The value returned may be null.


setModifiedDate

public CommentReply setModifiedDate(DateTime modifiedDate)
The date when this reply was last modified. The value set may be null.


getReplyId

public java.lang.String getReplyId()
The ID of the reply. The value returned may be null.


setReplyId

public CommentReply setReplyId(java.lang.String replyId)
The ID of the reply. The value set may be null.


getVerb

public java.lang.String getVerb()
The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are: - "resolve" - To resolve a comment. - "reopen" - To reopen (un-resolve) a comment. The value returned may be null.


setVerb

public CommentReply setVerb(java.lang.String verb)
The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are: - "resolve" - To resolve a comment. - "reopen" - To reopen (un-resolve) a comment. The value set may be null.