/*
* authentik
*
* Making authentication simple.
*
* The version of the OpenAPI document: 2026.2.2-rc1
* 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 Process {
#[serde(rename = "id")]
pub id: i32,
#[serde(rename = "name")]
pub name: String,
#[serde(rename = "user", skip_serializing_if = "Option::is_none")]
pub user: Option<String>,
}
impl Process {
pub fn new(id: i32, name: String) -> Process {
Process { id, name, user: None }
}
}