ib 3.0.0

A Rust client to the Interactive Brokers HTTP REST API
Documentation
/* 
 * Client Portal Web API
 *
 * Client Poral 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 InlineResponse20032 {
  #[serde(rename = "ACCTID")]
  ACCTID: Option<::models::Position>
}

impl InlineResponse20032 {
  pub fn new() -> InlineResponse20032 {
    InlineResponse20032 {
      ACCTID: None
    }
  }

  pub fn set_ACCTID(&mut self, ACCTID: ::models::Position) {
    self.ACCTID = Some(ACCTID);
  }

  pub fn with_ACCTID(mut self, ACCTID: ::models::Position) -> InlineResponse20032 {
    self.ACCTID = Some(ACCTID);
    self
  }

  pub fn ACCTID(&self) -> Option<&::models::Position> {
    self.ACCTID.as_ref()
  }

  pub fn reset_ACCTID(&mut self) {
    self.ACCTID = None;
  }

}