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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetAllMarginAssetsResponseInner {
    #[serde(rename = "assetFullName", skip_serializing_if = "Option::is_none")]
    pub asset_full_name: Option<String>,
    #[serde(rename = "assetName", skip_serializing_if = "Option::is_none")]
    pub asset_name: Option<String>,
    #[serde(rename = "isBorrowable", skip_serializing_if = "Option::is_none")]
    pub is_borrowable: Option<bool>,
    #[serde(rename = "isMortgageable", skip_serializing_if = "Option::is_none")]
    pub is_mortgageable: Option<bool>,
    #[serde(rename = "userMinBorrow", skip_serializing_if = "Option::is_none")]
    pub user_min_borrow: Option<String>,
    #[serde(rename = "userMinRepay", skip_serializing_if = "Option::is_none")]
    pub user_min_repay: Option<String>,
    #[serde(rename = "delistTime", skip_serializing_if = "Option::is_none")]
    pub delist_time: Option<i64>,
}

impl GetAllMarginAssetsResponseInner {
    #[must_use]
    pub fn new() -> GetAllMarginAssetsResponseInner {
        GetAllMarginAssetsResponseInner {
            asset_full_name: None,
            asset_name: None,
            is_borrowable: None,
            is_mortgageable: None,
            user_min_borrow: None,
            user_min_repay: None,
            delist_time: None,
        }
    }
}
