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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DustConvertibleAssetsResponse {
    #[serde(rename = "dribbletPercentage", skip_serializing_if = "Option::is_none")]
    pub dribblet_percentage: Option<String>,
    #[serde(
        rename = "totalTransferQuotaAssetAmount",
        skip_serializing_if = "Option::is_none"
    )]
    pub total_transfer_quota_asset_amount: Option<String>,
    #[serde(
        rename = "totalTransferTargetAssetAmount",
        skip_serializing_if = "Option::is_none"
    )]
    pub total_transfer_target_asset_amount: Option<String>,
    #[serde(rename = "dribbletBase", skip_serializing_if = "Option::is_none")]
    pub dribblet_base: Option<String>,
    #[serde(rename = "details", skip_serializing_if = "Option::is_none")]
    pub details: Option<Vec<models::DustConvertibleAssetsResponseDetailsInner>>,
}

impl DustConvertibleAssetsResponse {
    #[must_use]
    pub fn new() -> DustConvertibleAssetsResponse {
        DustConvertibleAssetsResponse {
            dribblet_percentage: None,
            total_transfer_quota_asset_amount: None,
            total_transfer_target_asset_amount: None,
            dribblet_base: None,
            details: None,
        }
    }
}
