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 or Team Drive has been removed from this list of changes, for example by
deletion or loss of access.
|
TeamDrive |
getTeamDrive()
The updated state of the Team Drive.
|
String |
getTeamDriveId()
The ID of the Team Drive associated with this change.
|
DateTime |
getTime()
The time of this change (RFC 3339 date-time).
|
String |
getType()
The type of the change.
|
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 or Team Drive has been removed from this list of changes, for example by
deletion or loss of access.
|
Change |
setTeamDrive(TeamDrive teamDrive)
The updated state of the Team Drive.
|
Change |
setTeamDriveId(String teamDriveId)
The ID of the Team Drive associated with this change.
|
Change |
setTime(DateTime time)
The time of this change (RFC 3339 date-time).
|
Change |
setType(String type)
The type of the change.
|
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 TeamDrive getTeamDrive()
null for nonepublic Change setTeamDrive(TeamDrive teamDrive)
teamDrive - teamDrive or null for nonepublic String getTeamDriveId()
null for nonepublic Change setTeamDriveId(String teamDriveId)
teamDriveId - teamDriveId or null for nonepublic DateTime getTime()
null for nonepublic Change setTime(DateTime time)
time - time or null for nonepublic String getType()
null for nonepublic Change setType(String type)
type - type or null for nonepublic Change set(String fieldName, Object value)
set in class GenericJsonpublic Change clone()
clone in class GenericJson