/*
* 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};
/// WidgetSettings : Configuration for the embeddable notification center widget.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct WidgetSettings {
/// Whether to encrypt the HMAC subscriber token for the widget.
#[serde(rename = "notification_center_encryption", skip_serializing_if = "Option::is_none")]
pub notification_center_encryption: Option<bool>,
}
impl WidgetSettings {
/// Configuration for the embeddable notification center widget.
pub fn new() -> WidgetSettings {
WidgetSettings {
notification_center_encryption: None,
}
}
}