redfish_codegen/models/redundancy/v1_4_1/
redundant_group.rs1use crate::models;
4
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
7#[derive(derivative::Derivative)]
8#[derivative(Default)]
9pub struct RedundantGroup {
10 #[serde(rename = "MaxSupportedInGroup")]
12 #[serde(default, skip_serializing_if = "Option::is_none")]
13 pub max_supported_in_group: Option<i64>,
14 #[serde(rename = "MinNeededInGroup")]
16 pub min_needed_in_group: i64,
17 #[serde(rename = "RedundancyGroup")]
19 pub redundancy_group: Vec<models::odata_v4::IdRef>,
20 #[serde(rename = "RedundancyGroup@odata.count")]
21 #[serde(default, skip_serializing_if = "Option::is_none")]
22 pub redundancy_group_odata_count: Option<models::odata_v4::Count>,
23 #[serde(rename = "RedundancyType")]
24 pub redundancy_type: models::redundancy::v1_4_1::RedundancyType,
25 #[serde(rename = "Status")]
26 pub status: models::resource::Status,
27}
28
29impl crate::Metadata<'static> for RedundantGroup {
30 const JSON_SCHEMA: &'static str = "Redundancy.v1_4_1.json";
31}