Skip to main content

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