windmill_api/models/
data_table_settings_datatables_value.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct DataTableSettingsDatatablesValue {
16 #[serde(rename = "database", skip_serializing_if = "Option::is_none")]
17 pub database: Option<Box<models::DataTableSettingsDatatablesValueDatabase>>,
18 #[serde(rename = "reference", skip_serializing_if = "Option::is_none")]
19 pub reference: Option<Box<models::DataTableSettingsDatatablesValueReference>>,
20 #[serde(rename = "governed_by", skip_serializing_if = "Option::is_none")]
21 pub governed_by: Option<Box<models::DataTableSettingsDatatablesValueGovernedBy>>,
22 #[serde(rename = "migrations_enabled", skip_serializing_if = "Option::is_none")]
24 pub migrations_enabled: Option<bool>,
25 #[serde(rename = "schema_only_tables", skip_serializing_if = "Option::is_none")]
27 pub schema_only_tables: Option<Vec<String>>,
28 #[serde(rename = "forked_from", skip_serializing_if = "Option::is_none")]
29 pub forked_from: Option<Box<models::DataTableSettingsDatatablesValueForkedFrom>>,
30}
31
32impl DataTableSettingsDatatablesValue {
33 pub fn new() -> DataTableSettingsDatatablesValue {
34 DataTableSettingsDatatablesValue {
35 database: None,
36 reference: None,
37 governed_by: None,
38 migrations_enabled: None,
39 schema_only_tables: None,
40 forked_from: None,
41 }
42 }
43}
44