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};

/// MdmConfigResponse : Base serializer class which doesn't implement create/update methods
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct MdmConfigResponse {
    #[serde(rename = "config")]
    pub config: String,
    #[serde(rename = "mime_type")]
    pub mime_type: String,
    #[serde(rename = "filename")]
    pub filename: String,
}

impl MdmConfigResponse {
    /// Base serializer class which doesn't implement create/update methods
    pub fn new(config: String, mime_type: String, filename: String) -> MdmConfigResponse {
        MdmConfigResponse {
            config,
            mime_type,
            filename,
        }
    }
}