Classes
Enumerations
Interfaces
TypeAliases

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": 64
    }
  ]
)

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: