public final class Change
extends com.google.api.client.json.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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Change() |
| Modifier and Type | Method and Description |
|---|---|
Change |
clone() |
String |
getChangeType()
The type of the change.
|
Boolean |
getDeleted()
Whether the file or shared drive has been removed from this list of changes, for example by
deletion or loss of access.
|
Drive |
getDrive()
The updated state of the shared drive.
|
String |
getDriveId()
The ID of the shared drive associated with this change.
|
File |
getFile()
The updated state of the file.
|
String |
getFileId()
The ID of the file associated with this change.
|
Long |
getId()
The ID of the change.
|
String |
getKind()
This is always drive#change.
|
com.google.api.client.util.DateTime |
getModificationDate()
The time of this modification.
|
String |
getSelfLink()
A link back to this change.
|
TeamDrive |
getTeamDrive()
Deprecated - use drive instead.
|
String |
getTeamDriveId()
Deprecated - use driveId instead.
|
String |
getType()
Deprecated - use changeType instead.
|
Change |
set(String fieldName,
Object value) |
Change |
setChangeType(String changeType)
The type of the change.
|
Change |
setDeleted(Boolean deleted)
Whether the file or shared drive has been removed from this list of changes, for example by
deletion or loss of access.
|
Change |
setDrive(Drive drive)
The updated state of the shared drive.
|
Change |
setDriveId(String driveId)
The ID of the shared drive associated with this change.
|
Change |
setFile(File file)
The updated state of the file.
|
Change |
setFileId(String fileId)
The ID of the file associated with this change.
|
Change |
setId(Long id)
The ID of the change.
|
Change |
setKind(String kind)
This is always drive#change.
|
Change |
setModificationDate(com.google.api.client.util.DateTime modificationDate)
The time of this modification.
|
Change |
setSelfLink(String selfLink)
A link back to this change.
|
Change |
setTeamDrive(TeamDrive teamDrive)
Deprecated - use drive instead.
|
Change |
setTeamDriveId(String teamDriveId)
Deprecated - use driveId instead.
|
Change |
setType(String type)
Deprecated - use changeType instead.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getChangeType()
null for nonepublic Change setChangeType(String changeType)
changeType - changeType or null for nonepublic Boolean getDeleted()
null for nonepublic Change setDeleted(Boolean deleted)
deleted - deleted or null for nonepublic Drive getDrive()
null for nonepublic Change setDrive(Drive drive)
drive - drive or null for nonepublic String getDriveId()
null for nonepublic Change setDriveId(String driveId)
driveId - driveId or null for nonepublic 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 Long getId()
null for nonepublic String getKind()
null for nonepublic Change setKind(String kind)
kind - kind or null for nonepublic com.google.api.client.util.DateTime getModificationDate()
null for nonepublic Change setModificationDate(com.google.api.client.util.DateTime modificationDate)
modificationDate - modificationDate or null for nonepublic String getSelfLink()
null for nonepublic Change setSelfLink(String selfLink)
selfLink - selfLink 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 String getType()
null for nonepublic Change setType(String type)
type - type or null for nonepublic Change set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Change clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.