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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetLoanableAssetsDataResponseRowsInner {
    #[serde(rename = "loanCoin", skip_serializing_if = "Option::is_none")]
    pub loan_coin: Option<String>,
    #[serde(
        rename = "_flexibleDailyInterestRate",
        skip_serializing_if = "Option::is_none"
    )]
    pub _flexible_daily_interest_rate: Option<String>,
    #[serde(
        rename = "_flexibleYearlyInterestRate",
        skip_serializing_if = "Option::is_none"
    )]
    pub _flexible_yearly_interest_rate: Option<String>,
    #[serde(
        rename = "_30dDailyInterestRate",
        skip_serializing_if = "Option::is_none"
    )]
    pub _30d_daily_interest_rate: Option<String>,
    #[serde(
        rename = "_30dYearlyInterestRate",
        skip_serializing_if = "Option::is_none"
    )]
    pub _30d_yearly_interest_rate: Option<String>,
    #[serde(
        rename = "_60dDailyInterestRate",
        skip_serializing_if = "Option::is_none"
    )]
    pub _60d_daily_interest_rate: Option<String>,
    #[serde(
        rename = "_60dYearlyInterestRate",
        skip_serializing_if = "Option::is_none"
    )]
    pub _60d_yearly_interest_rate: Option<String>,
    #[serde(rename = "minLimit", skip_serializing_if = "Option::is_none")]
    pub min_limit: Option<String>,
    #[serde(rename = "maxLimit", skip_serializing_if = "Option::is_none")]
    pub max_limit: Option<String>,
    #[serde(rename = "vipLevel", skip_serializing_if = "Option::is_none")]
    pub vip_level: Option<i64>,
}

impl GetLoanableAssetsDataResponseRowsInner {
    #[must_use]
    pub fn new() -> GetLoanableAssetsDataResponseRowsInner {
        GetLoanableAssetsDataResponseRowsInner {
            loan_coin: None,
            _flexible_daily_interest_rate: None,
            _flexible_yearly_interest_rate: None,
            _30d_daily_interest_rate: None,
            _30d_yearly_interest_rate: None,
            _60d_daily_interest_rate: None,
            _60d_yearly_interest_rate: None,
            min_limit: None,
            max_limit: None,
            vip_level: None,
        }
    }
}
