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 InlineResponse20011 {
#[serde(rename = "acctId")]
acct_id: Option<Value>
}
impl InlineResponse20011 {
pub fn new() -> InlineResponse20011 {
InlineResponse20011 {
acct_id: None
}
}
pub fn set_acct_id(&mut self, acct_id: Value) {
self.acct_id = Some(acct_id);
}
pub fn with_acct_id(mut self, acct_id: Value) -> InlineResponse20011 {
self.acct_id = Some(acct_id);
self
}
pub fn acct_id(&self) -> Option<&Value> {
self.acct_id.as_ref()
}
pub fn reset_acct_id(&mut self) {
self.acct_id = None;
}
}