redfish-codegen 0.3.1

An unopinionated translation of the Redfish specification into Rust.
Documentation
// Generated by redfish-codegen. Do not modify.

use crate::models;

/// The available actions for this resource.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[derive(derivative::Derivative)]
#[derivative(Default)]
pub struct Actions {
    #[serde(rename = "#Bios.ChangePassword")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub bios_change_password: Option<models::bios::v1_2_0::ChangePassword>,
    #[serde(rename = "#Bios.ResetBios")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub bios_reset_bios: Option<models::bios::v1_2_0::ResetBios>,
    #[serde(rename = "Oem")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub oem: Option<models::bios::v1_2_0::OemActions>,
}

impl crate::Metadata<'static> for Actions {
    const JSON_SCHEMA: &'static str = "Bios.v1_2_0.json";
}