#[allow(unused_imports)]
use serde_json::Value;
#[derive(Debug, Serialize, Deserialize)]
pub struct InlineResponse20020 {
#[serde(rename = "M")]
M: Option<i32>,
#[serde(rename = "E")]
E: Option<Vec<::models::InlineResponse20020E>>
}
impl InlineResponse20020 {
pub fn new() -> InlineResponse20020 {
InlineResponse20020 {
M: None,
E: None
}
}
pub fn set_M(&mut self, M: i32) {
self.M = Some(M);
}
pub fn with_M(mut self, M: i32) -> InlineResponse20020 {
self.M = Some(M);
self
}
pub fn M(&self) -> Option<&i32> {
self.M.as_ref()
}
pub fn reset_M(&mut self) {
self.M = None;
}
pub fn set_E(&mut self, E: Vec<::models::InlineResponse20020E>) {
self.E = Some(E);
}
pub fn with_E(mut self, E: Vec<::models::InlineResponse20020E>) -> InlineResponse20020 {
self.E = Some(E);
self
}
pub fn E(&self) -> Option<&Vec<::models::InlineResponse20020E>> {
self.E.as_ref()
}
pub fn reset_E(&mut self) {
self.E = None;
}
}