#[allow(unused_imports)]
use serde_json::Value;
#[derive(Debug, Serialize, Deserialize)]
pub struct SetAccount {
#[serde(rename = "acctId")]
acct_id: Option<String>
}
impl SetAccount {
pub fn new() -> SetAccount {
SetAccount {
acct_id: None
}
}
pub fn set_acct_id(&mut self, acct_id: String) {
self.acct_id = Some(acct_id);
}
pub fn with_acct_id(mut self, acct_id: String) -> SetAccount {
self.acct_id = Some(acct_id);
self
}
pub fn acct_id(&self) -> Option<&String> {
self.acct_id.as_ref()
}
pub fn reset_acct_id(&mut self) {
self.acct_id = None;
}
}