radarr_api_rs/models/
remote_path_mapping_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 RemotePathMappingResource {
16    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
17    pub id: Option<i32>,
18    #[serde(rename = "host", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
19    pub host: Option<Option<String>>,
20    #[serde(rename = "remotePath", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
21    pub remote_path: Option<Option<String>>,
22    #[serde(rename = "localPath", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
23    pub local_path: Option<Option<String>>,
24}
25
26impl RemotePathMappingResource {
27    pub fn new() -> RemotePathMappingResource {
28        RemotePathMappingResource {
29            id: None,
30            host: None,
31            remote_path: None,
32            local_path: None,
33        }
34    }
35}
36
37