bluefin_api 1.7.0

Bluefin API
Documentation
/*
 * Bluefin API
 *
 * Bluefin API
 *
 * 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 StatsResponse {
    #[serde(rename = "data")]
    pub data: Vec<models::StatsEntry>,
}

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