windmill-api 1.725.1

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Windmill API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.725.1
 * Contact: contact@windmill.dev
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetDraftForUser200Response {
    #[serde(rename = "value", deserialize_with = "Option::deserialize")]
    pub value: Option<serde_json::Value>,
    #[serde(rename = "created_at")]
    pub created_at: String,
}

impl GetDraftForUser200Response {
    pub fn new(value: Option<serde_json::Value>, created_at: String) -> GetDraftForUser200Response {
        GetDraftForUser200Response {
            value,
            created_at,
        }
    }
}