authentik-client 2026.5.0-rc2

Making authentication simple.
Documentation
/*
 * authentik
 *
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.5.0-rc2
 * 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 PatchedAppleIndependentSecureEnclaveRequest {
    #[serde(rename = "uuid", skip_serializing_if = "Option::is_none")]
    pub uuid: Option<uuid::Uuid>,
    /// The user that this device belongs to.
    #[serde(rename = "user", skip_serializing_if = "Option::is_none")]
    pub user: Option<i32>,
    #[serde(rename = "apple_secure_enclave_key", skip_serializing_if = "Option::is_none")]
    pub apple_secure_enclave_key: Option<String>,
    #[serde(rename = "apple_enclave_key_id", skip_serializing_if = "Option::is_none")]
    pub apple_enclave_key_id: Option<String>,
    #[serde(rename = "device_type", skip_serializing_if = "Option::is_none")]
    pub device_type: Option<String>,
}

impl PatchedAppleIndependentSecureEnclaveRequest {
    pub fn new() -> PatchedAppleIndependentSecureEnclaveRequest {
        PatchedAppleIndependentSecureEnclaveRequest {
            uuid: None,
            user: None,
            apple_secure_enclave_key: None,
            apple_enclave_key_id: None,
            device_type: None,
        }
    }
}