mistral-openapi-client 0.1.0

Our Chat Completion and Embeddings APIs specification. Create your account on [La Plateforme](https://console.mistral.ai) to get access and read the [docs](https://docs.mistral.ai) to learn how to use it.
Documentation
/*
 * Mistral AI API
 *
 * Our Chat Completion and Embeddings APIs specification. Create your account on [La Plateforme](https://console.mistral.ai) to get access and read the [docs](https://docs.mistral.ai) to learn how to use it.
 *
 * 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 JobMetadataOut {
    #[serde(rename = "expected_duration_seconds", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub expected_duration_seconds: Option<Option<i32>>,
    #[serde(rename = "cost", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub cost: Option<Option<f64>>,
    #[serde(rename = "cost_currency", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub cost_currency: Option<Option<String>>,
    #[serde(rename = "train_tokens_per_step", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub train_tokens_per_step: Option<Option<i32>>,
    #[serde(rename = "train_tokens", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub train_tokens: Option<Option<i32>>,
    #[serde(rename = "data_tokens", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub data_tokens: Option<Option<i32>>,
    #[serde(rename = "estimated_start_time", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub estimated_start_time: Option<Option<i32>>,
}

impl JobMetadataOut {
    pub fn new() -> JobMetadataOut {
        JobMetadataOut {
            expected_duration_seconds: None,
            cost: None,
            cost_currency: None,
            train_tokens_per_step: None,
            train_tokens: None,
            data_tokens: None,
            estimated_start_time: None,
        }
    }
}