Drive API v2 (revision 30)
com.google.api.services.drive.model
Class Comment.Context
java.lang.Object
java.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.drive.model.Comment.Context
- All Implemented Interfaces:
- Cloneable, Map<String,Object>
- Enclosing class:
- Comment
public static final class Comment.Context
- extends GenericJson
The context of the file which is being commented on.
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Comment.Context
public Comment.Context()
getType
public String getType()
- The MIME type of the context snippet.
The value returned may be
null.
setType
public Comment.Context setType(String type)
- The MIME type of the context snippet.
The value set may be
null.
getValue
public 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(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.