/*
 * 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 WorkspaceDetail {
    /// Workspace ID
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<String>,
    /// Workspace name
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// Number of notebooks in this workspace
    #[serde(rename = "notebooksCount", skip_serializing_if = "Option::is_none")]
    pub notebooks_count: Option<f64>,
}

impl WorkspaceDetail {
    pub fn new() -> WorkspaceDetail {
        WorkspaceDetail {
            id: None,
            name: None,
            notebooks_count: None,
        }
    }
}
