Classes

Rate this page:

MetricSupplierResponse

Constructors

new MetricSupplierResponse(): MetricSupplierResponse

1
2
const metricSupplierResponse = new MetricSupplierResponse()

Properties

Property NameTypeDescription
errorString
metricValuesArray<MetricValue>

Methods

AddMetricValues

addMetricValues(metricValues: Array<MetricValue>): MetricSupplierResponse

1
2
const resp = metricSupplierResponse.addMetricValues(
  [
    {
      "timestamp": "string",
      "value": 73
    }
  ]
)

Build

build(): MetricSupplierResult

1
2
const resp = metricSupplierResponse.build()

Validate

validate(): Void

1
2
const resp = metricSupplierResponse.validate()

ValidateTimestamps

validateTimestamps(): Void

1
2
const resp = metricSupplierResponse.validateTimestamps()

Rate this page: