/*
* Revolt API
*
* Open source user-first chat platform.
*
* The version of the OpenAPI document: 0.6.5
* Contact: contact@revolt.chat
* Generated by: https://openapi-generator.tech
*/
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct DataBanCreate {
/// Ban reason
#[serde(rename = "reason", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub reason: Option<Option<String>>,
}
impl DataBanCreate {
pub fn new() -> DataBanCreate {
DataBanCreate {
reason: None,
}
}
}