/*
 * 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 WithdrawHistoryResponseInner {
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<String>,
    #[serde(rename = "amount", skip_serializing_if = "Option::is_none")]
    pub amount: Option<String>,
    #[serde(rename = "transactionFee", skip_serializing_if = "Option::is_none")]
    pub transaction_fee: Option<String>,
    #[serde(rename = "coin", skip_serializing_if = "Option::is_none")]
    pub coin: Option<String>,
    #[serde(rename = "status", skip_serializing_if = "Option::is_none")]
    pub status: Option<i64>,
    #[serde(rename = "address", skip_serializing_if = "Option::is_none")]
    pub address: Option<String>,
    #[serde(rename = "txId", skip_serializing_if = "Option::is_none")]
    pub tx_id: Option<String>,
    #[serde(rename = "applyTime", skip_serializing_if = "Option::is_none")]
    pub apply_time: Option<String>,
    #[serde(rename = "network", skip_serializing_if = "Option::is_none")]
    pub network: Option<String>,
    #[serde(rename = "transferType", skip_serializing_if = "Option::is_none")]
    pub transfer_type: Option<i64>,
    #[serde(rename = "withdrawOrderId", skip_serializing_if = "Option::is_none")]
    pub withdraw_order_id: Option<String>,
    #[serde(rename = "info", skip_serializing_if = "Option::is_none")]
    pub info: Option<String>,
    #[serde(rename = "confirmNo", skip_serializing_if = "Option::is_none")]
    pub confirm_no: Option<i64>,
    #[serde(rename = "walletType", skip_serializing_if = "Option::is_none")]
    pub wallet_type: Option<i64>,
    #[serde(rename = "txKey", skip_serializing_if = "Option::is_none")]
    pub tx_key: Option<String>,
    #[serde(rename = "completeTime", skip_serializing_if = "Option::is_none")]
    pub complete_time: Option<String>,
}

impl WithdrawHistoryResponseInner {
    #[must_use]
    pub fn new() -> WithdrawHistoryResponseInner {
        WithdrawHistoryResponseInner {
            id: None,
            amount: None,
            transaction_fee: None,
            coin: None,
            status: None,
            address: None,
            tx_id: None,
            apply_time: None,
            network: None,
            transfer_type: None,
            withdraw_order_id: None,
            info: None,
            confirm_no: None,
            wallet_type: None,
            tx_key: None,
            complete_time: None,
        }
    }
}
