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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct QueryIsolatedMarginTierDataResponseInner {
    #[serde(rename = "symbol", skip_serializing_if = "Option::is_none")]
    pub symbol: Option<String>,
    #[serde(rename = "tier", skip_serializing_if = "Option::is_none")]
    pub tier: Option<i64>,
    #[serde(rename = "effectiveMultiple", skip_serializing_if = "Option::is_none")]
    pub effective_multiple: Option<String>,
    #[serde(rename = "initialRiskRatio", skip_serializing_if = "Option::is_none")]
    pub initial_risk_ratio: Option<String>,
    #[serde(
        rename = "liquidationRiskRatio",
        skip_serializing_if = "Option::is_none"
    )]
    pub liquidation_risk_ratio: Option<String>,
    #[serde(
        rename = "baseAssetMaxBorrowable",
        skip_serializing_if = "Option::is_none"
    )]
    pub base_asset_max_borrowable: Option<String>,
    #[serde(
        rename = "quoteAssetMaxBorrowable",
        skip_serializing_if = "Option::is_none"
    )]
    pub quote_asset_max_borrowable: Option<String>,
}

impl QueryIsolatedMarginTierDataResponseInner {
    #[must_use]
    pub fn new() -> QueryIsolatedMarginTierDataResponseInner {
        QueryIsolatedMarginTierDataResponseInner {
            symbol: None,
            tier: None,
            effective_multiple: None,
            initial_risk_ratio: None,
            liquidation_risk_ratio: None,
            base_asset_max_borrowable: None,
            quote_asset_max_borrowable: None,
        }
    }
}
