// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// Aggregate counts for a batch of block-eval runs.
/// Each individual run contributes to exactly one `lifecycle_counts`
/// bucket, and additionally to one `outcome` bucket when
/// `lifecycle_counts.completed` is incremented.
#[derive(Debug, Clone, Default, Serialize, Deserialize)]
pub struct BlockEvalBatchExecutionCounts {
    /// Defaults to `{"pending":0,"queued":0,"running":0,"completed":0,"error":0,"cancelled":0}`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub lifecycle_counts: Option<BlockEvalLifecycleCounts>,
    /// Defaults to `{"passed":0,"failed":0,"blocked":0}`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub outcome: Option<BlockEvalOutcomeCounts>,
}
