1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
 * Radarr
 *
 * Radarr API docs
 *
 * The version of the OpenAPI document: 3.0.0
 * 
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct IndexerBulkResource {
    #[serde(rename = "ids", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub ids: Option<Option<Vec<i32>>>,
    #[serde(rename = "tags", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub tags: Option<Option<Vec<i32>>>,
    #[serde(rename = "applyTags", skip_serializing_if = "Option::is_none")]
    pub apply_tags: Option<crate::models::ApplyTags>,
    #[serde(rename = "enableRss", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub enable_rss: Option<Option<bool>>,
    #[serde(rename = "enableAutomaticSearch", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub enable_automatic_search: Option<Option<bool>>,
    #[serde(rename = "enableInteractiveSearch", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub enable_interactive_search: Option<Option<bool>>,
    #[serde(rename = "priority", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub priority: Option<Option<i32>>,
}

impl IndexerBulkResource {
    pub fn new() -> IndexerBulkResource {
        IndexerBulkResource {
            ids: None,
            tags: None,
            apply_tags: None,
            enable_rss: None,
            enable_automatic_search: None,
            enable_interactive_search: None,
            priority: None,
        }
    }
}