// 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 ClassificationDecision {
    /// The reasoning for the classification decision
    pub reasoning: String,
    /// The category name that the document belongs to
    pub category: String,
}
impl ClassificationDecision {
    /// Construct a new `ClassificationDecision` with the required fields set.
    #[allow(deprecated)]
    pub fn new(reasoning: impl Into<String>, category: impl Into<String>) -> Self {
        Self {
            reasoning: reasoning.into(),
            category: category.into(),
        }
    }
}
