redfish_codegen/models/manifest/v1_0_0/
manifest.rs

1// Generated by redfish-codegen. Do not modify.
2
3use crate::models;
4
5/// This type describes a manifest containing a set of requests to be fulfilled.  The manifest contains a set of stanzas, where each stanza describes a single request.
6#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
7#[derive(derivative::Derivative)]
8#[derivative(Default)]
9pub struct Manifest {
10    /// The description of this manifest.
11    #[serde(rename = "Description")]
12    #[serde(default, skip_serializing_if = "Option::is_none")]
13    pub description: Option<String>,
14    #[serde(rename = "Expand")]
15    #[serde(default, skip_serializing_if = "Option::is_none")]
16    pub expand: Option<models::manifest::v1_0_0::Expand>,
17    /// An array of stanzas that describe the requests specified by this manifest.
18    #[serde(rename = "Stanzas")]
19    #[serde(default, skip_serializing_if = "Option::is_none")]
20    pub stanzas: Option<Vec<models::manifest::v1_0_0::Stanza>>,
21    /// The date and time when the manifest was created.
22    #[serde(rename = "Timestamp")]
23    #[serde(default, skip_serializing_if = "Option::is_none")]
24    pub timestamp: Option<String>,
25}
26
27impl crate::Metadata<'static> for Manifest {
28    const JSON_SCHEMA: &'static str = "Manifest.v1_0_0.json";
29}