windmill_api/models/
offboard_path_conflict.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct OffboardPathConflict {
16 #[serde(rename = "workspace_id")]
17 pub workspace_id: String,
18 #[serde(rename = "kind")]
20 pub kind: String,
21 #[serde(rename = "source_path")]
23 pub source_path: String,
24 #[serde(rename = "target_path")]
26 pub target_path: String,
27}
28
29impl OffboardPathConflict {
30 pub fn new(workspace_id: String, kind: String, source_path: String, target_path: String) -> OffboardPathConflict {
31 OffboardPathConflict {
32 workspace_id,
33 kind,
34 source_path,
35 target_path,
36 }
37 }
38}
39