use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
#[cfg_attr(feature = "utoipa", derive(utoipa::ToSchema))]
pub struct CoachLayoutResponse {
#[serde(rename = "warnings", skip_serializing_if = "Option::is_none")]
pub warnings: Option<Box<models::WarningCollection>>,
#[serde(rename = "problems", skip_serializing_if = "Option::is_none")]
pub problems: Option<Vec<models::Problem>>,
#[serde(rename = "coachLayout", skip_serializing_if = "Option::is_none")]
pub coach_layout: Option<Box<models::CoachLayout>>,
}
impl CoachLayoutResponse {
pub fn new() -> CoachLayoutResponse {
CoachLayoutResponse {
warnings: None,
problems: None,
coach_layout: None,
}
}
}