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
#[allow(unused_imports)]
use serde_json::Value;
#[derive(Debug, Serialize, Deserialize)]
pub struct Body3 {
#[serde(rename = "acctIds")]
acct_ids: Option<Vec<String>>
}
impl Body3 {
pub fn new() -> Body3 {
Body3 {
acct_ids: None
}
}
pub fn set_acct_ids(&mut self, acct_ids: Vec<String>) {
self.acct_ids = Some(acct_ids);
}
pub fn with_acct_ids(mut self, acct_ids: Vec<String>) -> Body3 {
self.acct_ids = Some(acct_ids);
self
}
pub fn acct_ids(&self) -> Option<&Vec<String>> {
self.acct_ids.as_ref()
}
pub fn reset_acct_ids(&mut self) {
self.acct_ids = None;
}
}