Skip to main content

windmill_api/models/
offboard_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.681.0
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 OffboardResponse {
16    /// List of path conflicts that block the offboarding. Empty on success.
17    #[serde(rename = "conflicts", skip_serializing_if = "Option::is_none")]
18    pub conflicts: Option<Vec<String>>,
19    #[serde(rename = "summary", skip_serializing_if = "Option::is_none")]
20    pub summary: Option<Box<models::OffboardSummary>>,
21}
22
23impl OffboardResponse {
24    pub fn new() -> OffboardResponse {
25        OffboardResponse {
26            conflicts: None,
27            summary: None,
28        }
29    }
30}
31