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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TopTraderLongShortRatioPositionsResponseInner {
    #[serde(rename = "pair", skip_serializing_if = "Option::is_none")]
    pub pair: Option<String>,
    #[serde(rename = "longShortRatio", skip_serializing_if = "Option::is_none")]
    pub long_short_ratio: Option<String>,
    #[serde(rename = "longPosition", skip_serializing_if = "Option::is_none")]
    pub long_position: Option<String>,
    #[serde(rename = "shortPosition", skip_serializing_if = "Option::is_none")]
    pub short_position: Option<String>,
    #[serde(rename = "timestamp", skip_serializing_if = "Option::is_none")]
    pub timestamp: Option<i64>,
}

impl TopTraderLongShortRatioPositionsResponseInner {
    #[must_use]
    pub fn new() -> TopTraderLongShortRatioPositionsResponseInner {
        TopTraderLongShortRatioPositionsResponseInner {
            pair: None,
            long_short_ratio: None,
            long_position: None,
            short_position: None,
            timestamp: None,
        }
    }
}
