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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetDualInvestmentPositionsResponseListInner {
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<String>,
    #[serde(rename = "investCoin", skip_serializing_if = "Option::is_none")]
    pub invest_coin: Option<String>,
    #[serde(rename = "exercisedCoin", skip_serializing_if = "Option::is_none")]
    pub exercised_coin: Option<String>,
    #[serde(rename = "subscriptionAmount", skip_serializing_if = "Option::is_none")]
    pub subscription_amount: Option<String>,
    #[serde(rename = "strikePrice", skip_serializing_if = "Option::is_none")]
    pub strike_price: Option<String>,
    #[serde(rename = "duration", skip_serializing_if = "Option::is_none")]
    pub duration: Option<i64>,
    #[serde(rename = "settleDate", skip_serializing_if = "Option::is_none")]
    pub settle_date: Option<i64>,
    #[serde(rename = "purchaseStatus", skip_serializing_if = "Option::is_none")]
    pub purchase_status: Option<String>,
    #[serde(rename = "apr", skip_serializing_if = "Option::is_none")]
    pub apr: Option<String>,
    #[serde(rename = "orderId", skip_serializing_if = "Option::is_none")]
    pub order_id: Option<i64>,
    #[serde(rename = "purchaseEndTime", skip_serializing_if = "Option::is_none")]
    pub purchase_end_time: Option<i64>,
    #[serde(rename = "optionType", skip_serializing_if = "Option::is_none")]
    pub option_type: Option<String>,
    #[serde(rename = "autoCompoundPlan", skip_serializing_if = "Option::is_none")]
    pub auto_compound_plan: Option<String>,
}

impl GetDualInvestmentPositionsResponseListInner {
    #[must_use]
    pub fn new() -> GetDualInvestmentPositionsResponseListInner {
        GetDualInvestmentPositionsResponseListInner {
            id: None,
            invest_coin: None,
            exercised_coin: None,
            subscription_amount: None,
            strike_price: None,
            duration: None,
            settle_date: None,
            purchase_status: None,
            apr: None,
            order_id: None,
            purchase_end_time: None,
            option_type: None,
            auto_compound_plan: None,
        }
    }
}
