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
/// ClusterFirmwareUpgradeItem : The settings necessary to start a firmware upgrade.

#[allow(unused_imports)]
use serde_json::Value;

#[derive(Debug, Serialize, Deserialize)]
pub struct ClusterFirmwareUpgradeItem {
    /// Exclude the specified devices in the firmware upgrade.
    #[serde(rename = "exclude_device")]
    pub exclude_device: Option<String>,
    /// Exclude the specified device type in the firmware upgrade.
    #[serde(rename = "exclude_type")]
    pub exclude_type: Option<String>,
    /// Include the specified devices in the firmware upgrade.
    #[serde(rename = "include_device")]
    pub include_device: Option<String>,
    /// Include the specified device type in the firmware upgrade.
    #[serde(rename = "include_type")]
    pub include_type: Option<String>,
    /// Do not burn the firmware.
    #[serde(rename = "no_burn")]
    pub no_burn: Option<bool>,
    /// Do not reboot the node after an upgrade
    #[serde(rename = "no_reboot")]
    pub no_reboot: Option<bool>,
    /// Do not verify the firmware upgrade after an upgrade.
    #[serde(rename = "no_verify")]
    pub no_verify: Option<bool>,
    /// The nodes scheduled for upgrade. Order in array determines queue position number. 'All' and null option will upgrade all nodes in <lnn> order.
    #[serde(rename = "nodes_to_upgrade")]
    pub nodes_to_upgrade: Option<Vec<i32>>,
}