windmill-api 1.683.2

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.683.2
 * 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 DucklakeSettingsDucklakesValue {
    #[serde(rename = "catalog")]
    pub catalog: Box<models::DucklakeSettingsDucklakesValueCatalog>,
    #[serde(rename = "storage")]
    pub storage: Box<models::DucklakeSettingsDucklakesValueStorage>,
    #[serde(rename = "extra_args", skip_serializing_if = "Option::is_none")]
    pub extra_args: Option<String>,
}

impl DucklakeSettingsDucklakesValue {
    pub fn new(catalog: models::DucklakeSettingsDucklakesValueCatalog, storage: models::DucklakeSettingsDucklakesValueStorage) -> DucklakeSettingsDucklakesValue {
        DucklakeSettingsDucklakesValue {
            catalog: Box::new(catalog),
            storage: Box::new(storage),
            extra_args: None,
        }
    }
}