chesscom_openapi/models/inline_response_200_3.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 InlineResponse2003 {
16 /// List of URLs for monthly archives in ascending chronological order
17 #[serde(rename = "archives")]
18 pub archives: Vec<String>,
19}
20
21impl InlineResponse2003 {
22 pub fn new(archives: Vec<String>) -> InlineResponse2003 {
23 InlineResponse2003 {
24 archives,
25 }
26 }
27}
28
29