/*
* enbbox API
*
* Notification infrastructure API — open-source alternative to Novu/Courier
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TopicRecipient {
#[serde(rename = "topic_key")]
pub topic_key: String,
}
impl TopicRecipient {
pub fn new(topic_key: String) -> TopicRecipient {
TopicRecipient {
topic_key,
}
}
}