/*
 * Mithril
 *
 * Mithril Compute API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UpdateBidRequest {
    #[serde(rename = "limit_price", skip_serializing_if = "Option::is_none")]
    pub limit_price: Option<String>,
    #[serde(rename = "paused", skip_serializing_if = "Option::is_none")]
    pub paused: Option<bool>,
    #[serde(rename = "volumes", skip_serializing_if = "Option::is_none")]
    pub volumes: Option<Vec<String>>,
    #[serde(rename = "memory_gb", skip_serializing_if = "Option::is_none")]
    pub memory_gb: Option<i32>,
}

impl UpdateBidRequest {
    pub fn new() -> UpdateBidRequest {
        UpdateBidRequest {
            limit_price: None,
            paused: None,
            volumes: None,
            memory_gb: None,
        }
    }
}
