ib/models/
inline_response_200_10.rs1#[allow(unused_imports)]
13use serde_json::Value;
14
15#[derive(Debug, Serialize, Deserialize)]
16pub struct InlineResponse20010 {
17 #[serde(rename = "applicantId")]
18 applicant_id: Option<f32>,
19 #[serde(rename = "entities")]
20 entities: Option<Vec<::models::IbcustentityinfoEntities>>
21}
22
23impl InlineResponse20010 {
24 pub fn new() -> InlineResponse20010 {
25 InlineResponse20010 {
26 applicant_id: None,
27 entities: None
28 }
29 }
30
31 pub fn set_applicant_id(&mut self, applicant_id: f32) {
32 self.applicant_id = Some(applicant_id);
33 }
34
35 pub fn with_applicant_id(mut self, applicant_id: f32) -> InlineResponse20010 {
36 self.applicant_id = Some(applicant_id);
37 self
38 }
39
40 pub fn applicant_id(&self) -> Option<&f32> {
41 self.applicant_id.as_ref()
42 }
43
44 pub fn reset_applicant_id(&mut self) {
45 self.applicant_id = None;
46 }
47
48 pub fn set_entities(&mut self, entities: Vec<::models::IbcustentityinfoEntities>) {
49 self.entities = Some(entities);
50 }
51
52 pub fn with_entities(mut self, entities: Vec<::models::IbcustentityinfoEntities>) -> InlineResponse20010 {
53 self.entities = Some(entities);
54 self
55 }
56
57 pub fn entities(&self) -> Option<&Vec<::models::IbcustentityinfoEntities>> {
58 self.entities.as_ref()
59 }
60
61 pub fn reset_entities(&mut self) {
62 self.entities = None;
63 }
64
65}
66
67
68