/*
 * Ethereal Exchange API
 *
 * Ethereal HTTP API for real-time trading, order management, and market data access.
 *
 * The version of the OpenAPI document: 0.1.0
 *
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct RateLimitConfigResponseDto {
    /// List of rate limit endpoint configurations
    #[serde(rename = "data")]
    pub data: Vec<models::RateLimitConfigResponseDtoDataInner>,
}

impl RateLimitConfigResponseDto {
    pub fn new(
        data: Vec<models::RateLimitConfigResponseDtoDataInner>,
    ) -> RateLimitConfigResponseDto {
        RateLimitConfigResponseDto { data }
    }
}
