public final class Change extends GenericJson
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-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Change() |
| Modifier and Type | Method and Description |
|---|---|
Change |
clone() |
File |
getFile()
The updated state of the file.
|
String |
getFileId()
The ID of the file which has changed.
|
String |
getKind()
Identifies what kind of resource this is.
|
Boolean |
getRemoved()
Whether the file has been removed from the view of the changes list, for example by deletion or
lost access.
|
DateTime |
getTime()
The time of this change (RFC 3339 date-time).
|
Change |
set(String fieldName,
Object value) |
Change |
setFile(File file)
The updated state of the file.
|
Change |
setFileId(String fileId)
The ID of the file which has changed.
|
Change |
setKind(String kind)
Identifies what kind of resource this is.
|
Change |
setRemoved(Boolean removed)
Whether the file has been removed from the view of the changes list, for example by deletion or
lost access.
|
Change |
setTime(DateTime time)
The time of this change (RFC 3339 date-time).
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic File getFile()
null for nonepublic Change setFile(File file)
file - file or null for nonepublic String getFileId()
null for nonepublic Change setFileId(String fileId)
fileId - fileId or null for nonepublic String getKind()
null for nonepublic Change setKind(String kind)
kind - kind or null for nonepublic Boolean getRemoved()
null for nonepublic Change setRemoved(Boolean removed)
removed - removed or null for nonepublic DateTime getTime()
null for nonepublic Change setTime(DateTime time)
time - time or null for nonepublic Change set(String fieldName, Object value)
set in class GenericJsonpublic Change clone()
clone in class GenericJson