Skip to main content

akeyless_api/models/
rotate_key_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/// RotateKeyOutput : RotateKeyOutput defines output of RotateKey operation
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct RotateKeyOutput {
17    #[serde(rename = "classic_key_gw_url", skip_serializing_if = "Option::is_none")]
18    pub classic_key_gw_url: Option<String>,
19    #[serde(rename = "item_type", skip_serializing_if = "Option::is_none")]
20    pub item_type: Option<String>,
21    #[serde(rename = "new_item_version", skip_serializing_if = "Option::is_none")]
22    pub new_item_version: Option<i32>,
23    #[serde(rename = "next_rotation_date", skip_serializing_if = "Option::is_none")]
24    pub next_rotation_date: Option<String>,
25}
26
27impl RotateKeyOutput {
28    /// RotateKeyOutput defines output of RotateKey operation
29    pub fn new() -> RotateKeyOutput {
30        RotateKeyOutput {
31            classic_key_gw_url: None,
32            item_type: None,
33            new_item_version: None,
34            next_rotation_date: None,
35        }
36    }
37}
38