Skip to main content

akeyless_api/models/
client_usage_info.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 ClientUsageInfo {
16    #[serde(rename = "access_id", skip_serializing_if = "Option::is_none")]
17    pub access_id: Option<String>,
18    #[serde(rename = "access_type", skip_serializing_if = "Option::is_none")]
19    pub access_type: Option<String>,
20    #[serde(rename = "auth_method_name", skip_serializing_if = "Option::is_none")]
21    pub auth_method_name: Option<String>,
22    #[serde(rename = "client_unique_id", skip_serializing_if = "Option::is_none")]
23    pub client_unique_id: Option<String>,
24    #[serde(rename = "exceeded_clients", skip_serializing_if = "Option::is_none")]
25    pub exceeded_clients: Option<i64>,
26}
27
28impl ClientUsageInfo {
29    pub fn new() -> ClientUsageInfo {
30        ClientUsageInfo {
31            access_id: None,
32            access_type: None,
33            auth_method_name: None,
34            client_unique_id: None,
35            exceeded_clients: None,
36        }
37    }
38}
39