module:model/WorkspaceFolderContents

module:model/WorkspaceFolderContents

new module:model/WorkspaceFolderContents()

Source:

Constructs a new WorkspaceFolderContents.
Provides properties that describe the contents of a workspace folder.

Members

(inner) endPosition :String

Source:

The last position in the result set.

Type:
  • String

(inner) folder :module:model/WorkspaceItem

Source:

The folder from which to return items. You can enter either the folder name or folder ID.

Type:

(inner) items :Array.<module:model/WorkspaceItem>

Source:
Type:

(inner) parentFolders :Array.<module:model/WorkspaceItem>

Source:
Type:

(inner) resultSetSize :String

Source:

The number of results returned in this response.

Type:
  • String

(inner) startPosition :String

Source:

Starting position of the current result set.

Type:
  • String

(inner) totalSetSize :String

Source:

The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.

Type:
  • String

(inner) workspaceId :String

Source:

The id of the workspace, always populated.

Type:
  • String

Methods

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

Source:

Constructs a WorkspaceFolderContents 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/WorkspaceFolderContents

Optional instance to populate.

Returns:

The populated WorkspaceFolderContents instance.

Type
module:model/WorkspaceFolderContents