/*
* fastcomments
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.0.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::client::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct NotificationAndCount {
#[serde(rename = "type")]
pub r#type: models::NotificationType,
#[serde(rename = "count")]
pub count: i64,
}
impl NotificationAndCount {
pub fn new(r#type: models::NotificationType, count: i64) -> NotificationAndCount {
NotificationAndCount {
r#type,
count,
}
}
}