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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct QueryManagedSubAccountAssetDetailsResponseInner {
    #[serde(rename = "coin", skip_serializing_if = "Option::is_none")]
    pub coin: Option<String>,
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    #[serde(rename = "totalBalance", skip_serializing_if = "Option::is_none")]
    pub total_balance: Option<String>,
    #[serde(rename = "availableBalance", skip_serializing_if = "Option::is_none")]
    pub available_balance: Option<String>,
    #[serde(rename = "inOrder", skip_serializing_if = "Option::is_none")]
    pub in_order: Option<String>,
    #[serde(rename = "btcValue", skip_serializing_if = "Option::is_none")]
    pub btc_value: Option<String>,
}

impl QueryManagedSubAccountAssetDetailsResponseInner {
    #[must_use]
    pub fn new() -> QueryManagedSubAccountAssetDetailsResponseInner {
        QueryManagedSubAccountAssetDetailsResponseInner {
            coin: None,
            name: None,
            total_balance: None,
            available_balance: None,
            in_order: None,
            btc_value: None,
        }
    }
}
