Skip to main content

windmill_api/models/
asset_graph_runnables_inner_dbt.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/// AssetGraphRunnablesInnerDbt : Set on a `dbt` script, which owns a whole project rather than a single output. Omitted otherwise.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct AssetGraphRunnablesInnerDbt {
17    #[serde(rename = "model_count")]
18    pub model_count: i32,
19}
20
21impl AssetGraphRunnablesInnerDbt {
22    /// Set on a `dbt` script, which owns a whole project rather than a single output. Omitted otherwise.
23    pub fn new(model_count: i32) -> AssetGraphRunnablesInnerDbt {
24        AssetGraphRunnablesInnerDbt {
25            model_count,
26        }
27    }
28}
29