use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ClusterConfigAddnodeResponseData {
#[serde(rename = "corosync_authkey")]
pub corosync_authkey: String,
#[serde(rename = "corosync_conf")]
pub corosync_conf: String,
#[serde(rename = "warnings")]
pub warnings: Vec<String>,
}
impl ClusterConfigAddnodeResponseData {
pub fn new(corosync_authkey: String, corosync_conf: String, warnings: Vec<String>) -> ClusterConfigAddnodeResponseData {
ClusterConfigAddnodeResponseData {
corosync_authkey,
corosync_conf,
warnings,
}
}
}