Drive API v2 (revision 47)



com.google.api.services.drive.model
Class Comment.Context

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.Comment.Context
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>
Enclosing class:
Comment

public static final class Comment.Context
extends GenericJson

The context of the file which is being commented on.


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
Comment.Context()
           
 
Method Summary
 java.lang.String getType()
          The MIME type of the context snippet.
 java.lang.String getValue()
          Data representation of the segment of the file being commented on.
 Comment.Context setType(java.lang.String type)
          The MIME type of the context snippet.
 Comment.Context setValue(java.lang.String value)
          Data representation of the segment of the file being commented on.
 
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.Context

public Comment.Context()
Method Detail

getType

public java.lang.String getType()
The MIME type of the context snippet. The value returned may be null.


setType

public Comment.Context setType(java.lang.String type)
The MIME type of the context snippet. The value set may be null.


getValue

public java.lang.String getValue()
Data representation of the segment of the file being commented on. In the case of a text file for example, this would be the actual text that the comment is about. The value returned may be null.


setValue

public Comment.Context setValue(java.lang.String value)
Data representation of the segment of the file being commented on. In the case of a text file for example, this would be the actual text that the comment is about. The value set may be null.