// 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 RunStepWorkflowEvalSource {
    /// Defaults to `run_step`.
    #[serde(rename = "type")]
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub type_: Option<String>,
    pub run_id: String,
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub step_id: Option<String>,
}
impl RunStepWorkflowEvalSource {
    /// Construct a new `RunStepWorkflowEvalSource` with the required fields set.
    #[allow(deprecated)]
    pub fn new(run_id: impl Into<String>) -> Self {
        Self {
            type_: Default::default(),
            run_id: run_id.into(),
            step_id: Default::default(),
        }
    }
}
