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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetLoanRepaymentHistoryResponseRowsInner {
    #[serde(rename = "loanCoin", skip_serializing_if = "Option::is_none")]
    pub loan_coin: Option<String>,
    #[serde(rename = "repayAmount", skip_serializing_if = "Option::is_none")]
    pub repay_amount: Option<String>,
    #[serde(rename = "collateralCoin", skip_serializing_if = "Option::is_none")]
    pub collateral_coin: Option<String>,
    #[serde(rename = "collateralUsed", skip_serializing_if = "Option::is_none")]
    pub collateral_used: Option<String>,
    #[serde(rename = "collateralReturn", skip_serializing_if = "Option::is_none")]
    pub collateral_return: Option<String>,
    #[serde(rename = "repayType", skip_serializing_if = "Option::is_none")]
    pub repay_type: Option<String>,
    #[serde(rename = "repayStatus", skip_serializing_if = "Option::is_none")]
    pub repay_status: Option<String>,
    #[serde(rename = "repayTime", skip_serializing_if = "Option::is_none")]
    pub repay_time: Option<i64>,
    #[serde(rename = "orderId", skip_serializing_if = "Option::is_none")]
    pub order_id: Option<i64>,
}

impl GetLoanRepaymentHistoryResponseRowsInner {
    #[must_use]
    pub fn new() -> GetLoanRepaymentHistoryResponseRowsInner {
        GetLoanRepaymentHistoryResponseRowsInner {
            loan_coin: None,
            repay_amount: None,
            collateral_coin: None,
            collateral_used: None,
            collateral_return: None,
            repay_type: None,
            repay_status: None,
            repay_time: None,
            order_id: None,
        }
    }
}
