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
/* 
 * Client Portal Web API
 *
 * Production version of the Client Portal Web API
 *
 * OpenAPI spec version: 1.0.0
 * 
 * Generated by: https://github.com/swagger-api/swagger-codegen.git
 */


#[allow(unused_imports)]
use serde_json::Value;

#[derive(Debug, Serialize, Deserialize)]
pub struct InlineResponse2006 {
  #[serde(rename = "acctId")]
  acct_id: Option<String>,
  #[serde(rename = "set")]
  set: Option<bool>
}

impl InlineResponse2006 {
  pub fn new() -> InlineResponse2006 {
    InlineResponse2006 {
      acct_id: None,
      set: None
    }
  }

  pub fn set_acct_id(&mut self, acct_id: String) {
    self.acct_id = Some(acct_id);
  }

  pub fn with_acct_id(mut self, acct_id: String) -> InlineResponse2006 {
    self.acct_id = Some(acct_id);
    self
  }

  pub fn acct_id(&self) -> Option<&String> {
    self.acct_id.as_ref()
  }

  pub fn reset_acct_id(&mut self) {
    self.acct_id = None;
  }

  pub fn set_set(&mut self, set: bool) {
    self.set = Some(set);
  }

  pub fn with_set(mut self, set: bool) -> InlineResponse2006 {
    self.set = Some(set);
    self
  }

  pub fn set(&self) -> Option<&bool> {
    self.set.as_ref()
  }

  pub fn reset_set(&mut self) {
    self.set = None;
  }

}