/*
* authentik
*
* Making authentication simple.
*
* The version of the OpenAPI document: 2026.2.3
* Contact: hello@goauthentik.io
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// EventVolume : Count of events of action created on day
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct EventVolume {
#[serde(rename = "action")]
pub action: models::EventActions,
#[serde(rename = "time")]
pub time: String,
#[serde(rename = "count")]
pub count: i32,
}
impl EventVolume {
/// Count of events of action created on day
pub fn new(action: models::EventActions, time: String, count: i32) -> EventVolume {
EventVolume { action, time, count }
}
}