Skip to main content

akeyless_api/models/
reverse_rbac_client.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 ReverseRbacClient {
16    #[serde(rename = "assocs", skip_serializing_if = "Option::is_none")]
17    pub assocs: Option<Vec<models::AuthMethodRoleAssociation>>,
18    #[serde(rename = "auth_method_id", skip_serializing_if = "Option::is_none")]
19    pub auth_method_id: Option<i64>,
20    #[serde(rename = "auth_method_name", skip_serializing_if = "Option::is_none")]
21    pub auth_method_name: Option<String>,
22}
23
24impl ReverseRbacClient {
25    pub fn new() -> ReverseRbacClient {
26        ReverseRbacClient {
27            assocs: None,
28            auth_method_id: None,
29            auth_method_name: None,
30        }
31    }
32}
33