Skip to main content

clientapi_pve/models/
cluster_config_addnode_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 ClusterConfigAddnodeResponseData {
16
17    #[serde(rename = "corosync_authkey")]
18    pub corosync_authkey: String,
19
20    #[serde(rename = "corosync_conf")]
21    pub corosync_conf: String,
22
23    #[serde(rename = "warnings")]
24    pub warnings: Vec<String>,
25
26
27}
28
29impl ClusterConfigAddnodeResponseData {
30    pub fn new(corosync_authkey: String, corosync_conf: String, warnings: Vec<String>) -> ClusterConfigAddnodeResponseData {
31        ClusterConfigAddnodeResponseData {
32            
33            corosync_authkey,
34            
35            corosync_conf,
36            
37            warnings,
38            
39        }
40    }
41}
42
43