use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ClusterNotificationsGetGotifyEndpointsResponseDataInner {
#[serde(rename = "comment", skip_serializing_if = "Option::is_none")]
pub comment: Option<String>,
#[serde(rename = "disable", skip_serializing_if = "Option::is_none")]
pub disable: Option<models::PveBoolean>,
#[serde(rename = "name")]
pub name: String,
#[serde(rename = "origin")]
pub origin: models::PveOriginEnum,
#[serde(rename = "server")]
pub server: String,
}
impl ClusterNotificationsGetGotifyEndpointsResponseDataInner {
pub fn new(name: String, origin: models::PveOriginEnum, server: String) -> ClusterNotificationsGetGotifyEndpointsResponseDataInner {
ClusterNotificationsGetGotifyEndpointsResponseDataInner {
comment: None,
disable: None,
name,
origin,
server,
}
}
}