/
node_status_batterystatus_node.go
56 lines (40 loc) · 1.57 KB
/
node_status_batterystatus_node.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
* Isilon SDK
*
* Isilon SDK - Language bindings for the OneFS API
*
* API version: 5
* Contact: sdk@isilon.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package isi_sdk_8_1_0
type NodeStatusBatterystatusNode struct {
// Error message, if the HTTP status returned from this node was not 200.
Error_ string `json:"error,omitempty"`
// Node ID of the node reporting this information.
Id int32 `json:"id,omitempty"`
// The last battery test time for battery 1.
LastTestTime1 string `json:"last_test_time1,omitempty"`
// The last battery test time for battery 2.
LastTestTime2 string `json:"last_test_time2,omitempty"`
// Logical node number of the node reporting this information.
Lnn int32 `json:"lnn,omitempty"`
// The next checkup for battery 1.
NextTestTime1 string `json:"next_test_time1,omitempty"`
// The next checkup for battery 2.
NextTestTime2 string `json:"next_test_time2,omitempty"`
// Node has battery status.
Present bool `json:"present,omitempty"`
// The result of the last battery test for battery 1.
Result1 string `json:"result1,omitempty"`
// The result of the last battery test for battery 2.
Result2 string `json:"result2,omitempty"`
// Status of the HTTP response from this node if not 200. If 200, this field does not appear.
Status int32 `json:"status,omitempty"`
// The status of battery 1.
Status1 string `json:"status1,omitempty"`
// The status of battery 2.
Status2 string `json:"status2,omitempty"`
// Node supports battery status.
Supported bool `json:"supported,omitempty"`
}