module:model/WorkspaceItem

module:model/WorkspaceItem

new module:model/WorkspaceItem()

Source:

Constructs a new WorkspaceItem.
A workspaceItem (file type only) representing the file. This property is only returned in response to file specific GET call.

Members

(inner) callerAuthorization :module:model/WorkspaceUserAuthorization

Source:
Type:

(inner) contentType :String

Source:
Type:
  • String

(inner) created :String

Source:

The UTC DateTime when the workspace item was created.

Type:
  • String

(inner) createdById :String

Source:
Type:
  • String

(inner) createdByInformation :module:model/WorkspaceUser

Source:

Details about the user who created the workspace item.

Type:

(inner) extension :String

Source:
Type:
  • String

(inner) fileSize :String

Source:
Type:
  • String

(inner) fileUri :String

Source:
Type:
  • String

(inner) id :String

Source:
Type:
  • String

(inner) isPublic :String

Source:

If true, this supersedes need for bit mask permission with workspaceUserAuthorization

Type:
  • String

(inner) lastModified :String

Source:
Type:
  • String

(inner) lastModifiedById :String

Source:

Utc date and time the comment was last updated (can only be done by creator)

Type:
  • String

(inner) lastModifiedByInformation :module:model/WorkspaceUser

Source:

Details about the user who last modified the workspace item.

Type:

(inner) name :String

Source:

A simple string description of the item, such as a file name or a folder name.

Type:
  • String

(inner) pageCount :String

Source:
Type:
  • String

(inner) parentFolderId :String

Source:

The ID of the parent folder. This is the GUID of the parent folder, or the special value 'root' for the root folder.

Type:
  • String

(inner) parentFolderUri :String

Source:
Type:
  • String

(inner) sha256 :String

Source:
Type:
  • String

(inner) thumbHeight :String

Source:
Type:
  • String

(inner) thumbnail :module:model/Page

Source:
Type:

(inner) thumbWidth :String

Source:
Type:
  • String

(inner) type :String

Source:

The type of the workspace item. Valid values are file, folder.

Type:
  • String

(inner) uri :String

Source:
Type:
  • String

(inner) userAuthorization :module:model/WorkspaceUserAuthorization

Source:
Type:

Methods

(static) constructFromObject(data, obj) → {module:model/WorkspaceItem}

Source:

Constructs a WorkspaceItem from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj module:model/WorkspaceItem

Optional instance to populate.

Returns:

The populated WorkspaceItem instance.

Type
module:model/WorkspaceItem