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;

/// DoubleRange : Range of a double hyperparameter.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DoubleRange {
    /// Max value of the double parameter.
    #[serde(rename = "max", skip_serializing_if = "Option::is_none")]
    pub max: Option<f64>,
    /// Min value of the double parameter.
    #[serde(rename = "min", skip_serializing_if = "Option::is_none")]
    pub min: Option<f64>,
}

impl DoubleRange {
    /// Range of a double hyperparameter.
    pub fn new() -> DoubleRange {
        DoubleRange {
            max: None,
            min: None,
        }
    }
}
