windmill-api 1.824.1

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.824.1
 * 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 ExternalInstancePgSetupReport {
    /// no step failed; warnings leave it true
    #[serde(rename = "success")]
    pub success: bool,
    #[serde(rename = "finished_at")]
    pub finished_at: String,
    #[serde(rename = "steps")]
    pub steps: Vec<models::ExternalInstancePgSetupStep>,
}

impl ExternalInstancePgSetupReport {
    pub fn new(success: bool, finished_at: String, steps: Vec<models::ExternalInstancePgSetupStep>) -> ExternalInstancePgSetupReport {
        ExternalInstancePgSetupReport {
            success,
            finished_at,
            steps,
        }
    }
}