/*
 * 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 VipLoanRepayResponse {
    #[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 = "remainingPrincipal", skip_serializing_if = "Option::is_none")]
    pub remaining_principal: Option<String>,
    #[serde(rename = "remainingInterest", skip_serializing_if = "Option::is_none")]
    pub remaining_interest: Option<String>,
    #[serde(rename = "collateralCoin", skip_serializing_if = "Option::is_none")]
    pub collateral_coin: Option<String>,
    #[serde(rename = "currentLTV", skip_serializing_if = "Option::is_none")]
    pub current_ltv: Option<String>,
    #[serde(rename = "repayStatus", skip_serializing_if = "Option::is_none")]
    pub repay_status: Option<String>,
}

impl VipLoanRepayResponse {
    #[must_use]
    pub fn new() -> VipLoanRepayResponse {
        VipLoanRepayResponse {
            loan_coin: None,
            repay_amount: None,
            remaining_principal: None,
            remaining_interest: None,
            collateral_coin: None,
            current_ltv: None,
            repay_status: None,
        }
    }
}
