Hierarchy

Index

Constructors

constructor

Properties

createdBy

createdBy: string

Who created the Kelvin Control Change.

For a user this will normally be a user name or user email address and for a workload it will be the workload's unique name.

createdType

createdType: string

Type of process that created the Kelvin Control Change.

There are two types; user which is a normal user registered on the Kelvin Platform or workload which is an automated process like a Kelvin Rule or from a program in a Kelvin App.

id

id: string

Unique identifier id for the Kelvin Control Change request.

lastState

lastState: string

The current payload value of the Kelvin Asset / Kelvin Metric pair before the new payload is delivered.

payload

payload: any

The new value payload to send to the Kelvin Asset / Kelvin Metric pair.

resource

resource: string

An internal Kelvin parameter

source

source: string

An internal Kelvin parameter

timestamp

timestamp: Date

Time when created_by sent the Kelvin Control Change request to the Kelvin Platform. The date-time is in ISO 8601 UTC date/time format. Example; "2022-08-22T08:41:01.657916Z".

traceId

traceId: string

This is for internal purposes and is the same as the id.

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