/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.6
 * Contact: contact@orvanta.cloud
 * 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,
        }
    }
}

