use crate::models;
use serde::{Deserialize, Serialize};
#[serde_with::serde_as]
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct WebsocketResponseNotification {
#[serde(rename = "notificationId")]
pub notification_id: String,
#[serde(rename = "receiverId")]
pub receiver_id: String,
#[serde(rename = "responseId")]
pub response_id: String,
}
impl WebsocketResponseNotification {
pub fn new(
notification_id: String,
receiver_id: String,
response_id: String,
) -> WebsocketResponseNotification {
WebsocketResponseNotification {
notification_id,
receiver_id,
response_id,
}
}
}