redfish_codegen/models/software_inventory/v1_8_0/
additional_versions.rs

1// Generated by redfish-codegen. Do not modify.
2
3use crate::models;
4
5/// Additional versions.
6#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
7#[derive(derivative::Derivative)]
8#[derivative(Default)]
9pub struct AdditionalVersions {
10    /// The bootloader version contained in this software, such as U-Boot or UEFI.
11    #[serde(rename = "Bootloader")]
12    #[serde(default, skip_serializing_if = "Option::is_none")]
13    pub bootloader: Option<String>,
14    /// The kernel version contained in this software.
15    #[serde(rename = "Kernel")]
16    #[serde(default, skip_serializing_if = "Option::is_none")]
17    pub kernel: Option<String>,
18    /// The microcode version contained in this software, such as processor microcode.
19    #[serde(rename = "Microcode")]
20    #[serde(default, skip_serializing_if = "Option::is_none")]
21    pub microcode: Option<String>,
22    /// The operating system name of this software.
23    #[serde(rename = "OSDistribution")]
24    #[serde(default, skip_serializing_if = "Option::is_none")]
25    pub os_distribution: Option<String>,
26    #[serde(rename = "Oem")]
27    #[serde(default, skip_serializing_if = "Option::is_none")]
28    pub oem: Option<models::resource::Oem>,
29}
30
31impl crate::Metadata<'static> for AdditionalVersions {
32    const JSON_SCHEMA: &'static str = "SoftwareInventory.v1_8_0.json";
33}