#[allow(unused_imports)]
use serde_json::Value;
#[derive(Debug, Serialize, Deserialize)]
pub struct ScannerparamsInstrumentList {
#[serde(rename = "Instrument")]
instrument: Option<Vec<::models::ScannerparamsInstrumentListInstrument>>
}
impl ScannerparamsInstrumentList {
pub fn new() -> ScannerparamsInstrumentList {
ScannerparamsInstrumentList {
instrument: None
}
}
pub fn set_instrument(&mut self, instrument: Vec<::models::ScannerparamsInstrumentListInstrument>) {
self.instrument = Some(instrument);
}
pub fn with_instrument(mut self, instrument: Vec<::models::ScannerparamsInstrumentListInstrument>) -> ScannerparamsInstrumentList {
self.instrument = Some(instrument);
self
}
pub fn instrument(&self) -> Option<&Vec<::models::ScannerparamsInstrumentListInstrument>> {
self.instrument.as_ref()
}
pub fn reset_instrument(&mut self) {
self.instrument = None;
}
}