use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct NotificationSchemeEvent {
#[serde(rename = "event", skip_serializing_if = "Option::is_none")]
pub event: Option<Box<models::NotificationEvent>>,
#[serde(rename = "notifications", skip_serializing_if = "Option::is_none")]
pub notifications: Option<Vec<models::EventNotification>>,
}
impl NotificationSchemeEvent {
pub fn new() -> NotificationSchemeEvent {
NotificationSchemeEvent {
event: None,
notifications: None,
}
}
}