radarr_api_rs/models/
api_info_resource.rs

1/*
2 * Radarr
3 *
4 * Radarr API docs
5 *
6 * The version of the OpenAPI document: 3.0.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ApiInfoResource {
16    #[serde(rename = "current", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
17    pub current: Option<Option<String>>,
18    #[serde(rename = "deprecated", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
19    pub deprecated: Option<Option<Vec<String>>>,
20}
21
22impl ApiInfoResource {
23    pub fn new() -> ApiInfoResource {
24        ApiInfoResource {
25            current: None,
26            deprecated: None,
27        }
28    }
29}
30
31