/*
 * Thalex RPC API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * 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 DoubleSidedQuoteResultErrorsInner {
    /// Error code.
    #[serde(rename = "code", skip_serializing_if = "Option::is_none")]
    pub code: Option<f64>,
    /// Error message.
    #[serde(rename = "message", skip_serializing_if = "Option::is_none")]
    pub message: Option<String>,
    /// Optional quote side.
    #[serde(rename = "side", skip_serializing_if = "Option::is_none")]
    pub side: Option<String>,
    /// Optional price level.
    #[serde(rename = "price", skip_serializing_if = "Option::is_none")]
    pub price: Option<f64>,
}

impl DoubleSidedQuoteResultErrorsInner {
    pub fn new() -> DoubleSidedQuoteResultErrorsInner {
        DoubleSidedQuoteResultErrorsInner {
            code: None,
            message: None,
            side: None,
            price: None,
        }
    }
}
