// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// Structured context for a single container in the hierarchy.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ContainerContextData {
    /// Container ID (e.g., 'while_loop-abc')
    pub container_id: String,
    /// Iteration index (0-based)
    pub iteration: i64,
    /// Whether this container represents a parallel item
    ///
    /// Defaults to `false`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub is_parallel: Option<bool>,
    /// Parallel item index if is_parallel
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub parallel_item_index: Option<i64>,
}
