ib/models/
body_11.rs

1/* 
2 * Client Portal Web API
3 *
4 * Client Poral Web API
5 *
6 * OpenAPI spec version: 1.0.0
7 * 
8 * Generated by: https://github.com/swagger-api/swagger-codegen.git
9 */
10
11
12#[allow(unused_imports)]
13use serde_json::Value;
14
15#[derive(Debug, Serialize, Deserialize)]
16pub struct Body11 {
17  #[serde(rename = "conids")]
18  conids: Option<Vec<i32>>
19}
20
21impl Body11 {
22  pub fn new() -> Body11 {
23    Body11 {
24      conids: None
25    }
26  }
27
28  pub fn set_conids(&mut self, conids: Vec<i32>) {
29    self.conids = Some(conids);
30  }
31
32  pub fn with_conids(mut self, conids: Vec<i32>) -> Body11 {
33    self.conids = Some(conids);
34    self
35  }
36
37  pub fn conids(&self) -> Option<&Vec<i32>> {
38    self.conids.as_ref()
39  }
40
41  pub fn reset_conids(&mut self) {
42    self.conids = None;
43  }
44
45}
46
47
48