/
node_state_readonly_extended.go
33 lines (25 loc) · 1.24 KB
/
node_state_readonly_extended.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
/*
* 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
// Node readonly state.
type NodeStateReadonlyExtended struct {
// The current read-only mode allowed status for the node.
Allowed bool `json:"allowed,omitempty"`
// The current read-only user mode status for the node. NOTE: If read-only mode is currently disallowed for this node, it will remain read/write until read-only mode is allowed again. This value only sets or clears any user-specified requests for read-only mode. If the node has been placed into read-only mode by the system, it will remain in read-only mode until the system conditions which triggered read-only mode have cleared.
Enabled bool `json:"enabled,omitempty"`
// The current read-only mode status for the node.
Mode bool `json:"mode,omitempty"`
// The current read-only mode status description for the node.
Status string `json:"status,omitempty"`
// The read-only state values are valid (False = Error).
Valid bool `json:"valid,omitempty"`
// The current read-only value (enumerated bitfield) for the node.
Value int32 `json:"value,omitempty"`
}