use crate::common;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct PutSettingsResponse {
#[serde(rename = "persistent")]
pub persistent: serde_json::Value,
#[serde(rename = "acknowledged")]
pub acknowledged: bool,
#[serde(rename = "transient")]
pub transient: serde_json::Value,
}
impl PutSettingsResponse {
pub fn new(persistent: serde_json::Value, acknowledged: bool, transient: serde_json::Value) -> PutSettingsResponse {
PutSettingsResponse {
persistent,
acknowledged,
transient,
}
}
}