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

use crate::google_rest_apis::bigquery_v2::models;

/// ArimaFittingMetrics : ARIMA model fitting metrics.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ArimaFittingMetrics {
    /// AIC.
    #[serde(rename = "aic", skip_serializing_if = "Option::is_none")]
    pub aic: Option<f64>,
    /// Log-likelihood.
    #[serde(rename = "logLikelihood", skip_serializing_if = "Option::is_none")]
    pub log_likelihood: Option<f64>,
    /// Variance.
    #[serde(rename = "variance", skip_serializing_if = "Option::is_none")]
    pub variance: Option<f64>,
}

impl ArimaFittingMetrics {
    /// ARIMA model fitting metrics.
    pub fn new() -> ArimaFittingMetrics {
        ArimaFittingMetrics {
            aic: None,
            log_likelihood: None,
            variance: None,
        }
    }
}
