redfish_codegen/models/volume/v1_9_0/initialize.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4/// This action is used to prepare the contents of the volume for use by the system. If InitializeMethod is not specified in the request body, but the property InitializeMethod is specified, the property InitializeMethod value should be used. If neither is specified, the InitializeMethod should be Foreground.
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6#[derive(derivative::Derivative)]
7#[derivative(Default)]
8pub struct Initialize {
9 /// Link to invoke action
10 #[serde(default, skip_serializing_if = "Option::is_none")]
11 pub target: Option<String>,
12 /// Friendly action name
13 #[serde(default, skip_serializing_if = "Option::is_none")]
14 pub title: Option<String>,
15}
16
17impl crate::Metadata<'static> for Initialize {
18 const JSON_SCHEMA: &'static str = "Volume.v1_9_0.json";
19}