Skip to main content

onesignal_rust_api/models/
copy_template_request.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 * Contact: devrel@onesignal.com
7 * Generated by: https://openapi-generator.tech
8 */
9
10
11
12
13#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
14pub struct CopyTemplateRequest {
15    /// Destination OneSignal App ID in UUID v4 format.
16    #[serde(rename = "target_app_id")]
17    pub target_app_id: String,
18}
19
20impl CopyTemplateRequest {
21    pub fn new(target_app_id: String) -> CopyTemplateRequest {
22        CopyTemplateRequest {
23            target_app_id,
24        }
25    }
26}
27
28