Skip to main content

windmill_api/models/
edit_dbt_warehouses_request.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.776.0
7 * Contact: contact@windmill.dev
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct EditDbtWarehousesRequest {
16    /// Warehouses a dbt project may run against, by name. `main` is the one a project gets when its descriptor names none. Each entry points at a resource; it never holds credentials.
17    #[serde(rename = "dbt_warehouses", skip_serializing_if = "Option::is_none")]
18    pub dbt_warehouses: Option<std::collections::HashMap<String, models::DbtWarehousesValue>>,
19}
20
21impl EditDbtWarehousesRequest {
22    pub fn new() -> EditDbtWarehousesRequest {
23        EditDbtWarehousesRequest {
24            dbt_warehouses: None,
25        }
26    }
27}
28