// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// Run every workflow test for one block in the workflow.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct WorkflowTestRunBlockScope {
    #[serde(rename = "type")]
    pub type_: String,
    pub block_id: String,
}
impl WorkflowTestRunBlockScope {
    /// Construct a new `WorkflowTestRunBlockScope` with the required fields set.
    #[allow(deprecated)]
    pub fn new(type_: impl Into<String>, block_id: impl Into<String>) -> Self {
        Self {
            type_: type_.into(),
            block_id: block_id.into(),
        }
    }
}
