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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
#[allow(unused_imports)]
use serde_json::Value;
#[derive(Debug, Serialize, Deserialize)]
pub struct InlineResponse20027 {
#[serde(rename = "filter_list")]
filter_list: Option<Vec<::models::InlineResponse20027FilterList>>,
#[serde(rename = "instrument_list")]
instrument_list: Option<Vec<::models::InlineResponse20027InstrumentList>>,
#[serde(rename = "location_tree")]
location_tree: Option<Vec<::models::InlineResponse20027LocationTree>>,
#[serde(rename = "scan_type_list")]
scan_type_list: Option<Vec<::models::InlineResponse20027ScanTypeList>>
}
impl InlineResponse20027 {
pub fn new() -> InlineResponse20027 {
InlineResponse20027 {
filter_list: None,
instrument_list: None,
location_tree: None,
scan_type_list: None
}
}
pub fn set_filter_list(&mut self, filter_list: Vec<::models::InlineResponse20027FilterList>) {
self.filter_list = Some(filter_list);
}
pub fn with_filter_list(mut self, filter_list: Vec<::models::InlineResponse20027FilterList>) -> InlineResponse20027 {
self.filter_list = Some(filter_list);
self
}
pub fn filter_list(&self) -> Option<&Vec<::models::InlineResponse20027FilterList>> {
self.filter_list.as_ref()
}
pub fn reset_filter_list(&mut self) {
self.filter_list = None;
}
pub fn set_instrument_list(&mut self, instrument_list: Vec<::models::InlineResponse20027InstrumentList>) {
self.instrument_list = Some(instrument_list);
}
pub fn with_instrument_list(mut self, instrument_list: Vec<::models::InlineResponse20027InstrumentList>) -> InlineResponse20027 {
self.instrument_list = Some(instrument_list);
self
}
pub fn instrument_list(&self) -> Option<&Vec<::models::InlineResponse20027InstrumentList>> {
self.instrument_list.as_ref()
}
pub fn reset_instrument_list(&mut self) {
self.instrument_list = None;
}
pub fn set_location_tree(&mut self, location_tree: Vec<::models::InlineResponse20027LocationTree>) {
self.location_tree = Some(location_tree);
}
pub fn with_location_tree(mut self, location_tree: Vec<::models::InlineResponse20027LocationTree>) -> InlineResponse20027 {
self.location_tree = Some(location_tree);
self
}
pub fn location_tree(&self) -> Option<&Vec<::models::InlineResponse20027LocationTree>> {
self.location_tree.as_ref()
}
pub fn reset_location_tree(&mut self) {
self.location_tree = None;
}
pub fn set_scan_type_list(&mut self, scan_type_list: Vec<::models::InlineResponse20027ScanTypeList>) {
self.scan_type_list = Some(scan_type_list);
}
pub fn with_scan_type_list(mut self, scan_type_list: Vec<::models::InlineResponse20027ScanTypeList>) -> InlineResponse20027 {
self.scan_type_list = Some(scan_type_list);
self
}
pub fn scan_type_list(&self) -> Option<&Vec<::models::InlineResponse20027ScanTypeList>> {
self.scan_type_list.as_ref()
}
pub fn reset_scan_type_list(&mut self) {
self.scan_type_list = None;
}
}