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

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetAssetsGraph200ResponseRunnablesInner {
    #[serde(rename = "path")]
    pub path: String,
    #[serde(rename = "usage_kind")]
    pub usage_kind: models::AssetUsageKind,
    /// True iff the script is a pipeline member (deployed with `// pipeline`). Omitted when false.
    #[serde(rename = "in_pipeline", skip_serializing_if = "Option::is_none")]
    pub in_pipeline: Option<bool>,
}

impl GetAssetsGraph200ResponseRunnablesInner {
    pub fn new(path: String, usage_kind: models::AssetUsageKind) -> GetAssetsGraph200ResponseRunnablesInner {
        GetAssetsGraph200ResponseRunnablesInner {
            path,
            usage_kind,
            in_pipeline: None,
        }
    }
}