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 Body8 {
  #[serde(rename = "acctIds")]
  acct_ids: Option<Vec<String>>
}

impl Body8 {
  pub fn new() -> Body8 {
    Body8 {
      acct_ids: None
    }
  }

  pub fn set_acct_ids(&mut self, acct_ids: Vec<String>) {
    self.acct_ids = Some(acct_ids);
  }

  pub fn with_acct_ids(mut self, acct_ids: Vec<String>) -> Body8 {
    self.acct_ids = Some(acct_ids);
    self
  }

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

  pub fn reset_acct_ids(&mut self) {
    self.acct_ids = None;
  }

}