harbor_api/models/
internal_configuration_value.rs

1/*
2 * Harbor API
3 *
4 * These APIs provide services for manipulating Harbor project.
5 *
6 * The version of the OpenAPI document: 2.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct InternalConfigurationValue {
16    /// The value of current config item
17    #[serde(rename = "value", skip_serializing_if = "Option::is_none")]
18    pub value: Option<serde_json::Value>,
19    /// The configure item can be updated or not
20    #[serde(rename = "editable", skip_serializing_if = "Option::is_none")]
21    pub editable: Option<bool>,
22}
23
24impl InternalConfigurationValue {
25    pub fn new() -> InternalConfigurationValue {
26        InternalConfigurationValue {
27            value: None,
28            editable: None,
29        }
30    }
31}
32