Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Record

A record represents an entry in a dataset that needs labeling.

Properties

compartmentId

compartmentId: string

The OCID of the compartment for the task.

datasetId

datasetId: string

The OCID of the dataset to associate the record with.

Optional definedTags

definedTags: undefined | object

The defined tags for this resource. Each key is predefined and scoped to a namespace. For example: {@code {"foo-namespace": {"bar-key": "value"}}}

Optional freeformTags

freeformTags: undefined | object

A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {@code {"bar-key": "value"}}

id

id: string

The OCID of the record.

isLabeled

isLabeled: boolean

Whether or not the record has been labeled and has associated annotations.

lifecycleState

lifecycleState: LifecycleState

The lifecycle state of the record. ACTIVE - The record is active and ready for labeling. INACTIVE - The record has been marked as inactive and should not be used for labeling. DELETED - The record has been deleted and is no longer available for labeling.

name

name: string

The name is created by the user. It is unique and immutable.

Optional recordMetadata

sourceDetails

timeCreated

timeCreated: Date

The date and time the resource was created, in the timestamp format defined by RFC3339.

timeUpdated

timeUpdated: Date

The date and time the resource was updated, in the timestamp format defined by RFC3339.

Functions

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Record): object

getJsonObj

  • getJsonObj(obj: Record): object