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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct NewBlockTradeOrderResponse {
    #[serde(
        rename = "blockTradeSettlementKey",
        skip_serializing_if = "Option::is_none"
    )]
    pub block_trade_settlement_key: Option<String>,
    #[serde(rename = "expireTime", skip_serializing_if = "Option::is_none")]
    pub expire_time: Option<i64>,
    #[serde(rename = "liquidity", skip_serializing_if = "Option::is_none")]
    pub liquidity: Option<String>,
    #[serde(rename = "status", skip_serializing_if = "Option::is_none")]
    pub status: Option<String>,
    #[serde(rename = "legs", skip_serializing_if = "Option::is_none")]
    pub legs: Option<Vec<models::ExtendBlockTradeOrderResponseLegsInner>>,
}

impl NewBlockTradeOrderResponse {
    #[must_use]
    pub fn new() -> NewBlockTradeOrderResponse {
        NewBlockTradeOrderResponse {
            block_trade_settlement_key: None,
            expire_time: None,
            liquidity: None,
            status: None,
            legs: None,
        }
    }
}
