/*
 * 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 VipLoanRenewResponse {
    #[serde(rename = "loanAccountId", skip_serializing_if = "Option::is_none")]
    pub loan_account_id: Option<String>,
    #[serde(rename = "loanCoin", skip_serializing_if = "Option::is_none")]
    pub loan_coin: Option<String>,
    #[serde(rename = "loanAmount", skip_serializing_if = "Option::is_none")]
    pub loan_amount: Option<String>,
    #[serde(
        rename = "collateralAccountId",
        skip_serializing_if = "Option::is_none"
    )]
    pub collateral_account_id: Option<String>,
    #[serde(rename = "collateralCoin", skip_serializing_if = "Option::is_none")]
    pub collateral_coin: Option<String>,
    #[serde(rename = "loanTerm", skip_serializing_if = "Option::is_none")]
    pub loan_term: Option<String>,
}

impl VipLoanRenewResponse {
    #[must_use]
    pub fn new() -> VipLoanRenewResponse {
        VipLoanRenewResponse {
            loan_account_id: None,
            loan_coin: None,
            loan_amount: None,
            collateral_account_id: None,
            collateral_coin: None,
            loan_term: None,
        }
    }
}
