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
                                      */

/// Row : A single row in the confusion matrix.

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct Row {
    /// The original label of this row.
    #[serde(rename = "actualLabel", skip_serializing_if = "Option::is_none")]
    pub actual_label: Option<String>,
    /// Info describing predicted label distribution.
    #[serde(rename = "entries", skip_serializing_if = "Option::is_none")]
    pub entries: Option<Vec<crate::google_rest_apis::bigquery_v2::models::Entry>>,
}

impl Row {
    /// A single row in the confusion matrix.
    pub fn new() -> Row {
        Row {
            actual_label: None,
            entries: None,
        }
    }
}
