redfish_codegen/models/chassis/v1_23_0/
reset_request_body.rs

1// Generated by redfish-codegen. Do not modify.
2
3use crate::models;
4
5/// This action resets the chassis.  Additionally, it could reset systems or other contained resources depending on the ResetType used to invoke this action.
6#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
7#[derive(derivative::Derivative)]
8#[derivative(Default)]
9pub struct ResetRequestBody {
10    #[serde(rename = "ResetType")]
11    #[serde(default, skip_serializing_if = "Option::is_none")]
12    pub reset_type: Option<models::resource::ResetType>,
13}
14
15impl crate::Metadata<'static> for ResetRequestBody {
16    const JSON_SCHEMA: &'static str = "Chassis.v1_23_0.json";
17}