#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct DataEditChannel {
#[serde(rename = "name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub name: Option<Option<String>>,
#[serde(rename = "description", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub description: Option<Option<String>>,
#[serde(rename = "owner", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub owner: Option<Option<String>>,
#[serde(rename = "icon", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub icon: Option<Option<String>>,
#[serde(rename = "nsfw", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub nsfw: Option<Option<bool>>,
#[serde(rename = "archived", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub archived: Option<Option<bool>>,
#[serde(rename = "remove", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub remove: Option<Option<Vec<crate::models::FieldsChannel>>>,
}
impl DataEditChannel {
pub fn new() -> DataEditChannel {
DataEditChannel {
name: None,
description: None,
owner: None,
icon: None,
nsfw: None,
archived: None,
remove: None,
}
}
}