Skip to main content

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