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