windmill_api/models/
apply_workspace_settings_document_200_response.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ApplyWorkspaceSettingsDocument200Response {
16 #[serde(rename = "changes")]
17 pub changes: Vec<models::ApplyWorkspaceSettingsDocument200ResponseChangesInner>,
18 #[serde(rename = "applied")]
19 pub applied: bool,
20 #[serde(rename = "warnings", skip_serializing_if = "Option::is_none")]
21 pub warnings: Option<Vec<String>>,
22}
23
24impl ApplyWorkspaceSettingsDocument200Response {
25 pub fn new(changes: Vec<models::ApplyWorkspaceSettingsDocument200ResponseChangesInner>, applied: bool) -> ApplyWorkspaceSettingsDocument200Response {
26 ApplyWorkspaceSettingsDocument200Response {
27 changes,
28 applied,
29 warnings: None,
30 }
31 }
32}
33