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,
}
}
}