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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetNftTransactionHistoryResponseListInner {
    #[serde(rename = "orderNo", skip_serializing_if = "Option::is_none")]
    pub order_no: Option<String>,
    #[serde(rename = "tokens", skip_serializing_if = "Option::is_none")]
    pub tokens: Option<Vec<models::GetNftTransactionHistoryResponseListInnerTokensInner>>,
    #[serde(rename = "tradeTime", skip_serializing_if = "Option::is_none")]
    pub trade_time: Option<i64>,
    #[serde(rename = "tradeAmount", skip_serializing_if = "Option::is_none")]
    pub trade_amount: Option<String>,
    #[serde(rename = "tradeCurrency", skip_serializing_if = "Option::is_none")]
    pub trade_currency: Option<String>,
}

impl GetNftTransactionHistoryResponseListInner {
    #[must_use]
    pub fn new() -> GetNftTransactionHistoryResponseListInner {
        GetNftTransactionHistoryResponseListInner {
            order_no: None,
            tokens: None,
            trade_time: None,
            trade_amount: None,
            trade_currency: None,
        }
    }
}
