use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ClusterNotificationsGetMatcherResponse {
#[serde(rename = "data")]
pub data: Box<models::ClusterNotificationsGetMatcherResponseData>,
#[serde(rename = "total", skip_serializing_if = "Option::is_none")]
pub total: Option<i32>,
#[serde(rename = "changes", skip_serializing_if = "Option::is_none")]
pub changes: Option<serde_json::Value>,
}
impl ClusterNotificationsGetMatcherResponse {
pub fn new(data: models::ClusterNotificationsGetMatcherResponseData) -> ClusterNotificationsGetMatcherResponse {
ClusterNotificationsGetMatcherResponse {
data: Box::new(data),
total: None,
changes: None,
}
}
}