Skip to main content

authentik_client/models/
patched_static_device_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/// PatchedStaticDeviceRequest : Serializer for static authenticator devices
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct PatchedStaticDeviceRequest {
17    /// The human-readable name of this device.
18    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
19    pub name: Option<String>,
20}
21
22impl PatchedStaticDeviceRequest {
23    /// Serializer for static authenticator devices
24    pub fn new() -> PatchedStaticDeviceRequest {
25        PatchedStaticDeviceRequest { name: None }
26    }
27}