enbbox 1.0.1

Notification infrastructure API — open-source alternative to Novu/Courier
Documentation
/*
 * enbbox API
 *
 * Notification infrastructure API — open-source alternative to Novu/Courier
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// UpdateProject : Partial update of a project's name or branding settings.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UpdateProject {
    /// Branding configuration (logo, colors, fonts) for white-label notification UIs.
    #[serde(rename = "branding", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub branding: Option<Option<models::Branding>>,
    /// Updated project display name.
    #[serde(rename = "name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub name: Option<Option<String>>,
}

impl UpdateProject {
    /// Partial update of a project's name or branding settings.
    pub fn new() -> UpdateProject {
        UpdateProject {
            branding: None,
            name: None,
        }
    }
}