/*
* Windmill API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.770.0
* Contact: contact@windmill.dev
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ProjectLogoBody {
#[serde(rename = "logo", deserialize_with = "Option::deserialize")]
pub logo: Option<Box<models::ProjectLogoBodyLogo>>,
}
impl ProjectLogoBody {
pub fn new(logo: Option<models::ProjectLogoBodyLogo>) -> ProjectLogoBody {
ProjectLogoBody {
logo: if let Some(x) = logo {Some(Box::new(x))} else {None},
}
}
}