Class: module:model/FolderAttributes

module:model/FolderAttributes(name, displayName, objectCount, extension, theData, obj)

new module:model/FolderAttributes(name, displayName, objectCount, extension, theData, obj)

Constructs a new FolderAttributes.

Parameters:
Name Type Description
name String

filename used when synced to local disk

displayName String

displayable name of the folder

objectCount Integer

number of contained sub-folders and items

extension module:model/BaseAttributesExtensionObject
theData Object

The plain JavaScript object bearing properties of interest.

obj module:model/FolderAttributes

Optional instance to populate.

Source:

Members

(static) constructFromObject

Constructs a FolderAttributes 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.

Source:

(inner) displayName :String

displayable name of the folder

Type:
  • String
Source:

(inner) extension :module:model/BaseAttributesExtensionObject

Type:
Source:

(inner) name :String

filename used when synced to local disk

Type:
  • String
Source:

(inner) objectCount :Integer

number of contained sub-folders and items

Type:
  • Integer
Source: