Skip to main content

akeyless_api/models/
gateway_status_migration.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/// GatewayStatusMigration : gatewayStatusMigration is a command that get migration status
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct GatewayStatusMigration {
17    /// Migration ID
18    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
19    pub id: Option<String>,
20    /// Set output format to JSON
21    #[serde(rename = "json", skip_serializing_if = "Option::is_none")]
22    pub json: Option<bool>,
23    /// Migration name to display
24    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
25    pub name: Option<String>,
26    /// Authentication token (see `/auth` and `/configure`)
27    #[serde(rename = "token", skip_serializing_if = "Option::is_none")]
28    pub token: Option<String>,
29    /// The universal identity token, Required only for universal_identity authentication
30    #[serde(rename = "uid-token", skip_serializing_if = "Option::is_none")]
31    pub uid_token: Option<String>,
32}
33
34impl GatewayStatusMigration {
35    /// gatewayStatusMigration is a command that get migration status
36    pub fn new() -> GatewayStatusMigration {
37        GatewayStatusMigration {
38            id: None,
39            json: None,
40            name: None,
41            token: None,
42            uid_token: None,
43        }
44    }
45}
46