windmill-api 1.682.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.682.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 SecretMigrationFailure {
    /// Workspace ID where the secret is located
    #[serde(rename = "workspace_id")]
    pub workspace_id: String,
    /// Path of the secret that failed to migrate
    #[serde(rename = "path")]
    pub path: String,
    /// Error message
    #[serde(rename = "error")]
    pub error: String,
}

impl SecretMigrationFailure {
    pub fn new(workspace_id: String, path: String, error: String) -> SecretMigrationFailure {
        SecretMigrationFailure {
            workspace_id,
            path,
            error,
        }
    }
}