Class: SDKItem
entities.SDKItem
Represents an item instance within the SDK.
Implements
Table of contents
Constructors
Properties
- annotated
- annotations
- createdAt
- creator
- dataset
- datasetId
- dir
- executions
- filename
- id
- metadata
- name
- stream
- thumbnail
- type
- url
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.
annotations
• annotations: string
The URL of the Item's annotations.
createdAt
• createdAt: Date
The date and time the item was created.
creator
• creator: string
The creator of the item.
dataset
• dataset: string
The url of the dataset the item belongs to.
datasetId
• datasetId: string
The ID of the dataset the item belongs to.
dir
• dir: string
The directory the item is located in.
executions
• Optional
executions: SDKFunctionExecution
[]
The list of function executions associated with the item.
filename
• filename: string
The filename of the item.
id
• id: string
The unique ID of the item.
metadata
• metadata: any
The metadata associated with the item.
name
• name: string
The name of the item.
stream
• stream: string
The URL of the Item's stream.
thumbnail
• thumbnail: string
The URL of the item's thumbnail image.
type
• type: "file"
| "dir"
The type of the item, either 'file' or 'dir'.
url
• url: string
The URL of the item.