onesignal_rust_api/models/
update_live_activity_success_response.rs

1/*
2 * OneSignal
3 *
4 * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5 *
6 * The version of the OpenAPI document: 1.4.1
7 * Contact: devrel@onesignal.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct UpdateLiveActivitySuccessResponse {
16    #[serde(rename = "notification_id", skip_serializing_if = "Option::is_none")]
17    pub notification_id: Option<String>,
18    #[serde(rename = "errors", skip_serializing_if = "Option::is_none")]
19    pub errors: Option<Box<crate::models::Notification200Errors>>,
20}
21
22impl UpdateLiveActivitySuccessResponse {
23    pub fn new() -> UpdateLiveActivitySuccessResponse {
24        UpdateLiveActivitySuccessResponse {
25            notification_id: None,
26            errors: None,
27        }
28    }
29}
30
31