/*
 * 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 Notebook {
    #[serde(rename = "id")]
    pub id: uuid::Uuid,
    #[serde(rename = "workspaceId")]
    pub workspace_id: uuid::Uuid,
    #[serde(rename = "slug")]
    pub slug: String,
    #[serde(rename = "name")]
    pub name: String,
}

impl Notebook {
    pub fn new(id: uuid::Uuid, workspace_id: uuid::Uuid, slug: String, name: String) -> Notebook {
        Notebook {
            id,
            workspace_id,
            slug,
            name,
        }
    }
}
