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 * The version of the OpenAPI document: 5.3.0
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 CopyTemplateRequest {
16 /// Destination OneSignal App ID in UUID v4 format.
17 #[serde(rename = "target_app_id")]
18 pub target_app_id: String,
19}
20
21impl CopyTemplateRequest {
22 pub fn new(target_app_id: String) -> CopyTemplateRequest {
23 CopyTemplateRequest {
24 target_app_id,
25 }
26 }
27}
28
29