Hierarchy

Index

Constructors

constructor

Properties

created

created: Date

Time of creation of this Label in ISO 8601 UTC date/time format. Example; "2022-11-08T08:41:01.657916Z".

metadata

metadata: any

Custom dictionary keys/values returned for use by clients.

This Label Metadata object is created using the API endpoint /datalabels/labels/<label name>/metadata/create and is linked to the Label. So anytime the Label Metadata name is referenced in requests, the responses will also include the Label metadata.

name

name: string

Unique identifier name for the Label.

This can only contain only lowercase alphanumeric characters. The ., _ and - characters are also allowed to separate words instead of a space BUT can not be at the beginning or end of the name.

title

title: string

Display name (title) of the Label.

updated

updated: Date

Time of modifying any variable of this Label in ISO 8601 UTC date/time format. Example; "2022-11-08T08:41:01.657916Z".

Methods

clone

getClass

  • getClass(): Function

mapping

  • mapping(): {}

serializeArray

  • serializeArray(obj: any[]): Object

serializeObject

  • serializeObject(obj: any): any

serializeObjectInstance

  • serializeObjectInstance(obj: Object): Object

stringify

  • stringify(): string

toJSONObject

  • toJSONObject(): Object