use serde::{Deserialize, Serialize}; /*
                                      * BigQuery API
                                      *
                                      * A data platform for customers to create, manage, share and query data.
                                      *
                                      * The version of the OpenAPI document: v2
                                      *
                                      * Generated by: https://openapi-generator.tech
                                      */

/// MultiClassClassificationMetrics : Evaluation metrics for multi-class classification/classifier models.

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct MultiClassClassificationMetrics {
    #[serde(
        rename = "aggregateClassificationMetrics",
        skip_serializing_if = "Option::is_none"
    )]
    pub aggregate_classification_metrics:
        Option<Box<crate::google_rest_apis::bigquery_v2::models::AggregateClassificationMetrics>>,
    /// Confusion matrix at different thresholds.
    #[serde(
        rename = "confusionMatrixList",
        skip_serializing_if = "Option::is_none"
    )]
    pub confusion_matrix_list:
        Option<Vec<crate::google_rest_apis::bigquery_v2::models::ConfusionMatrix>>,
}

impl MultiClassClassificationMetrics {
    /// Evaluation metrics for multi-class classification/classifier models.
    pub fn new() -> MultiClassClassificationMetrics {
        MultiClassClassificationMetrics {
            aggregate_classification_metrics: None,
            confusion_matrix_list: None,
        }
    }
}
