Class

EntityFile

EntityFile(data)

EntityFile Model
Constructor

# new EntityFile(data)

Model constructor
Parameters:
Name Type Description
data EntityFileLike

View Source model/EntityFile.js, line 7

Classes

EntityFile

Members

String

# createdBy

The id of the user who created this file.

View Source model/EntityFile.js, line 91

String

# createdOn

The date this file was created.

View Source model/EntityFile.js, line 83

String

# description

The description of the file.

View Source model/EntityFile.js, line 35

String

# entityId

The id of the linked entity.

View Source model/EntityFile.js, line 51

'projects' | 'companies' | 'tasks' | 'comments'

# entityType

The name of the linked entity type.

View Source model/EntityFile.js, line 67

String

# externalFileUrl

The file url of the external provider.

View Source model/EntityFile.js, line 139

String

# externalProvider

The external provider for the file. Like 'google' or 'onedrive'.

View Source model/EntityFile.js, line 131

String

# fileName

The name of the file.

View Source model/EntityFile.js, line 59

Array.<FileVersion>

# fileVersions

List of all versions.

View Source model/EntityFile.js, line 115

String

# id

The id of the file info.

View Source model/EntityFile.js, line 43

Boolean

# isCommentFile

Whether the file is related to a comment

View Source model/EntityFile.js, line 123

String

# mimeType

The MIME type of the file.

View Source model/EntityFile.js, line 75

String

# name

The user-specified name of the file.

View Source model/EntityFile.js, line 27

String

# updatedBy

The id of the user who last modified this file.

View Source model/EntityFile.js, line 107

String

# updatedOn

The date the file was last modified.

View Source model/EntityFile.js, line 99