1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#[allow(unused_imports)]
use serde_json::Value;

#[derive(Debug, Serialize, Deserialize)]
pub struct ClusterFirmwareStatusNodeDevice {
    /// The name of the device.
    #[serde(rename = "device")]
    pub device: Option<String>,
    /// Is the firmware up-to-date for this component.
    #[serde(rename = "mismatch")]
    pub mismatch: Option<bool>,
    /// The target firmware version.
    #[serde(rename = "target_version")]
    pub target_version: Option<String>,
    /// The device type.
    #[serde(rename = "type")]
    pub _type: Option<String>,
    /// The current state of the firmware upgrade for this component. One of the following values: 'queued', 'upgrading', 'upgraded', 'error'. or 'null'.'null' indicates that the upgrade status is unknown.
    #[serde(rename = "upgrade_status")]
    pub upgrade_status: Option<String>,
    /// The current firmware version.
    #[serde(rename = "version")]
    pub version: Option<String>,
}