Skip to main content

akeyless_api/models/
auth_method_create_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 AuthMethodCreateOutput {
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    #[serde(rename = "prv_key", skip_serializing_if = "Option::is_none")]
23    pub prv_key: Option<String>,
24}
25
26impl AuthMethodCreateOutput {
27    pub fn new() -> AuthMethodCreateOutput {
28        AuthMethodCreateOutput {
29            access_id: None,
30            access_key: None,
31            name: None,
32            prv_key: None,
33        }
34    }
35}
36