/*
 * Websocket Subscription Schemas
 *
 * Schema definitions Websocket API subscriptions for Thalex exchange.
 *
 * The version of the OpenAPI document: 1.0.0
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Added {
    #[serde(rename = "added")]
    pub added: models::Instrument,
}

impl Added {
    pub fn new(added: models::Instrument) -> Added {
        Added { added }
    }
}
