/*
* Chess
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0
*
* Generated by: https://openapi-generator.tech
*/
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct InlineResponse2001 {
/// Array of Daily Chess games that a player is currently playing
#[serde(rename = "games")]
pub games: Vec<crate::models::DailyGame>,
}
impl InlineResponse2001 {
pub fn new(games: Vec<crate::models::DailyGame>) -> InlineResponse2001 {
InlineResponse2001 {
games,
}
}
}