/*
 * 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 CreateNote200Response {
    #[serde(rename = "id")]
    pub id: uuid::Uuid,
    #[serde(rename = "lastModificationDate")]
    pub last_modification_date: String,
}

impl CreateNote200Response {
    pub fn new(id: uuid::Uuid, last_modification_date: String) -> CreateNote200Response {
        CreateNote200Response {
            id,
            last_modification_date,
        }
    }
}
