File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,14 +58,25 @@ type Measurement struct {
5858}
5959
6060type MeasurementJSON struct {
61- Id string `json:"id"`
62- Name string `json:"name"`
63- Type string `json:"type"`
64- PodUnits string `json:"podUnits"`
65- DisplayUnits string `json:"displayUnits"`
66- Below * float64 `json:"below"`
67- Above * float64 `json:"above"`
68- EnumValues []string `json:"enumValues"`
61+ Id string `json:"id"`
62+ Name string `json:"name"`
63+ Type string `json:"type"`
64+ PodUnits string `json:"podUnits"`
65+ DisplayUnits string `json:"displayUnits"`
66+ Below BelowOrAbove `json:"below"`
67+ Above BelowOrAbove `json:"above"`
68+ OutOfRange OutOfRange `json:"out_of_range"`
69+ EnumValues []string `json:"enumValues"`
70+ }
71+
72+ type BelowOrAbove struct {
73+ Safe * float64 `json:"safe"`
74+ Warning * float64 `json:"warning"`
75+ }
76+
77+ type OutOfRange struct {
78+ Safe []* float64 `json:"safe"`
79+ Warning []* float64 `json:"warning"`
6980}
7081
7182type Range struct {
You can’t perform that action at this time.
0 commit comments