Skip to main content

clientapi_pbs/models/
pbs_remove_vanished_config.rs

1/*
2 * Proxmox Backup Server API
3 *
4 * Generated from apidoc.js. NOT an official Proxmox specification. See https://pbs.proxmox.com/docs/api-viewer/ for the upstream documentation.
5 *
6 * The version of the OpenAPI document: 9.x
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 PbsRemoveVanishedConfig {
16
17    #[serde(rename = "description", deserialize_with = "Option::deserialize")]
18    pub description: Option<serde_json::Value>,
19
20    /// remove-vanished options
21    #[serde(rename = "items")]
22    pub items: models::PbsAccessDomainsItemsEnum,
23
24    #[serde(rename = "maxLength", deserialize_with = "Option::deserialize")]
25    pub max_length: Option<serde_json::Value>,
26
27    #[serde(rename = "minLength", deserialize_with = "Option::deserialize")]
28    pub min_length: Option<serde_json::Value>,
29
30    #[serde(rename = "type", deserialize_with = "Option::deserialize")]
31    pub r#type: Option<serde_json::Value>,
32
33
34}
35
36impl PbsRemoveVanishedConfig {
37    pub fn new(description: Option<serde_json::Value>, items: models::PbsAccessDomainsItemsEnum, max_length: Option<serde_json::Value>, min_length: Option<serde_json::Value>, r#type: Option<serde_json::Value>) -> PbsRemoveVanishedConfig {
38        PbsRemoveVanishedConfig {
39            
40            description,
41            
42            items,
43            
44            max_length,
45            
46            min_length,
47            
48            r#type,
49            
50        }
51    }
52}
53
54