Interface DatapointsMetadata

interface DatapointsMetadata {
    externalId?: string;
    id: number;
    instanceId?: CogniteInstanceId;
    isString: boolean;
    type?: TimeSeriesType;
    unit?: string;
}

Hierarchy (view full)

Properties

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.

isString: boolean

Whether or not the datapoints are string values. false for time series with 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