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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetFuturesPositionRiskOfSubAccountV2ResponseDeliveryPositionRiskVosInner {
    #[serde(rename = "entryPrice", skip_serializing_if = "Option::is_none")]
    pub entry_price: Option<String>,
    #[serde(rename = "markPrice", skip_serializing_if = "Option::is_none")]
    pub mark_price: Option<String>,
    #[serde(rename = "leverage", skip_serializing_if = "Option::is_none")]
    pub leverage: Option<String>,
    #[serde(rename = "isolated", skip_serializing_if = "Option::is_none")]
    pub isolated: Option<String>,
    #[serde(rename = "isolatedWallet", skip_serializing_if = "Option::is_none")]
    pub isolated_wallet: Option<String>,
    #[serde(rename = "isolatedMargin", skip_serializing_if = "Option::is_none")]
    pub isolated_margin: Option<String>,
    #[serde(rename = "isAutoAddMargin", skip_serializing_if = "Option::is_none")]
    pub is_auto_add_margin: Option<String>,
    #[serde(rename = "positionSide", skip_serializing_if = "Option::is_none")]
    pub position_side: Option<String>,
    #[serde(rename = "positionAmount", skip_serializing_if = "Option::is_none")]
    pub position_amount: Option<String>,
    #[serde(rename = "symbol", skip_serializing_if = "Option::is_none")]
    pub symbol: Option<String>,
    #[serde(rename = "unrealizedProfit", skip_serializing_if = "Option::is_none")]
    pub unrealized_profit: Option<String>,
}

impl GetFuturesPositionRiskOfSubAccountV2ResponseDeliveryPositionRiskVosInner {
    #[must_use]
    pub fn new() -> GetFuturesPositionRiskOfSubAccountV2ResponseDeliveryPositionRiskVosInner {
        GetFuturesPositionRiskOfSubAccountV2ResponseDeliveryPositionRiskVosInner {
            entry_price: None,
            mark_price: None,
            leverage: None,
            isolated: None,
            isolated_wallet: None,
            isolated_margin: None,
            is_auto_add_margin: None,
            position_side: None,
            position_amount: None,
            symbol: None,
            unrealized_profit: None,
        }
    }
}
