use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct KeyInfos {
#[serde(rename = "description", skip_serializing_if = "Option::is_none")]
pub description: Option<String>,
#[serde(rename = "keyInformation")]
pub key_information: Box<models::KeyInfosKeyInformation>,
}
impl KeyInfos {
pub fn new(key_information: models::KeyInfosKeyInformation) -> KeyInfos {
KeyInfos {
description: None,
key_information: Box::new(key_information),
}
}
}