// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// Structured block-eval assertion target.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct OutputTarget {
    pub output_handle_id: String,
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub path: Option<String>,
}
impl OutputTarget {
    /// Construct a new `OutputTarget` with the required fields set.
    #[allow(deprecated)]
    pub fn new(output_handle_id: impl Into<String>) -> Self {
        Self {
            output_handle_id: output_handle_id.into(),
            path: Default::default(),
        }
    }
}
