Class: SDKItem

sdkApi/interfaces/entities/iItem.SDKItem

Represents an item instance within the SDK.

Implements

Implements

Table of contents

Constructors

Properties

Constructors

constructor

new SDKItem(item)

Creates an instance of SDKItem.

Parameters

Name Type Description
item Partial<SDKItem> The item properties.

Properties

annotated

annotated: boolean | "discarded"

Indicates whether the item has been annotated or discarded.

Implementation of

IItem.annotated


annotations

annotations: string

The URL of the Item's annotations.

Implementation of

IItem.annotations


createdAt

createdAt: Date

The date and time the item was created.

Implementation of

IItem.createdAt


creator

creator: string

The creator of the item.

Implementation of

IItem.creator


dataset

dataset: string

The url of the dataset the item belongs to.


datasetId

datasetId: string

The ID of the dataset the item belongs to.

Implementation of

IItem.datasetId


description

Optional description: string

Item description.


dir

dir: string

The directory the item is located in.

Implementation of

IItem.dir


executions

Optional executions: SDKFunctionExecution[]

The list of function executions associated with the item.


filename

filename: string

The filename of the item.

Implementation of

IItem.filename


id

id: string

The unique ID of the item.

Implementation of

IItem.id


metadata

metadata: any

The metadata associated with the item.

Implementation of

IItem.metadata


name

name: string

The name of the item.

Implementation of

IItem.name


stream

stream: string

The URL of the Item's stream.

Implementation of

IItem.stream


thumbnail

thumbnail: string

The URL of the item's thumbnail image.

Implementation of

IItem.thumbnail


type

type: "file" | "dir"

The type of the item, either 'file' or 'dir'.

Implementation of

IItem.type


url

url: string

The URL of the item.

Implementation of

IItem.url