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

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