/*
* 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};
/// CreateNotificationGroup : Create a notification group to categorize workflows.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CreateNotificationGroup {
/// Display name.
#[serde(rename = "name")]
pub name: String,
}
impl CreateNotificationGroup {
/// Create a notification group to categorize workflows.
pub fn new(name: String) -> CreateNotificationGroup {
CreateNotificationGroup {
name,
}
}
}