use serde::{Deserialize, Serialize};
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetStatus200ResponseLeaderboards {
#[serde(rename = "mostCredits")]
pub most_credits: Vec<crate::models::GetStatus200ResponseLeaderboardsMostCreditsInner>,
#[serde(rename = "mostSubmittedCharts")]
pub most_submitted_charts:
Vec<crate::models::GetStatus200ResponseLeaderboardsMostSubmittedChartsInner>,
}
impl GetStatus200ResponseLeaderboards {
#[allow(clippy::too_many_arguments)]
pub fn new(
most_credits: Vec<crate::models::GetStatus200ResponseLeaderboardsMostCreditsInner>,
most_submitted_charts: Vec<
crate::models::GetStatus200ResponseLeaderboardsMostSubmittedChartsInner,
>,
) -> GetStatus200ResponseLeaderboards {
GetStatus200ResponseLeaderboards {
most_credits,
most_submitted_charts,
}
}
}