windmill_api/models/data_table_settings_datatables_value_reference.rs
1/*
2 * Windmill API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.817.0
7 * Contact: contact@windmill.dev
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// DataTableSettingsDatatablesValueReference : The workspace and data table that govern this one. Server-owned: written by fork creation, and carried across a settings save whatever the request says.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct DataTableSettingsDatatablesValueReference {
17 #[serde(rename = "workspace_id")]
18 pub workspace_id: String,
19 #[serde(rename = "datatable")]
20 pub datatable: String,
21}
22
23impl DataTableSettingsDatatablesValueReference {
24 /// The workspace and data table that govern this one. Server-owned: written by fork creation, and carried across a settings save whatever the request says.
25 pub fn new(workspace_id: String, datatable: String) -> DataTableSettingsDatatablesValueReference {
26 DataTableSettingsDatatablesValueReference {
27 workspace_id,
28 datatable,
29 }
30 }
31}
32