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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ExchangeInformationResponse {
    #[serde(rename = "timezone", skip_serializing_if = "Option::is_none")]
    pub timezone: Option<String>,
    #[serde(rename = "serverTime", skip_serializing_if = "Option::is_none")]
    pub server_time: Option<i64>,
    #[serde(rename = "optionContracts", skip_serializing_if = "Option::is_none")]
    pub option_contracts: Option<Vec<models::ExchangeInformationResponseOptionContractsInner>>,
    #[serde(rename = "optionAssets", skip_serializing_if = "Option::is_none")]
    pub option_assets: Option<Vec<models::ExchangeInformationResponseOptionAssetsInner>>,
    #[serde(rename = "optionSymbols", skip_serializing_if = "Option::is_none")]
    pub option_symbols: Option<Vec<models::ExchangeInformationResponseOptionSymbolsInner>>,
    #[serde(rename = "rateLimits", skip_serializing_if = "Option::is_none")]
    pub rate_limits: Option<Vec<models::ExchangeInformationResponseRateLimitsInner>>,
}

impl ExchangeInformationResponse {
    #[must_use]
    pub fn new() -> ExchangeInformationResponse {
        ExchangeInformationResponse {
            timezone: None,
            server_time: None,
            option_contracts: None,
            option_assets: None,
            option_symbols: None,
            rate_limits: None,
        }
    }
}
