Google+ API v1 (revision 70)



com.google.api.services.plus.model
Class Comment.PlusObject

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.plus.model.Comment.PlusObject
All Implemented Interfaces:
Cloneable, Map<String,Object>
Enclosing class:
Comment

public static final class Comment.PlusObject
extends GenericJson

The object of this comment.


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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
Comment.PlusObject()
           
 
Method Summary
 String getContent()
          The HTML-formatted content, suitable for display.
 String getObjectType()
          The object type of this comment.
 String getOriginalContent()
          The content (text) as provided by the author, stored without any HTML formatting.
 Comment.PlusObject setContent(String content)
          The HTML-formatted content, suitable for display.
 Comment.PlusObject setObjectType(String objectType)
          The object type of this comment.
 Comment.PlusObject setOriginalContent(String originalContent)
          The content (text) as provided by the author, stored without any HTML formatting.
 
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

Comment.PlusObject

public Comment.PlusObject()
Method Detail

getContent

public String getContent()
The HTML-formatted content, suitable for display. The value returned may be null.


setContent

public Comment.PlusObject setContent(String content)
The HTML-formatted content, suitable for display. The value set may be null.


getObjectType

public String getObjectType()
The object type of this comment. Possible values are: - "comment" - A comment in reply to an activity. The value returned may be null.


setObjectType

public Comment.PlusObject setObjectType(String objectType)
The object type of this comment. Possible values are: - "comment" - A comment in reply to an activity. The value set may be null.


getOriginalContent

public String getOriginalContent()
The content (text) as provided by the author, stored without any HTML formatting. When creating or updating a comment, this value must be supplied as plain text in the request. The value returned may be null.


setOriginalContent

public Comment.PlusObject setOriginalContent(String originalContent)
The content (text) as provided by the author, stored without any HTML formatting. When creating or updating a comment, this value must be supplied as plain text in the request. The value set may be null.