// 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 WorkflowTestRun {
    pub id: String,
    pub workflow: WorkflowSnapshotRef,
    pub trigger: WorkflowRunTriggerOneOf,
    pub lifecycle: WorkflowTestResultLifecycleOneOf,
    pub timing: WorkflowTestRunTiming,
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub target: Option<WorkflowTestBlockTarget>,
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub test_id: Option<String>,
    pub total_tests: i64,
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub counts: Option<BlockTestBatchExecutionCounts>,
}
