authentik-client 2026.2.3

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

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ContentType {
    #[serde(rename = "id")]
    pub id: i32,
    #[serde(rename = "app_label")]
    pub app_label: String,
    #[serde(rename = "model")]
    pub model: String,
    #[serde(rename = "verbose_name_plural")]
    pub verbose_name_plural: String,
}

impl ContentType {
    pub fn new(id: i32, app_label: String, model: String, verbose_name_plural: String) -> ContentType {
        ContentType {
            id,
            app_label,
            model,
            verbose_name_plural,
        }
    }
}