ing
This commit is contained in:
parent
1d13feb9ce
commit
8fd9425dee
|
@ -8,12 +8,13 @@ import (
|
|||
)
|
||||
|
||||
type Metric struct {
|
||||
SensorID string `json:"sensorID,omitempty"`
|
||||
StartDate *util.Timestamp `json:"startDate,omitempty"`
|
||||
EndDate *util.Timestamp `json:"endDate,omitempty"`
|
||||
Status MetricStatusEnum `json:"status,omitempty"`
|
||||
Extra map[string]string `json:"extra,omitempty"`
|
||||
Data map[string]string `json:"data,omitempty"`
|
||||
SensorID string `json:"sensorID,omitempty"`
|
||||
StartDate *util.Timestamp `json:"startDate,omitempty"`
|
||||
EndDate *util.Timestamp `json:"endDate,omitempty"`
|
||||
Success bool `json:"success,omitempty"`
|
||||
// Status MetricStatusEnum `json:"status,omitempty"`
|
||||
// Extra map[string]string `json:"extra,omitempty"`
|
||||
Data map[string]string `json:"data,omitempty"`
|
||||
}
|
||||
|
||||
type MetricStatusEnum int
|
||||
|
|
Loading…
Reference in New Issue
Block a user