Skip to main content

clientapi_pve/models/
cluster_acme_get_meta_response_data.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 ClusterAcmeGetMetaResponseData {
16
17    /// Hostnames referring to the ACME servers.
18    #[serde(rename = "caaIdentities", skip_serializing_if = "Option::is_none")]
19    pub caa_identities: Option<Vec<String>>,
20
21    /// EAB Required
22    #[serde(rename = "externalAccountRequired", skip_serializing_if = "Option::is_none")]
23    pub external_account_required: Option<models::PveBoolean>,
24
25    /// ACME TermsOfService URL.
26    #[serde(rename = "termsOfService", skip_serializing_if = "Option::is_none")]
27    pub terms_of_service: Option<String>,
28
29    /// URL to more information about the ACME server.
30    #[serde(rename = "website", skip_serializing_if = "Option::is_none")]
31    pub website: Option<String>,
32
33
34}
35
36impl ClusterAcmeGetMetaResponseData {
37    pub fn new() -> ClusterAcmeGetMetaResponseData {
38        ClusterAcmeGetMetaResponseData {
39            
40            caa_identities: None,
41            
42            external_account_required: None,
43            
44            terms_of_service: None,
45            
46            website: None,
47            
48        }
49    }
50}
51
52