/*
* 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};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct IsDefault {
/// A flag indicating whether a scanner registration is default.
#[serde(rename = "is_default", skip_serializing_if = "Option::is_none")]
pub is_default: Option<bool>,
}
impl IsDefault {
pub fn new() -> IsDefault {
IsDefault {
is_default: None,
}
}
}