/* 
 * 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 InlineResponse20025 {
  /// true means market data is cancelled, false means it is not.
  #[serde(rename = "confirmed")]
  confirmed: Option<bool>
}

impl InlineResponse20025 {
  pub fn new() -> InlineResponse20025 {
    InlineResponse20025 {
      confirmed: None
    }
  }

  pub fn set_confirmed(&mut self, confirmed: bool) {
    self.confirmed = Some(confirmed);
  }

  pub fn with_confirmed(mut self, confirmed: bool) -> InlineResponse20025 {
    self.confirmed = Some(confirmed);
    self
  }

  pub fn confirmed(&self) -> Option<&bool> {
    self.confirmed.as_ref()
  }

  pub fn reset_confirmed(&mut self) {
    self.confirmed = None;
  }

}



