Revision class

The metadata for a revision to a file.

Constructors

Revision()
Revision.fromJson(Map _json)

Properties

Links for exporting Google Docs to specific formats.
read / write
id ↔ String
The ID of the revision.
read / write
keepForever ↔ bool
Whether to keep this revision forever, even if it is no longer the head revision. If not set, the revision will be automatically purged 30 days after newer content is uploaded. This can be set on a maximum of 200 revisions for a file. This field is only applicable to files with binary content in Drive.
read / write
kind ↔ String
Identifies what kind of resource this is. Value: the fixed string "drive#revision".
read / write
lastModifyingUser User
The last user to modify this revision.
read / write
md5Checksum ↔ String
The MD5 checksum of the revision's content. This is only applicable to files with binary content in Drive.
read / write
mimeType ↔ String
The MIME type of the revision.
read / write
modifiedTime ↔ DateTime
The last time the revision was modified (RFC 3339 date-time).
read / write
originalFilename ↔ String
The original filename used to create this revision. This is only applicable to files with binary content in Drive.
read / write
publishAuto ↔ bool
Whether subsequent revisions will be automatically republished. This is only applicable to Google Docs.
read / write
published ↔ bool
Whether this revision is published. This is only applicable to Google Docs.
read / write
publishedOutsideDomain ↔ bool
Whether this revision is published outside the domain. This is only applicable to Google Docs.
read / write
size ↔ String
The size of the revision's content in bytes. This is only applicable to files with binary content in Drive.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited