windmill-api 1.817.0

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.817.0
 * Contact: contact@windmill.dev
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// 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.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DataTableSettingsDatatablesValueReference {
    #[serde(rename = "workspace_id")]
    pub workspace_id: String,
    #[serde(rename = "datatable")]
    pub datatable: String,
}

impl 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.
    pub fn new(workspace_id: String, datatable: String) -> DataTableSettingsDatatablesValueReference {
        DataTableSettingsDatatablesValueReference {
            workspace_id,
            datatable,
        }
    }
}