Cumulocity API Services / com.softwareag.jc.cumulocity.services.models / MeasurementSeries

MeasurementSeries

data class MeasurementSeries

Represents a series of measurements captured over a period of time that can be queried, created and deleted

Formal definition is given in Cumulocity REST API Guide

Types

Value

data class Value

Constructors

<init>

MeasurementSeries(o: JSONObject)MeasurementSeries(name: String, type: String, unit: String, values: List<MeasurementSeries.Value>)

Represents a series of measurements captured over a period of time that can be queried, created and deleted

Properties

name

val name: String

type

val type: String

unit

val unit: String

values

val values: List<MeasurementSeries.Value>

Companion Object Functions

_captureSeries

fun _captureSeries(o: JSONObject, label: String): String

_captureValues

fun _captureValues(o: JSONObject): List<MeasurementSeries.Value>