/*
* Hanzo Cloud API
*
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
*
* The version of the OpenAPI document: v1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct RevokedKey {
/// OK is true when the key was revoked. A failure is an error status, never a false here.
#[serde(rename = "ok", skip_serializing_if = "Option::is_none")]
pub ok: Option<bool>,
/// Type is the key class that was revoked, resolved — so a caller that named nothing can see it revoked the secret key.
#[serde(rename = "type", skip_serializing_if = "Option::is_none")]
pub r#type: Option<String>,
}
impl RevokedKey {
pub fn new() -> RevokedKey {
RevokedKey {
ok: None,
r#type: None,
}
}
}