authentik-client 2026.2.2-rc2

Making authentication simple.
Documentation
/*
 * authentik
 *
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.2-rc2
 * Contact: hello@goauthentik.io
 * Generated by: https://openapi-generator.tech
 */

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

/// LifecycleIterationRequest : Mixin to validate that a valid enterprise license exists before allowing to save the object
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct LifecycleIterationRequest {
    #[serde(rename = "content_type")]
    pub content_type: models::ContentTypeEnum,
}

impl LifecycleIterationRequest {
    /// Mixin to validate that a valid enterprise license exists before allowing to save the object
    pub fn new(content_type: models::ContentTypeEnum) -> LifecycleIterationRequest {
        LifecycleIterationRequest { content_type }
    }
}