GoogleDriveElement

com.github.cloudfiles.gdrive.GoogleDriveModel.GoogleDriveElement
trait GoogleDriveElement extends Element[String]

A trait implementing basic functionality required by the GoogleDrive implementations for ''FileSystem'' files and folders.

This trait expect that the underlying data is available as a File object. It implements the basic properties by delegating to this object.

Attributes

Graph
Supertypes
trait Element[String]
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

Returns the underlying ''File'' that is represented by this element.

Returns the underlying ''File'' that is represented by this element.

Attributes

Returns

the underlying Google ''File'' object

Concrete methods

override def createdAt: Instant

Returns the date when this element has been created.

Returns the date when this element has been created.

Attributes

Returns

the creation date of this element

Definition Classes
Element
override def description: Option[String]

Returns the description of this element. Not all file systems support such a description, and users typically do not provide one; therefore, this is an ''Option'' and can be ''None''.

Returns the description of this element. Not all file systems support such a description, and users typically do not provide one; therefore, this is an ''Option'' and can be ''None''.

Attributes

Returns

the optional description of this element

Definition Classes
Element
override def id: String

Returns the ID of this element. Via this ID the element can be resolved, e.g. to obtain its metadata or download it (if possible).

Returns the ID of this element. Via this ID the element can be resolved, e.g. to obtain its metadata or download it (if possible).

Attributes

Returns

the ID of this element

Definition Classes
Element
override def lastModifiedAt: Instant

Returns the date of the last modification of this element.

Returns the date of the last modification of this element.

Attributes

Returns

the date of last modification

Definition Classes
Element
override def name: String

Returns the name of this element. The name is typically displayed to the end user to identify this element.

Returns the name of this element. The name is typically displayed to the end user to identify this element.

Attributes

Returns

the name of this element

Definition Classes
Element