Hierarchy

Index

Constructors

constructor

Properties

assetName

assetName: string

Unique identifier name of the <a href="https://docs.kelvininc.com/latest/kelvin-overview/kelvin-platform/kelvin-assets/\" target="_blank">Kelvin Asset.

insertionTimestamp

insertionTimestamp: Date

Time when the payload data was recorded in the Kelvin Platform in ISO 8601 UTC date/time format. Example; "2022-07-08T08:41:01.657916Z".

name

name: string

Unique identifier name for the Kelvin Metric.

payload

payload: any

The actual payload of information saved for the Kelvin Assets / Kelvin Metric pair.

The standard payload will look like this

{
  "payload": {
        "value": 88
    }
}

timestamp

timestamp: Date

Time when the payload data was created at the source 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