Skip to main content

windmill_api/models/
list_run_assets_200_response.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.792.1
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 ListRunAssets200Response {
16    /// whether the run touched more assets than are listed
17    #[serde(rename = "truncated")]
18    pub truncated: bool,
19    #[serde(rename = "assets")]
20    pub assets: Vec<models::ListAssetsByUsage200ResponseInnerInner>,
21}
22
23impl ListRunAssets200Response {
24    pub fn new(truncated: bool, assets: Vec<models::ListAssetsByUsage200ResponseInnerInner>) -> ListRunAssets200Response {
25        ListRunAssets200Response {
26            truncated,
27            assets,
28        }
29    }
30}
31