authentik_client/models/
patched_application_entitlement_request.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[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 pub fn new() -> PatchedApplicationEntitlementRequest {
28 PatchedApplicationEntitlementRequest {
29 name: None,
30 app: None,
31 attributes: None,
32 }
33 }
34}