#[allow(unused_imports)]
use serde_json::Value;
#[derive(Debug, Serialize, Deserialize)]
pub struct InlineResponse20027Locations {
#[serde(rename = "display_name")]
display_name: Option<String>,
#[serde(rename = "type")]
_type: Option<String>
}
impl InlineResponse20027Locations {
pub fn new() -> InlineResponse20027Locations {
InlineResponse20027Locations {
display_name: None,
_type: None
}
}
pub fn set_display_name(&mut self, display_name: String) {
self.display_name = Some(display_name);
}
pub fn with_display_name(mut self, display_name: String) -> InlineResponse20027Locations {
self.display_name = Some(display_name);
self
}
pub fn display_name(&self) -> Option<&String> {
self.display_name.as_ref()
}
pub fn reset_display_name(&mut self) {
self.display_name = None;
}
pub fn set__type(&mut self, _type: String) {
self._type = Some(_type);
}
pub fn with__type(mut self, _type: String) -> InlineResponse20027Locations {
self._type = Some(_type);
self
}
pub fn _type(&self) -> Option<&String> {
self._type.as_ref()
}
pub fn reset__type(&mut self) {
self._type = None;
}
}