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;

/// DoubleCandidates : Discrete candidates of a double hyperparameter.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DoubleCandidates {
    /// Candidates for the double parameter in increasing order.
    #[serde(rename = "candidates", skip_serializing_if = "Option::is_none")]
    pub candidates: Option<Vec<f64>>,
}

impl DoubleCandidates {
    /// Discrete candidates of a double hyperparameter.
    pub fn new() -> DoubleCandidates {
        DoubleCandidates { candidates: None }
    }
}
