isilon/models/
node_drives_node_drive.rs

1#[allow(unused_imports)]
2use serde_json::Value;
3
4#[derive(Debug, Serialize, Deserialize)]
5pub struct NodeDrivesNodeDrive {
6    /// The name of the bay group this drive belongs to.
7    #[serde(rename = "bay_group")]
8    pub bay_group: Option<String>,
9    /// Numerical representation of this drive's bay.
10    #[serde(rename = "baynum")]
11    pub baynum: Option<i32>,
12    /// Number of blocks on this drive.
13    #[serde(rename = "blocks")]
14    pub blocks: Option<i32>,
15    /// The chassis number which contains this drive.
16    #[serde(rename = "chassis")]
17    pub chassis: Option<i32>,
18    /// This drive's device name.
19    #[serde(rename = "devname")]
20    pub devname: Option<String>,
21    /// Drive firmware information.
22    #[serde(rename = "firmware")]
23    pub firmware: Option <crate::models::NodeDrivesNodeDriveFirmware>,
24    /// Drive_d's handle representation for this drive
25    #[serde(rename = "handle")]
26    pub handle: Option<i32>,
27    /// String representtation of this drive's interface type.
28    #[serde(rename = "interface_type")]
29    pub interface_type: Option<String>,
30    /// This drive's logical drive number in IFS.
31    #[serde(rename = "lnum")]
32    pub lnum: Option<i32>,
33    /// String representation of this drive's physical location.
34    #[serde(rename = "locnstr")]
35    pub locnstr: Option<String>,
36    /// Size of a logical block on this drive.
37    #[serde(rename = "logical_block_length")]
38    pub logical_block_length: Option<i32>,
39    /// String representation of this drive's media type.
40    #[serde(rename = "media_type")]
41    pub media_type: Option<String>,
42    /// This drive's manufacturer and model.
43    #[serde(rename = "model")]
44    pub model: Option<String>,
45    /// This drive's current outstanding actions. For example, \"add\" or \"firmware_update\".
46    #[serde(rename = "pending_actions")]
47    pub pending_actions: Option<Vec<String>>,
48    /// Size of a physical block on this drive.
49    #[serde(rename = "physical_block_length")]
50    pub physical_block_length: Option<i32>,
51    /// Indicates whether this drive is physically present in the node.
52    #[serde(rename = "present")]
53    pub present: Option<bool>,
54    /// This drive's purpose in the DRV state machine.
55    #[serde(rename = "purpose")]
56    pub purpose: Option<String>,
57    /// Description of this drive's purpose.
58    #[serde(rename = "purpose_description")]
59    pub purpose_description: Option<String>,
60    /// Serial number for this drive.
61    #[serde(rename = "serial")]
62    pub serial: Option<String>,
63    /// This drive's state as presented to the UI.
64    #[serde(rename = "ui_state")]
65    pub ui_state: Option<String>,
66    /// The drive's 'worldwide name' from its NAA identifiers.
67    #[serde(rename = "wwn")]
68    pub wwn: Option<String>,
69    /// This drive's x-axis grid location.
70    #[serde(rename = "x_loc")]
71    pub x_loc: Option<i32>,
72    /// This drive's y-axis grid location.
73    #[serde(rename = "y_loc")]
74    pub y_loc: Option<i32>,
75}