sonarr_api_rs/models/
unmapped_folder.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct UnmappedFolder {
16 #[serde(rename = "name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
17 pub name: Option<Option<String>>,
18 #[serde(rename = "path", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
19 pub path: Option<Option<String>>,
20 #[serde(rename = "relativePath", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
21 pub relative_path: Option<Option<String>>,
22}
23
24impl UnmappedFolder {
25 pub fn new() -> UnmappedFolder {
26 UnmappedFolder {
27 name: None,
28 path: None,
29 relative_path: None,
30 }
31 }
32}
33