Skip to main content

clientapi_pbs/models/
pbs_sync_attributes_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 PbsSyncAttributesConfig {
16
17    #[serde(rename = "additionalProperties", deserialize_with = "Option::deserialize")]
18    pub additional_properties: Option<serde_json::Value>,
19
20    #[serde(rename = "description", deserialize_with = "Option::deserialize")]
21    pub description: Option<serde_json::Value>,
22
23    #[serde(rename = "properties", deserialize_with = "Option::deserialize")]
24    pub properties: Option<serde_json::Value>,
25
26    #[serde(rename = "type", deserialize_with = "Option::deserialize")]
27    pub r#type: Option<serde_json::Value>,
28
29
30}
31
32impl PbsSyncAttributesConfig {
33    pub fn new(additional_properties: Option<serde_json::Value>, description: Option<serde_json::Value>, properties: Option<serde_json::Value>, r#type: Option<serde_json::Value>) -> PbsSyncAttributesConfig {
34        PbsSyncAttributesConfig {
35            
36            additional_properties,
37            
38            description,
39            
40            properties,
41            
42            r#type,
43            
44        }
45    }
46}
47
48