clientapi-pve 2026.5.24

Generated from apidoc.js. NOT an official Proxmox specification. See https://pve.proxmox.com/pve-docs/api-viewer/ for the upstream documentation.
Documentation
/*
 * Proxmox Virtual Environment API
 *
 * Generated from apidoc.js. NOT an official Proxmox specification. See https://pve.proxmox.com/pve-docs/api-viewer/ for the upstream documentation.
 *
 * The version of the OpenAPI document: 9.x
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ClusterAcmeGetPluginsResponseDataInner {

    /// API plugin name
    #[serde(rename = "api", skip_serializing_if = "Option::is_none")]
    pub api: Option<models::PveApiEnum>,

    /// DNS plugin data. (base64 encoded)
    #[serde(rename = "data", skip_serializing_if = "Option::is_none")]
    pub data: Option<String>,

    /// Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.
    #[serde(rename = "digest", skip_serializing_if = "Option::is_none")]
    pub digest: Option<String>,

    /// Flag to disable the config.
    #[serde(rename = "disable", skip_serializing_if = "Option::is_none")]
    pub disable: Option<models::PveBoolean>,

    /// List of cluster node names.
    #[serde(rename = "nodes", skip_serializing_if = "Option::is_none")]
    pub nodes: Option<String>,

    /// Unique identifier for ACME plugin instance.
    #[serde(rename = "plugin")]
    pub plugin: String,

    /// ACME challenge type.
    #[serde(rename = "type")]
    pub r#type: models::PveClusterAcmeTypeEnum,

    /// Extra delay in seconds to wait before requesting validation. Allows to cope with a long TTL of DNS records.
    #[serde(rename = "validation-delay", skip_serializing_if = "Option::is_none")]
    pub validation_delay: Option<i32>,


}

impl ClusterAcmeGetPluginsResponseDataInner {
    pub fn new(plugin: String, r#type: models::PveClusterAcmeTypeEnum) -> ClusterAcmeGetPluginsResponseDataInner {
        ClusterAcmeGetPluginsResponseDataInner {
            
            api: None,
            
            data: None,
            
            digest: None,
            
            disable: None,
            
            nodes: None,
            
            plugin,
            
            r#type,
            
            validation_delay: None,
            
        }
    }
}