// 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 WorkflowDiagnosisStats {
    /// Total number of blocks diagnosed
    ///
    /// Defaults to `0`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub total_blocks: Option<i64>,
    /// Total number of edges diagnosed
    ///
    /// Defaults to `0`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub total_edges: Option<i64>,
    /// Counts by block type
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub block_types: Option<std::collections::HashMap<String, i64>>,
    /// Number of start_document blocks
    ///
    /// Defaults to `0`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub start_document_blocks: Option<i64>,
}
