redfish_codegen/models/update_service/v1_11_3/
actions.rs1use crate::models;
4
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
7#[derive(derivative::Derivative)]
8#[derivative(Default)]
9pub struct Actions {
10 #[serde(rename = "#UpdateService.SimpleUpdate")]
11 #[serde(default, skip_serializing_if = "Option::is_none")]
12 pub update_service_simple_update: Option<models::update_service::v1_11_3::SimpleUpdate>,
13 #[serde(rename = "#UpdateService.StartUpdate")]
14 #[serde(default, skip_serializing_if = "Option::is_none")]
15 pub update_service_start_update: Option<models::update_service::v1_11_3::StartUpdate>,
16 #[serde(rename = "Oem")]
17 #[serde(default, skip_serializing_if = "Option::is_none")]
18 pub oem: Option<models::update_service::v1_11_3::OemActions>,
19}
20
21impl crate::Metadata<'static> for Actions {
22 const JSON_SCHEMA: &'static str = "UpdateService.v1_11_3.json";
23}