class DataPoints : JsonSerializable
Represents a set of DataPoints for a ManagedObject, which allows measurements captured by Cumulocity to be displayed more intuitively by prefacing them with unit labels, line colors etc.
class Value : JsonSerializable
Represents a single DataPoint value |
DataPoints(o: JSONObject)
Alternative constructor to allow JSON string representation to be converted to object You do not need to use this method, called implicitly by the ManagedObjectService class when fetching ManagedObjects from Cumulocity DataPoints()
Creates a new empty DataPoints holder |
val values: Map<String, DataPoints.Value>
Groups the data points by key |
fun toJSONString(): String
Allows this object type to converted to a JSON String You do not need to use this method directly, instead use the ManagedObjectService class |