Class: module:model/Folder

module:model/Folder(data, links, id, type, theData, obj)

new module:model/Folder(data, links, id, type, theData, obj)

Constructs a new Folder.

Parameters:
Name Type Description
data module:model/JsonApiResource
links module:model/JsonApiLinks
id String

resource id

type module:model/Folder.TypeEnum
theData Object

The plain JavaScript object bearing properties of interest.

obj module:model/Folder

Optional instance to populate.

Implements:
Source:

Members

(static) constructFromObject

Constructs a Folder 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:

(static, readonly) TypeEnum :String

Allowed values for the type property.

Type:
  • String
Properties:
Name Type Description
folders String

value: "folders"

Source:

(inner) attributes :module:model/FolderAttributes

Type:
Source:

(inner) data :module:model/JsonApiResource

Type:
Source:

(inner) id :String

resource id

Type:
  • String
Source:

(inner) included :Array.<module:model/JsonApiResource>

Type:
Source:

(inner) jsonapi :module:model/JsonApiVersionJsonapi

Type:
Source:
Type:
Source:

(inner) meta :module:model/JsonApiMeta

Type:
Source:

(inner) relationships :module:model/FolderRelationships

Type:
Source:

(inner) type :module:model/Folder.TypeEnum

Type:
Source: