/*
* authentik
*
* Making authentication simple.
*
* The version of the OpenAPI document: 2026.2.2-rc1
* Contact: hello@goauthentik.io
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// ReviewRequest : Mixin to validate that a valid enterprise license exists before allowing to save the object
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ReviewRequest {
#[serde(rename = "iteration")]
pub iteration: uuid::Uuid,
#[serde(
rename = "note",
default,
with = "::serde_with::rust::double_option",
skip_serializing_if = "Option::is_none"
)]
pub note: Option<Option<String>>,
}
impl ReviewRequest {
/// Mixin to validate that a valid enterprise license exists before allowing to save the object
pub fn new(iteration: uuid::Uuid) -> ReviewRequest {
ReviewRequest { iteration, note: None }
}
}