#[allow(unused_imports)]
use serde_json::Value;
#[derive(Debug, Serialize, Deserialize)]
pub struct NodeStateServicelightNode {
/// The node service light state (True = on).
#[serde(rename = "enabled")]
pub enabled: bool,
/// Error message, if the HTTP status returned from this node was not 200.
#[serde(rename = "error")]
pub error: Option<String>,
/// Node ID of the node reporting this information.
#[serde(rename = "id")]
pub id: Option<i32>,
/// Logical node number of the node reporting this information.
#[serde(rename = "lnn")]
pub lnn: Option<i32>,
/// This node has a service light.
#[serde(rename = "present")]
pub present: Option<bool>,
/// Status of the HTTP response from this node if not 200. If 200, this field does not appear.
#[serde(rename = "status")]
pub status: Option<i32>,
/// This node supports a service light.
#[serde(rename = "supported")]
pub supported: Option<bool>,
/// The node service light state is valid (False = Error).
#[serde(rename = "valid")]
pub valid: Option<bool>,
}