/*
* 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 DeviceGroup {
#[serde(rename = "id")]
pub id: String,
#[serde(rename = "name", skip_serializing_if = "Option::is_none")]
pub name: Option<String>,
}
impl DeviceGroup {
pub fn new(id: String) -> DeviceGroup {
DeviceGroup { id, name: None }
}
}