/*
 * 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 FlexibleLoanAdjustLtvResponse {
    #[serde(rename = "loanCoin", skip_serializing_if = "Option::is_none")]
    pub loan_coin: Option<String>,
    #[serde(rename = "collateralCoin", skip_serializing_if = "Option::is_none")]
    pub collateral_coin: Option<String>,
    #[serde(rename = "direction", skip_serializing_if = "Option::is_none")]
    pub direction: Option<String>,
    #[serde(rename = "adjustmentAmount", skip_serializing_if = "Option::is_none")]
    pub adjustment_amount: Option<String>,
    #[serde(rename = "currentLTV", skip_serializing_if = "Option::is_none")]
    pub current_ltv: Option<String>,
    #[serde(rename = "status", skip_serializing_if = "Option::is_none")]
    pub status: Option<String>,
}

impl FlexibleLoanAdjustLtvResponse {
    #[must_use]
    pub fn new() -> FlexibleLoanAdjustLtvResponse {
        FlexibleLoanAdjustLtvResponse {
            loan_coin: None,
            collateral_coin: None,
            direction: None,
            adjustment_amount: None,
            current_ltv: None,
            status: None,
        }
    }
}
