isilon/models/
node_state_servicelight_node.rs

1#[allow(unused_imports)]
2use serde_json::Value;
3
4#[derive(Debug, Serialize, Deserialize)]
5pub struct NodeStateServicelightNode {
6    /// The node service light state (True = on).
7    #[serde(rename = "enabled")]
8    pub enabled: bool,
9    /// Error message, if the HTTP status returned from this node was not 200.
10    #[serde(rename = "error")]
11    pub error: Option<String>,
12    /// Node ID of the node reporting this information.
13    #[serde(rename = "id")]
14    pub id: Option<i32>,
15    /// Logical node number of the node reporting this information.
16    #[serde(rename = "lnn")]
17    pub lnn: Option<i32>,
18    /// This node has a service light.
19    #[serde(rename = "present")]
20    pub present: Option<bool>,
21    /// Status of the HTTP response from this node if not 200.  If 200, this field does not appear.
22    #[serde(rename = "status")]
23    pub status: Option<i32>,
24    /// This node supports a service light.
25    #[serde(rename = "supported")]
26    pub supported: Option<bool>,
27    /// The node service light state is valid (False = Error).
28    #[serde(rename = "valid")]
29    pub valid: Option<bool>,
30}