clientapi_pbs/models/
config_notifications_get_smtp_response.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ConfigNotificationsGetSmtpResponse {
16
17 #[serde(rename = "data")]
18 pub data: Vec<models::ConfigNotificationsGetSmtpResponseDataInner>,
19
20 #[serde(rename = "total", skip_serializing_if = "Option::is_none")]
22 pub total: Option<i32>,
23
24 #[serde(rename = "changes", skip_serializing_if = "Option::is_none")]
26 pub changes: Option<serde_json::Value>,
27
28
29}
30
31impl ConfigNotificationsGetSmtpResponse {
32 pub fn new(data: Vec<models::ConfigNotificationsGetSmtpResponseDataInner>) -> ConfigNotificationsGetSmtpResponse {
33 ConfigNotificationsGetSmtpResponse {
34
35 data,
36
37 total: None,
38
39 changes: None,
40
41 }
42 }
43}
44
45