Hierarchy

  • Model
    • LabelMetadataItem

Index

Constructors

constructor

Properties

created

created: Date

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

labelName

labelName: string

This is the name from the Label variable which can be created with the Kelvin API /datalabels/labels/create.

If the Label name does not exist, it will be automatically created.

name

name: string

Unique identifier name for the Label Metadata.

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.

payload

payload: any

Custom JSON object defined by you.

This can be any valid JSON structure. For example this is valid

{
  "key1": "A string here",
  "key2": 88,
  "key3": {
        "subkey1": "Another String",
        "subkey2": true,
    }
}

updated

updated: Date

Time of modifying any variable of this Kelvin Data Labels in ISO 8601 UTC date/time format. Example; "2022-07-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