use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum SentNotificationDetails {
NotificationDetailEmpty(serde_json::Value),
NotificationDetailBoop(models::NotificationDetailBoop),
NotificationDetailInvite(models::NotificationDetailInvite),
NotificationDetailInviteResponse(models::NotificationDetailInviteResponse),
NotificationDetailRequestInvite(models::NotificationDetailRequestInvite),
NotificationDetailRequestInviteResponse(models::NotificationDetailRequestInviteResponse),
NotificationDetailVoteToKick(models::NotificationDetailVoteToKick),
}
impl Default for SentNotificationDetails {
fn default() -> Self {
Self::NotificationDetailEmpty(Default::default())
}
}