Skip to main content

akeyless_api/models/
usage_report_summary.rs

1/*
2 * Akeyless API
3 *
4 * The purpose of this application is to provide access to Akeyless API.
5 *
6 * The version of the OpenAPI document: 3.0
7 * Contact: support@akeyless.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct UsageReportSummary {
16    #[serde(rename = "clients_by_auth_method_types", skip_serializing_if = "Option::is_none")]
17    pub clients_by_auth_method_types: Option<std::collections::HashMap<String, i64>>,
18    #[serde(rename = "product", skip_serializing_if = "Option::is_none")]
19    pub product: Option<String>,
20    #[serde(rename = "secrets_by_types", skip_serializing_if = "Option::is_none")]
21    pub secrets_by_types: Option<std::collections::HashMap<String, i64>>,
22    #[serde(rename = "time", skip_serializing_if = "Option::is_none")]
23    pub time: Option<i64>,
24    #[serde(rename = "total_clients", skip_serializing_if = "Option::is_none")]
25    pub total_clients: Option<i64>,
26    #[serde(rename = "total_secrets", skip_serializing_if = "Option::is_none")]
27    pub total_secrets: Option<i64>,
28}
29
30impl UsageReportSummary {
31    pub fn new() -> UsageReportSummary {
32        UsageReportSummary {
33            clients_by_auth_method_types: None,
34            product: None,
35            secrets_by_types: None,
36            time: None,
37            total_clients: None,
38            total_secrets: None,
39        }
40    }
41}
42