Skip to main content

clientapi_pve/models/
cluster_acme_update_plugin_request.rs

1/*
2 * Proxmox Virtual Environment API
3 *
4 * Generated from apidoc.js. NOT an official Proxmox specification. See https://pve.proxmox.com/pve-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 ClusterAcmeUpdatePluginRequest {
16
17    /// API plugin name
18    #[serde(rename = "api", skip_serializing_if = "Option::is_none")]
19    pub api: Option<models::PveApiEnum>,
20
21    /// DNS plugin data. (base64 encoded)
22    #[serde(rename = "data", skip_serializing_if = "Option::is_none")]
23    pub data: Option<String>,
24
25    /// A list of settings you want to delete.
26    #[serde(rename = "delete", skip_serializing_if = "Option::is_none")]
27    pub delete: Option<String>,
28
29    /// Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.
30    #[serde(rename = "digest", skip_serializing_if = "Option::is_none")]
31    pub digest: Option<String>,
32
33    /// Flag to disable the config.
34    #[serde(rename = "disable", skip_serializing_if = "Option::is_none")]
35    pub disable: Option<models::PveBoolean>,
36
37    /// List of cluster node names.
38    #[serde(rename = "nodes", skip_serializing_if = "Option::is_none")]
39    pub nodes: Option<String>,
40
41    /// Extra delay in seconds to wait before requesting validation. Allows to cope with a long TTL of DNS records.
42    #[serde(rename = "validation-delay", skip_serializing_if = "Option::is_none")]
43    pub validation_delay: Option<i32>,
44
45
46}
47
48impl ClusterAcmeUpdatePluginRequest {
49    pub fn new() -> ClusterAcmeUpdatePluginRequest {
50        ClusterAcmeUpdatePluginRequest {
51            
52            api: None,
53            
54            data: None,
55            
56            delete: None,
57            
58            digest: None,
59            
60            disable: None,
61            
62            nodes: None,
63            
64            validation_delay: None,
65            
66        }
67    }
68}
69
70