#![allow(unused_imports)]
use serde_json::Value;
use bigdecimal::BigDecimal;
use chrono::{NaiveDateTime, DateTime, FixedOffset, Utc};
use crate::models::*;
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct InlineResponse20010 {
#[serde(rename = "status")]
status: String, #[serde(rename = "symbol")]
symbol: String, #[serde(rename = "last")]
last: LastQuote
}
impl InlineResponse20010 {
pub fn new(status: String, symbol: String, last: LastQuote, ) -> InlineResponse20010 {
InlineResponse20010 {
status: status,
symbol: symbol,
last: last
}
}
pub fn set_status(&mut self, status: String) {
self.status = status;
}
pub fn with_status(mut self, status: String) -> InlineResponse20010 {
self.status = status;
self
}
pub fn status(&self) -> &String {
&self.status
}
pub fn set_symbol(&mut self, symbol: String) {
self.symbol = symbol;
}
pub fn with_symbol(mut self, symbol: String) -> InlineResponse20010 {
self.symbol = symbol;
self
}
pub fn symbol(&self) -> &String {
&self.symbol
}
pub fn set_last(&mut self, last: LastQuote) {
self.last = last;
}
pub fn with_last(mut self, last: LastQuote) -> InlineResponse20010 {
self.last = last;
self
}
pub fn last(&self) -> &LastQuote {
&self.last
}
}