authentik_client/models/lifecycle_iteration_request.rs
1/*
2 * authentik
3 *
4 * Making authentication simple.
5 *
6 * The version of the OpenAPI document: 2026.2.0
7 * Contact: hello@goauthentik.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// LifecycleIterationRequest : Mixin to validate that a valid enterprise license exists before allowing to save the object
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct LifecycleIterationRequest {
17 #[serde(rename = "content_type")]
18 pub content_type: models::ContentTypeEnum,
19}
20
21impl LifecycleIterationRequest {
22 /// Mixin to validate that a valid enterprise license exists before allowing to save the object
23 pub fn new(content_type: models::ContentTypeEnum) -> LifecycleIterationRequest {
24 LifecycleIterationRequest { content_type }
25 }
26}