/*
 * doqium - service-data REST API
 *
 * doqium - service-data REST API
 *
 * The version of the OpenAPI document: 1.0
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::doqium_data_client::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UsageStats {
    /// Number of workspaces for the user
    #[serde(rename = "workspaces", skip_serializing_if = "Option::is_none")]
    pub workspaces: Option<f64>,
    /// Number of notebooks for the user
    #[serde(rename = "notebooks", skip_serializing_if = "Option::is_none")]
    pub notebooks: Option<f64>,
    /// Number of notes for the user
    #[serde(rename = "notes", skip_serializing_if = "Option::is_none")]
    pub notes: Option<f64>,
    /// Number of attachments for the user
    #[serde(rename = "attachments", skip_serializing_if = "Option::is_none")]
    pub attachments: Option<f64>,
}

impl UsageStats {
    pub fn new() -> UsageStats {
        UsageStats {
            workspaces: None,
            notebooks: None,
            notes: None,
            attachments: None,
        }
    }
}
