use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
#[cfg_attr(feature = "utoipa", derive(utoipa::ToSchema))]
pub struct ExchangeOperationResponse {
#[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 = "exchangeOperation", skip_serializing_if = "Option::is_none")]
pub exchange_operation: Option<Box<models::ExchangeOperation>>,
}
impl ExchangeOperationResponse {
pub fn new() -> ExchangeOperationResponse {
ExchangeOperationResponse {
warnings: None,
problems: None,
exchange_operation: None,
}
}
}