clientapi_pve/models/
cluster_config_addnode_response_data.rs1use 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