/*
 * 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 QueryVipLoanFixedRateMarketResponseRowsInner {
    #[serde(rename = "requestId", skip_serializing_if = "Option::is_none")]
    pub request_id: Option<i64>,
    #[serde(rename = "requestNo", skip_serializing_if = "Option::is_none")]
    pub request_no: Option<i64>,
    #[serde(rename = "coin", skip_serializing_if = "Option::is_none")]
    pub coin: Option<String>,
    #[serde(rename = "interestRate", skip_serializing_if = "Option::is_none")]
    pub interest_rate: Option<String>,
    #[serde(rename = "duration", skip_serializing_if = "Option::is_none")]
    pub duration: Option<i64>,
    #[serde(rename = "minimumAmount", skip_serializing_if = "Option::is_none")]
    pub minimum_amount: Option<String>,
    #[serde(rename = "availableAmount", skip_serializing_if = "Option::is_none")]
    pub available_amount: Option<String>,
    #[serde(rename = "estimatedInterest", skip_serializing_if = "Option::is_none")]
    pub estimated_interest: Option<String>,
}

impl QueryVipLoanFixedRateMarketResponseRowsInner {
    #[must_use]
    pub fn new() -> QueryVipLoanFixedRateMarketResponseRowsInner {
        QueryVipLoanFixedRateMarketResponseRowsInner {
            request_id: None,
            request_no: None,
            coin: None,
            interest_rate: None,
            duration: None,
            minimum_amount: None,
            available_amount: None,
            estimated_interest: None,
        }
    }
}
