Drive API v2 (revision 47)
com.google.api.services.drive.model
Class Comment.Context
java.lang.Object
java.util.AbstractMap<java.lang.String,java.lang.Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
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 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> |
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 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 |
Comment.Context
public Comment.Context()
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
.