use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
#[cfg_attr(feature = "utoipa", derive(utoipa::ToSchema))]
pub struct StopCallStatus {
#[serde(rename = "order", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub order: Option<Option<i32>>,
#[serde(rename = "requestStop", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub request_stop: Option<Option<bool>>,
#[serde(rename = "unplannedStop", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub unplanned_stop: Option<Option<bool>>,
#[serde(rename = "notServicedStop", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub not_serviced_stop: Option<Option<bool>>,
#[serde(rename = "noBoardingAtStop", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub no_boarding_at_stop: Option<Option<bool>>,
#[serde(rename = "noAlightingAtStop", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub no_alighting_at_stop: Option<Option<bool>>,
#[serde(rename = "isBorderPoint", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub is_border_point: Option<Option<bool>>,
}
impl StopCallStatus {
pub fn new() -> StopCallStatus {
StopCallStatus {
order: None,
request_stop: None,
unplanned_stop: None,
not_serviced_stop: None,
no_boarding_at_stop: None,
no_alighting_at_stop: None,
is_border_point: None,
}
}
}