/*
* 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 LeaderboardResponse {
#[serde(rename = "data")]
pub data: Vec<models::LeaderboardEntry>,
}
impl LeaderboardResponse {
pub fn new(data: Vec<models::LeaderboardEntry>) -> LeaderboardResponse {
LeaderboardResponse {
data,
}
}
}