Interface StateDatapoints

interface StateDatapoints {
    datapoints: StateDatapoint[];
    externalId?: string;
    id: number;
    instanceId?: CogniteInstanceId;
    isStep?: boolean;
    isString: false;
    nextCursor?: string;
    type?: "state";
    unit?: string;
}

Hierarchy (view full)

Properties

datapoints: StateDatapoint[]

The list of datapoints

externalId?: string

External id of the timeseries the datapoints belong to.

id: number
instanceId?: CogniteInstanceId

Instance id of the timeseries the datapoints belong to in Cognite Data Modeling.

isStep?: boolean

Whether the timeseries is a step series or not

isString: false

Whether or not the datapoints are string values. false for time series with type state.

nextCursor?: string
type?: "state"

The type of the time series. Use this, rather than isString, to tell numeric, string and state datapoints apart.

unit?: string

Name of the physical unit of the time series