chesscom_openapi/models/
inline_response_200.rs

1/*
2 * Chess
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct InlineResponse200 {
16    #[serde(rename = "online")]
17    pub online: bool,
18}
19
20impl InlineResponse200 {
21    pub fn new(online: bool) -> InlineResponse200 {
22        InlineResponse200 {
23            online,
24        }
25    }
26}
27
28