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.Flags| Constructor and Description |
|---|
Change() |
| Modifier and Type | Method and Description |
|---|---|
Change |
clone() |
java.lang.Boolean |
getDeleted()
Whether the file or Team Drive has been removed from this list of changes, for example by
deletion or loss of access.
|
File |
getFile()
The updated state of the file.
|
java.lang.String |
getFileId()
The ID of the file associated with this change.
|
java.lang.Long |
getId()
The ID of the change.
|
java.lang.String |
getKind()
This is always drive#change.
|
com.google.api.client.util.DateTime |
getModificationDate()
The time of this modification.
|
java.lang.String |
getSelfLink()
A link back to this change.
|
TeamDrive |
getTeamDrive()
The updated state of the Team Drive.
|
java.lang.String |
getTeamDriveId()
The ID of the Team Drive associated with this change.
|
java.lang.String |
getType()
The type of the change.
|
Change |
set(java.lang.String fieldName,
java.lang.Object value) |
Change |
setDeleted(java.lang.Boolean deleted)
Whether the file or Team Drive has been removed from this list of changes, for example by
deletion or loss of access.
|
Change |
setFile(File file)
The updated state of the file.
|
Change |
setFileId(java.lang.String fileId)
The ID of the file associated with this change.
|
Change |
setId(java.lang.Long id)
The ID of the change.
|
Change |
setKind(java.lang.String kind)
This is always drive#change.
|
Change |
setModificationDate(com.google.api.client.util.DateTime modificationDate)
The time of this modification.
|
Change |
setSelfLink(java.lang.String selfLink)
A link back to this change.
|
Change |
setTeamDrive(TeamDrive teamDrive)
The updated state of the Team Drive.
|
Change |
setTeamDriveId(java.lang.String teamDriveId)
The ID of the Team Drive associated with this change.
|
Change |
setType(java.lang.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 java.lang.Boolean getDeleted()
null for nonepublic Change setDeleted(java.lang.Boolean deleted)
deleted - deleted or null for nonepublic File getFile()
null for nonepublic Change setFile(File file)
file - file or null for nonepublic java.lang.String getFileId()
null for nonepublic Change setFileId(java.lang.String fileId)
fileId - fileId or null for nonepublic java.lang.Long getId()
null for nonepublic Change setId(java.lang.Long id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic Change setKind(java.lang.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 java.lang.String getSelfLink()
null for nonepublic Change setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic TeamDrive getTeamDrive()
null for nonepublic Change setTeamDrive(TeamDrive teamDrive)
teamDrive - teamDrive or null for nonepublic java.lang.String getTeamDriveId()
null for nonepublic Change setTeamDriveId(java.lang.String teamDriveId)
teamDriveId - teamDriveId or null for nonepublic java.lang.String getType()
null for nonepublic Change setType(java.lang.String type)
type - type or null for nonepublic Change set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Change clone()
clone in class com.google.api.client.json.GenericJson