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 InlineResponse20033 {
  #[serde(rename = "BASE")]
  BASE: Option<::models::Ledger>
}

impl InlineResponse20033 {
  pub fn new() -> InlineResponse20033 {
    InlineResponse20033 {
      BASE: None
    }
  }

  pub fn set_BASE(&mut self, BASE: ::models::Ledger) {
    self.BASE = Some(BASE);
  }

  pub fn with_BASE(mut self, BASE: ::models::Ledger) -> InlineResponse20033 {
    self.BASE = Some(BASE);
    self
  }

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

  pub fn reset_BASE(&mut self) {
    self.BASE = None;
  }

}