use crate::models;
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[derive(derivative::Derivative)]
#[derivative(Default)]
pub struct RedundantGroup {
#[serde(rename = "MaxSupportedInGroup")]
#[serde(default, skip_serializing_if = "Option::is_none")]
pub max_supported_in_group: Option<i64>,
#[serde(rename = "MinNeededInGroup")]
pub min_needed_in_group: i64,
#[serde(rename = "RedundancyGroup")]
pub redundancy_group: Vec<models::odata_v4::IdRef>,
#[serde(rename = "RedundancyGroup@odata.count")]
#[serde(default, skip_serializing_if = "Option::is_none")]
pub redundancy_group_odata_count: Option<models::odata_v4::Count>,
#[serde(rename = "RedundancyType")]
pub redundancy_type: models::redundancy::v1_4_1::RedundancyType,
#[serde(rename = "Status")]
pub status: models::resource::Status,
}
impl crate::Metadata<'static> for RedundantGroup {
const JSON_SCHEMA: &'static str = "Redundancy.v1_4_1.json";
}