/*
* 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 BoolConfigItem {
/// The boolean value of current config item
#[serde(rename = "value", skip_serializing_if = "Option::is_none")]
pub value: Option<bool>,
/// The configure item can be updated or not
#[serde(rename = "editable", skip_serializing_if = "Option::is_none")]
pub editable: Option<bool>,
}
impl BoolConfigItem {
pub fn new() -> BoolConfigItem {
BoolConfigItem {
value: None,
editable: None,
}
}
}