use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct FlowInspectorPlan {
    #[serde(rename = "current_stage")]
    pub current_stage: models::FlowStageBinding,
    #[serde(rename = "next_planned_stage")]
    pub next_planned_stage: models::FlowStageBinding,
        #[serde(rename = "plan_context")]
    pub plan_context: std::collections::HashMap<String, serde_json::Value>,
        #[serde(rename = "session_id")]
    pub session_id: String,
}
impl FlowInspectorPlan {
        pub fn new(
        current_stage: models::FlowStageBinding,
        next_planned_stage: models::FlowStageBinding,
        plan_context: std::collections::HashMap<String, serde_json::Value>,
        session_id: String,
    ) -> FlowInspectorPlan {
        FlowInspectorPlan {
            current_stage,
            next_planned_stage,
            plan_context,
            session_id,
        }
    }
}