enbbox 1.0.1

Notification infrastructure API — open-source alternative to Novu/Courier
Documentation
/*
 * 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};

/// UnseenCount : Count of unseen inbox notifications.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UnseenCount {
    #[serde(rename = "count")]
    pub count: i64,
}

impl UnseenCount {
    /// Count of unseen inbox notifications.
    pub fn new(count: i64) -> UnseenCount {
        UnseenCount {
            count,
        }
    }
}