/*
 * Binance Derivatives Trading Options REST API
 *
 * OpenAPI Specification for the Binance Derivatives Trading Options REST API
 *
 * 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_options::rest_api::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ExchangeInformationResponseOptionSymbolsInner {
    #[serde(rename = "expiryDate", skip_serializing_if = "Option::is_none")]
    pub expiry_date: Option<i64>,
    #[serde(rename = "filters", skip_serializing_if = "Option::is_none")]
    pub filters: Option<Vec<models::ExchangeInformationResponseOptionSymbolsInnerFiltersInner>>,
    #[serde(rename = "symbol", skip_serializing_if = "Option::is_none")]
    pub symbol: Option<String>,
    #[serde(rename = "side", skip_serializing_if = "Option::is_none")]
    pub side: Option<String>,
    #[serde(rename = "strikePrice", skip_serializing_if = "Option::is_none")]
    pub strike_price: Option<String>,
    #[serde(rename = "underlying", skip_serializing_if = "Option::is_none")]
    pub underlying: Option<String>,
    #[serde(rename = "unit", skip_serializing_if = "Option::is_none")]
    pub unit: Option<i64>,
    #[serde(rename = "liquidationFeeRate", skip_serializing_if = "Option::is_none")]
    pub liquidation_fee_rate: Option<String>,
    #[serde(rename = "minQty", skip_serializing_if = "Option::is_none")]
    pub min_qty: Option<String>,
    #[serde(rename = "maxQty", skip_serializing_if = "Option::is_none")]
    pub max_qty: Option<String>,
    #[serde(rename = "initialMargin", skip_serializing_if = "Option::is_none")]
    pub initial_margin: Option<String>,
    #[serde(rename = "maintenanceMargin", skip_serializing_if = "Option::is_none")]
    pub maintenance_margin: Option<String>,
    #[serde(rename = "minInitialMargin", skip_serializing_if = "Option::is_none")]
    pub min_initial_margin: Option<String>,
    #[serde(
        rename = "minMaintenanceMargin",
        skip_serializing_if = "Option::is_none"
    )]
    pub min_maintenance_margin: Option<String>,
    #[serde(rename = "priceScale", skip_serializing_if = "Option::is_none")]
    pub price_scale: Option<i64>,
    #[serde(rename = "quantityScale", skip_serializing_if = "Option::is_none")]
    pub quantity_scale: Option<i64>,
    #[serde(rename = "quoteAsset", skip_serializing_if = "Option::is_none")]
    pub quote_asset: Option<String>,
    #[serde(rename = "status", skip_serializing_if = "Option::is_none")]
    pub status: Option<String>,
}

impl ExchangeInformationResponseOptionSymbolsInner {
    #[must_use]
    pub fn new() -> ExchangeInformationResponseOptionSymbolsInner {
        ExchangeInformationResponseOptionSymbolsInner {
            expiry_date: None,
            filters: None,
            symbol: None,
            side: None,
            strike_price: None,
            underlying: None,
            unit: None,
            liquidation_fee_rate: None,
            min_qty: None,
            max_qty: None,
            initial_margin: None,
            maintenance_margin: None,
            min_initial_margin: None,
            min_maintenance_margin: None,
            price_scale: None,
            quantity_scale: None,
            quote_asset: None,
            status: None,
        }
    }
}
