use serde::{Deserialize, Serialize}; /*
                                      * Firebase Cloud Messaging API
                                      *
                                      * FCM send API that provides a cross-platform messaging solution to reliably deliver messages at no cost.
                                      *
                                      * The version of the OpenAPI document: v1
                                      *
                                      * Generated by: https://openapi-generator.tech
                                      */

use crate::google_rest_apis::fcm_v1::models;

/// ApnsFcmOptions : Options for features provided by the FCM SDK for iOS.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ApnsFcmOptions {
    /// Label associated with the message's analytics data.
    #[serde(rename = "analyticsLabel", skip_serializing_if = "Option::is_none")]
    pub analytics_label: Option<String>,
    /// Contains the URL of an image that is going to be displayed in a notification. If present, it will override google.firebase.fcm.v1.Notification.image.
    #[serde(rename = "image", skip_serializing_if = "Option::is_none")]
    pub image: Option<String>,
}

impl ApnsFcmOptions {
    /// Options for features provided by the FCM SDK for iOS.
    pub fn new() -> ApnsFcmOptions {
        ApnsFcmOptions {
            analytics_label: None,
            image: None,
        }
    }
}
