authentik_client/models/
patched_application_entitlement_request.rs

1/*
2 * authentik
3 *
4 * Making authentication simple.
5 *
6 * The version of the OpenAPI document: 2025.10.2
7 * Contact: hello@goauthentik.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// PatchedApplicationEntitlementRequest : ApplicationEntitlement Serializer
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct PatchedApplicationEntitlementRequest {
17    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
18    pub name: Option<String>,
19    #[serde(rename = "app", skip_serializing_if = "Option::is_none")]
20    pub app: Option<uuid::Uuid>,
21    #[serde(rename = "attributes", skip_serializing_if = "Option::is_none")]
22    pub attributes: Option<std::collections::HashMap<String, serde_json::Value>>,
23}
24
25impl PatchedApplicationEntitlementRequest {
26    /// ApplicationEntitlement Serializer
27    pub fn new() -> PatchedApplicationEntitlementRequest {
28        PatchedApplicationEntitlementRequest {
29            name: None,
30            app: None,
31            attributes: None,
32        }
33    }
34}