#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct RevoltConfig {
#[serde(rename = "revolt")]
pub revolt: String,
#[serde(rename = "features")]
pub features: Box<crate::models::RevoltConfigFeatures>,
#[serde(rename = "ws")]
pub ws: String,
#[serde(rename = "app")]
pub app: String,
#[serde(rename = "vapid")]
pub vapid: String,
#[serde(rename = "build")]
pub build: Box<crate::models::RevoltConfigBuild>,
}
impl RevoltConfig {
pub fn new(revolt: String, features: crate::models::RevoltConfigFeatures, ws: String, app: String, vapid: String, build: crate::models::RevoltConfigBuild) -> RevoltConfig {
RevoltConfig {
revolt,
features: Box::new(features),
ws,
app,
vapid,
build: Box::new(build),
}
}
}