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

/// DataTableSettingsDatatablesValueGovernedBy : On a clone, the data table it was copied from, whose roles it takes. Server-owned like `reference`.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DataTableSettingsDatatablesValueGovernedBy {
    #[serde(rename = "workspace_id")]
    pub workspace_id: String,
    #[serde(rename = "datatable")]
    pub datatable: String,
}

impl DataTableSettingsDatatablesValueGovernedBy {
    /// On a clone, the data table it was copied from, whose roles it takes. Server-owned like `reference`.
    pub fn new(workspace_id: String, datatable: String) -> DataTableSettingsDatatablesValueGovernedBy {
        DataTableSettingsDatatablesValueGovernedBy {
            workspace_id,
            datatable,
        }
    }
}