/*
 * Binance Derivatives Trading USDS Futures WebSocket API
 *
 * OpenAPI Specification for the Binance Derivatives Trading USDS Futures WebSocket 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_usds_futures::websocket_api::models;
use serde::{Deserialize, Deserializer, Serialize, de::Error};
use serde_json::Value;

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum SymbolPriceTickerResponse {
    SymbolPriceTickerResponse1(Box<models::SymbolPriceTickerResponse1>),
    SymbolPriceTickerResponse2(Box<models::SymbolPriceTickerResponse2>),
    Other(serde_json::Value),
}

impl Default for SymbolPriceTickerResponse {
    fn default() -> Self {
        Self::SymbolPriceTickerResponse1(Default::default())
    }
}
