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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetExchangeInfoResponseDataSymbolsInner {
    #[serde(rename = "symbol", skip_serializing_if = "Option::is_none")]
    pub symbol: Option<String>,
    #[serde(rename = "status", skip_serializing_if = "Option::is_none")]
    pub status: Option<String>,
    #[serde(rename = "baseAsset", skip_serializing_if = "Option::is_none")]
    pub base_asset: Option<String>,
    #[serde(rename = "quoteAsset", skip_serializing_if = "Option::is_none")]
    pub quote_asset: Option<String>,
    #[serde(rename = "pricePrecision", skip_serializing_if = "Option::is_none")]
    pub price_precision: Option<i64>,
    #[serde(rename = "quantityPrecision", skip_serializing_if = "Option::is_none")]
    pub quantity_precision: Option<i64>,
    #[serde(rename = "baseAssetPrecision", skip_serializing_if = "Option::is_none")]
    pub base_asset_precision: Option<i64>,
    #[serde(rename = "quotePrecision", skip_serializing_if = "Option::is_none")]
    pub quote_precision: Option<i64>,
    #[serde(rename = "filters", skip_serializing_if = "Option::is_none")]
    pub filters: Option<Vec<models::GetExchangeInfoResponseDataSymbolsInnerFiltersInner>>,
    #[serde(rename = "orderTypes", skip_serializing_if = "Option::is_none")]
    pub order_types: Option<Vec<String>>,
}

impl GetExchangeInfoResponseDataSymbolsInner {
    #[must_use]
    pub fn new() -> GetExchangeInfoResponseDataSymbolsInner {
        GetExchangeInfoResponseDataSymbolsInner {
            symbol: None,
            status: None,
            base_asset: None,
            quote_asset: None,
            price_precision: None,
            quantity_precision: None,
            base_asset_precision: None,
            quote_precision: None,
            filters: None,
            order_types: None,
        }
    }
}
