Skip to main content

authentik_client/models/
user_path.rs

1/*
2 * authentik
3 *
4 * Making authentication simple.
5 *
6 * The version of the OpenAPI document: 2026.2.1
7 * Contact: hello@goauthentik.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct UserPath {
16    #[serde(rename = "paths")]
17    pub paths: Vec<String>,
18}
19
20impl UserPath {
21    pub fn new(paths: Vec<String>) -> UserPath {
22        UserPath { paths }
23    }
24}