Skip to main content

akeyless_api/models/
auth_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 AuthOutput {
16    #[serde(rename = "complete_auth_link", skip_serializing_if = "Option::is_none")]
17    pub complete_auth_link: Option<String>,
18    #[serde(rename = "creds", skip_serializing_if = "Option::is_none")]
19    pub creds: Option<Box<models::SystemAccessCredentialsReplyObj>>,
20    #[serde(rename = "expiration", skip_serializing_if = "Option::is_none")]
21    pub expiration: Option<String>,
22    #[serde(rename = "token", skip_serializing_if = "Option::is_none")]
23    pub token: Option<String>,
24}
25
26impl AuthOutput {
27    pub fn new() -> AuthOutput {
28        AuthOutput {
29            complete_auth_link: None,
30            creds: None,
31            expiration: None,
32            token: None,
33        }
34    }
35}
36