Skip to main content

clientapi_pbs/models/
nodes_config_get_config_response_data.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 NodesConfigGetConfigResponseData {
16
17    /// The acme account to use on this node.
18    #[serde(rename = "acme", skip_serializing_if = "Option::is_none")]
19    pub acme: Option<Box<models::PbsAcmeField>>,
20
21    /// ACME domain configuration string
22    #[serde(rename = "acmedomain0", skip_serializing_if = "Option::is_none")]
23    pub acmedomain0: Option<Box<models::PbsAcmedomainField>>,
24
25    /// ACME domain configuration string
26    #[serde(rename = "acmedomain1", skip_serializing_if = "Option::is_none")]
27    pub acmedomain1: Option<Box<models::PbsAcmedomainField>>,
28
29    /// ACME domain configuration string
30    #[serde(rename = "acmedomain2", skip_serializing_if = "Option::is_none")]
31    pub acmedomain2: Option<Box<models::PbsAcmedomainField>>,
32
33    /// ACME domain configuration string
34    #[serde(rename = "acmedomain3", skip_serializing_if = "Option::is_none")]
35    pub acmedomain3: Option<Box<models::PbsAcmedomainField>>,
36
37    /// ACME domain configuration string
38    #[serde(rename = "acmedomain4", skip_serializing_if = "Option::is_none")]
39    pub acmedomain4: Option<Box<models::PbsAcmedomainField>>,
40
41    /// OpenSSL cipher list used by the proxy for TLS <= 1.2
42    #[serde(rename = "ciphers-tls-1.2", skip_serializing_if = "Option::is_none")]
43    pub ciphers_tls_1_2: Option<String>,
44
45    /// OpenSSL ciphersuites list used by the proxy for TLS 1.3
46    #[serde(rename = "ciphers-tls-1.3", skip_serializing_if = "Option::is_none")]
47    pub ciphers_tls_1_3: Option<String>,
48
49    /// Consent banner text
50    #[serde(rename = "consent-text", skip_serializing_if = "Option::is_none")]
51    pub consent_text: Option<String>,
52
53    /// All available languages in Proxmox. Taken from proxmox-i18n repository. pt_BR, zh_CN, and zh_TW use the same case in the translation files.
54    #[serde(rename = "default-lang", skip_serializing_if = "Option::is_none")]
55    pub default_lang: Option<models::PbsDefaultLangEnum>,
56
57    /// Comment (multiple lines).
58    #[serde(rename = "description", skip_serializing_if = "Option::is_none")]
59    pub description: Option<String>,
60
61    /// E-Mail Address.
62    #[serde(rename = "email-from", skip_serializing_if = "Option::is_none")]
63    pub email_from: Option<String>,
64
65    /// HTTP proxy configuration [http://]<host>[:port]
66    #[serde(rename = "http-proxy", skip_serializing_if = "Option::is_none")]
67    pub http_proxy: Option<String>,
68
69    /// Maximum days to keep Task logs
70    #[serde(rename = "task-log-max-days", skip_serializing_if = "Option::is_none")]
71    pub task_log_max_days: Option<i64>,
72
73
74}
75
76impl NodesConfigGetConfigResponseData {
77    pub fn new() -> NodesConfigGetConfigResponseData {
78        NodesConfigGetConfigResponseData {
79            
80            acme: None,
81            
82            acmedomain0: None,
83            
84            acmedomain1: None,
85            
86            acmedomain2: None,
87            
88            acmedomain3: None,
89            
90            acmedomain4: None,
91            
92            ciphers_tls_1_2: None,
93            
94            ciphers_tls_1_3: None,
95            
96            consent_text: None,
97            
98            default_lang: None,
99            
100            description: None,
101            
102            email_from: None,
103            
104            http_proxy: None,
105            
106            task_log_max_days: None,
107            
108        }
109    }
110}
111
112