authentik_rust/models/
patched_tenant_request.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/// PatchedTenantRequest : Tenant Serializer
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct PatchedTenantRequest {
16    #[serde(rename = "schema_name", skip_serializing_if = "Option::is_none")]
17    pub schema_name: Option<String>,
18    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
19    pub name: Option<String>,
20    #[serde(rename = "ready", skip_serializing_if = "Option::is_none")]
21    pub ready: Option<bool>,
22}
23
24impl PatchedTenantRequest {
25    /// Tenant Serializer
26    pub fn new() -> PatchedTenantRequest {
27        PatchedTenantRequest {
28            schema_name: None,
29            name: None,
30            ready: None,
31        }
32    }
33}
34