/*
* Harbor API
*
* These APIs provide services for manipulating Harbor project.
*
* The version of the OpenAPI document: 2.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// CveAllowlistItem : The item in CVE allowlist
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CveAllowlistItem {
/// The ID of the CVE, such as \"CVE-2019-10164\"
#[serde(rename = "cve_id", skip_serializing_if = "Option::is_none")]
pub cve_id: Option<String>,
}
impl CveAllowlistItem {
/// The item in CVE allowlist
pub fn new() -> CveAllowlistItem {
CveAllowlistItem {
cve_id: None,
}
}
}