// 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 LlmJudgedAsCondition {
    /// Defaults to `llm_judged_as`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub kind: Option<String>,
    pub rubric: String,
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub expected_label: Option<String>,
}
impl LlmJudgedAsCondition {
    /// Construct a new `LlmJudgedAsCondition` with the required fields set.
    #[allow(deprecated)]
    pub fn new(rubric: impl Into<String>) -> Self {
        Self {
            kind: Default::default(),
            rubric: rubric.into(),
            expected_label: Default::default(),
        }
    }
}
