#[allow(unused_imports)]
use serde_json::Value;
#[derive(Debug, Serialize, Deserialize)]
pub struct InlineResponse20015 {
#[serde(rename = "id")]
id: Option<String>,
#[serde(rename = "message")]
message: Option<Vec<String>>
}
impl InlineResponse20015 {
pub fn new() -> InlineResponse20015 {
InlineResponse20015 {
id: None,
message: None
}
}
pub fn set_id(&mut self, id: String) {
self.id = Some(id);
}
pub fn with_id(mut self, id: String) -> InlineResponse20015 {
self.id = Some(id);
self
}
pub fn id(&self) -> Option<&String> {
self.id.as_ref()
}
pub fn reset_id(&mut self) {
self.id = None;
}
pub fn set_message(&mut self, message: Vec<String>) {
self.message = Some(message);
}
pub fn with_message(mut self, message: Vec<String>) -> InlineResponse20015 {
self.message = Some(message);
self
}
pub fn message(&self) -> Option<&Vec<String>> {
self.message.as_ref()
}
pub fn reset_message(&mut self) {
self.message = None;
}
}