authentik_client/models/cache.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/// Cache : Generic cache stats for an object
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct Cache {
17 #[serde(rename = "count")]
18 pub count: i32,
19}
20
21impl Cache {
22 /// Generic cache stats for an object
23 pub fn new(count: i32) -> Cache {
24 Cache { count }
25 }
26}