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

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

/// DbtColumnLineage : The direct column-to-column lineage the asked-for relations' columns sit in — the connected component around them — in the terms the canvas draws: relations and columns, never dbt's node ids.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DbtColumnLineage {
    #[serde(rename = "edges")]
    pub edges: Vec<models::DbtColumnLineageEdgesInner>,
    /// The component reaches further than `edges`, which holds the part nearest the asked-for relations. A trace that stops short is otherwise indistinguishable from one that ends.
    #[serde(rename = "truncated")]
    pub truncated: bool,
}

impl DbtColumnLineage {
    /// The direct column-to-column lineage the asked-for relations' columns sit in — the connected component around them — in the terms the canvas draws: relations and columns, never dbt's node ids.
    pub fn new(edges: Vec<models::DbtColumnLineageEdgesInner>, truncated: bool) -> DbtColumnLineage {
        DbtColumnLineage {
            edges,
            truncated,
        }
    }
}