new MetricSupplierResponse(): MetricSupplierResponse
1 2const metricSupplierResponse = new MetricSupplierResponse()
Property Name | Type | Description |
---|---|---|
error | String | |
metricValues | Array<MetricValue> |
addMetricValues(metricValues: Array<MetricValue>): MetricSupplierResponse
1 2const resp = metricSupplierResponse.addMetricValues( [ { "timestamp": "string", "value": 64 } ] )
build(): MetricSupplierResult
1 2const resp = metricSupplierResponse.build()
validate(): Void
1 2const resp = metricSupplierResponse.validate()
validateTimestamps(): Void
1 2const resp = metricSupplierResponse.validateTimestamps()
Rate this page: