/*
 * Binance Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * OpenAPI Specification for the Binance Derivatives Trading USDS Futures WebSocket Market Streams
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

#![allow(unused_imports)]
use crate::derivatives_trading_usds_futures::websocket_streams::models;
use serde::{Deserialize, Deserializer, Serialize, de::Error};
use serde_json::Value;

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ContractInfoStreamResponseBksInner {
    #[serde(rename = "bs", skip_serializing_if = "Option::is_none")]
    pub bs: Option<i64>,
    #[serde(rename = "bnf", skip_serializing_if = "Option::is_none")]
    pub bnf: Option<i64>,
    #[serde(rename = "bnc", skip_serializing_if = "Option::is_none")]
    pub bnc: Option<i64>,
    #[serde(rename = "mmr", skip_serializing_if = "Option::is_none")]
    pub mmr: Option<rust_decimal::Decimal>,
    #[serde(rename = "cf", skip_serializing_if = "Option::is_none")]
    pub cf: Option<i64>,
    #[serde(rename = "mi", skip_serializing_if = "Option::is_none")]
    pub mi: Option<i64>,
    #[serde(rename = "ma", skip_serializing_if = "Option::is_none")]
    pub ma: Option<i64>,
}

impl ContractInfoStreamResponseBksInner {
    #[must_use]
    pub fn new() -> ContractInfoStreamResponseBksInner {
        ContractInfoStreamResponseBksInner {
            bs: None,
            bnf: None,
            bnc: None,
            mmr: None,
            cf: None,
            mi: None,
            ma: None,
        }
    }
}
