/*
* 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 InlineResponse2002 {
/// Array of Daily Chess games where it is the player's turn to move
#[serde(rename = "games")]
pub games: Vec<crate::models::ToMoveGame>,
}
impl InlineResponse2002 {
pub fn new(games: Vec<crate::models::ToMoveGame>) -> InlineResponse2002 {
InlineResponse2002 {
games,
}
}
}