// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct DeclarativePlanResponse {
    pub workflow_id: String,
    pub action: DeclarativePlanResponseAction,
    pub block_count: i64,
    pub edge_count: i64,
    pub diagnostics: std::collections::HashMap<String, serde_json::Value>,
    /// Defaults to `workflows-plan/v1`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub format_version: Option<String>,
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub summary: Option<DeclarativePlanSummary>,
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub resource_changes: Option<Vec<DeclarativePlanResourceChange>>,
    /// Defaults to `No changes. Workflow spec is up to date.`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub rendered_plan: Option<String>,
}
