onesignal 5.3.0.pre.beta1 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +57 -186
- data/docs/BasicNotification.md +13 -1
- data/docs/BasicNotificationAllOf.md +13 -1
- data/docs/CreateTemplateRequest.md +4 -0
- data/docs/DefaultApi.md +44 -44
- data/docs/Notification.md +12 -0
- data/docs/NotificationWithMeta.md +12 -0
- data/docs/UpdateTemplateRequest.md +4 -0
- data/lib/onesignal/api/default_api.rb +1 -1
- data/lib/onesignal/api_client.rb +2 -2
- data/lib/onesignal/api_error.rb +1 -1
- data/lib/onesignal/configuration.rb +4 -5
- data/lib/onesignal/models/api_key_token.rb +1 -1
- data/lib/onesignal/models/api_key_tokens_list_response.rb +1 -1
- data/lib/onesignal/models/app.rb +1 -1
- data/lib/onesignal/models/basic_notification.rb +86 -6
- data/lib/onesignal/models/basic_notification_all_of.rb +86 -6
- data/lib/onesignal/models/basic_notification_all_of_android_background_layout.rb +1 -1
- data/lib/onesignal/models/button.rb +1 -1
- data/lib/onesignal/models/copy_template_request.rb +1 -1
- data/lib/onesignal/models/create_api_key_request.rb +1 -1
- data/lib/onesignal/models/create_api_key_response.rb +1 -1
- data/lib/onesignal/models/create_notification_success_response.rb +1 -1
- data/lib/onesignal/models/create_segment_conflict_response.rb +1 -1
- data/lib/onesignal/models/create_segment_success_response.rb +1 -1
- data/lib/onesignal/models/create_template_request.rb +20 -2
- data/lib/onesignal/models/create_user_conflict_response.rb +1 -1
- data/lib/onesignal/models/create_user_conflict_response_errors_inner.rb +1 -1
- data/lib/onesignal/models/create_user_conflict_response_errors_items_meta.rb +1 -1
- data/lib/onesignal/models/custom_event.rb +1 -1
- data/lib/onesignal/models/custom_events_request.rb +1 -1
- data/lib/onesignal/models/delivery_data.rb +1 -1
- data/lib/onesignal/models/export_events_success_response.rb +1 -1
- data/lib/onesignal/models/export_subscriptions_request_body.rb +1 -1
- data/lib/onesignal/models/export_subscriptions_success_response.rb +1 -1
- data/lib/onesignal/models/filter.rb +1 -1
- data/lib/onesignal/models/filter_expression.rb +1 -1
- data/lib/onesignal/models/generic_error.rb +1 -1
- data/lib/onesignal/models/generic_success_bool_response.rb +1 -1
- data/lib/onesignal/models/get_notification_history_request_body.rb +1 -1
- data/lib/onesignal/models/get_segments_success_response.rb +1 -1
- data/lib/onesignal/models/language_string_map.rb +1 -1
- data/lib/onesignal/models/notification.rb +82 -2
- data/lib/onesignal/models/notification_all_of.rb +1 -1
- data/lib/onesignal/models/notification_history_success_response.rb +1 -1
- data/lib/onesignal/models/notification_slice.rb +1 -1
- data/lib/onesignal/models/notification_target.rb +1 -1
- data/lib/onesignal/models/notification_with_meta.rb +82 -2
- data/lib/onesignal/models/notification_with_meta_all_of.rb +1 -1
- data/lib/onesignal/models/operator.rb +1 -1
- data/lib/onesignal/models/outcome_data.rb +1 -1
- data/lib/onesignal/models/outcomes_data.rb +1 -1
- data/lib/onesignal/models/platform_delivery_data.rb +1 -1
- data/lib/onesignal/models/platform_delivery_data_email_all_of.rb +1 -1
- data/lib/onesignal/models/platform_delivery_data_sms_all_of.rb +1 -1
- data/lib/onesignal/models/properties_body.rb +1 -1
- data/lib/onesignal/models/properties_deltas.rb +1 -1
- data/lib/onesignal/models/properties_object.rb +1 -1
- data/lib/onesignal/models/purchase.rb +1 -1
- data/lib/onesignal/models/rate_limit_error.rb +1 -1
- data/lib/onesignal/models/segment.rb +1 -1
- data/lib/onesignal/models/segment_data.rb +1 -1
- data/lib/onesignal/models/segment_notification_target.rb +1 -1
- data/lib/onesignal/models/start_live_activity_request.rb +1 -1
- data/lib/onesignal/models/start_live_activity_success_response.rb +1 -1
- data/lib/onesignal/models/subscription.rb +1 -1
- data/lib/onesignal/models/subscription_body.rb +1 -1
- data/lib/onesignal/models/subscription_notification_target.rb +1 -1
- data/lib/onesignal/models/template_resource.rb +1 -1
- data/lib/onesignal/models/templates_list_response.rb +1 -1
- data/lib/onesignal/models/transfer_subscription_request_body.rb +1 -1
- data/lib/onesignal/models/update_api_key_request.rb +1 -1
- data/lib/onesignal/models/update_live_activity_request.rb +1 -1
- data/lib/onesignal/models/update_live_activity_success_response.rb +1 -1
- data/lib/onesignal/models/update_template_request.rb +20 -2
- data/lib/onesignal/models/update_user_request.rb +1 -1
- data/lib/onesignal/models/user.rb +1 -1
- data/lib/onesignal/models/user_identity_body.rb +1 -1
- data/lib/onesignal/models/web_button.rb +1 -1
- data/lib/onesignal/version.rb +2 -2
- data/lib/onesignal.rb +1 -1
- data/onesignal.gemspec +1 -1
- data/spec/api/default_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/api_key_token_spec.rb +1 -1
- data/spec/models/api_key_tokens_list_response_spec.rb +1 -1
- data/spec/models/app_spec.rb +1 -1
- data/spec/models/basic_notification_all_of_android_background_layout_spec.rb +1 -1
- data/spec/models/basic_notification_all_of_spec.rb +41 -1
- data/spec/models/basic_notification_spec.rb +41 -1
- data/spec/models/button_spec.rb +1 -1
- data/spec/models/copy_template_request_spec.rb +1 -1
- data/spec/models/create_api_key_request_spec.rb +1 -1
- data/spec/models/create_api_key_response_spec.rb +1 -1
- data/spec/models/create_notification_success_response_spec.rb +1 -1
- data/spec/models/create_segment_conflict_response_spec.rb +1 -1
- data/spec/models/create_segment_success_response_spec.rb +1 -1
- data/spec/models/create_template_request_spec.rb +13 -1
- data/spec/models/create_user_conflict_response_errors_inner_spec.rb +1 -1
- data/spec/models/create_user_conflict_response_errors_items_meta_spec.rb +1 -1
- data/spec/models/create_user_conflict_response_spec.rb +1 -1
- data/spec/models/custom_event_spec.rb +1 -1
- data/spec/models/custom_events_request_spec.rb +1 -1
- data/spec/models/delivery_data_spec.rb +1 -1
- data/spec/models/export_events_success_response_spec.rb +1 -1
- data/spec/models/export_subscriptions_request_body_spec.rb +1 -1
- data/spec/models/export_subscriptions_success_response_spec.rb +1 -1
- data/spec/models/filter_expression_spec.rb +1 -1
- data/spec/models/filter_spec.rb +1 -1
- data/spec/models/generic_error_spec.rb +1 -1
- data/spec/models/generic_success_bool_response_spec.rb +1 -1
- data/spec/models/get_notification_history_request_body_spec.rb +1 -1
- data/spec/models/get_segments_success_response_spec.rb +1 -1
- data/spec/models/language_string_map_spec.rb +1 -1
- data/spec/models/notification_all_of_spec.rb +1 -1
- data/spec/models/notification_history_success_response_spec.rb +1 -1
- data/spec/models/notification_slice_spec.rb +1 -1
- data/spec/models/notification_spec.rb +41 -1
- data/spec/models/notification_target_spec.rb +1 -1
- data/spec/models/notification_with_meta_all_of_spec.rb +1 -1
- data/spec/models/notification_with_meta_spec.rb +41 -1
- data/spec/models/operator_spec.rb +1 -1
- data/spec/models/outcome_data_spec.rb +1 -1
- data/spec/models/outcomes_data_spec.rb +1 -1
- data/spec/models/platform_delivery_data_email_all_of_spec.rb +1 -1
- data/spec/models/platform_delivery_data_sms_all_of_spec.rb +1 -1
- data/spec/models/platform_delivery_data_spec.rb +1 -1
- data/spec/models/properties_body_spec.rb +1 -1
- data/spec/models/properties_deltas_spec.rb +1 -1
- data/spec/models/properties_object_spec.rb +1 -1
- data/spec/models/purchase_spec.rb +1 -1
- data/spec/models/rate_limit_error_spec.rb +1 -1
- data/spec/models/segment_data_spec.rb +1 -1
- data/spec/models/segment_notification_target_spec.rb +1 -1
- data/spec/models/segment_spec.rb +1 -1
- data/spec/models/start_live_activity_request_spec.rb +1 -1
- data/spec/models/start_live_activity_success_response_spec.rb +1 -1
- data/spec/models/subscription_body_spec.rb +1 -1
- data/spec/models/subscription_notification_target_spec.rb +1 -1
- data/spec/models/subscription_spec.rb +1 -1
- data/spec/models/template_resource_spec.rb +1 -1
- data/spec/models/templates_list_response_spec.rb +1 -1
- data/spec/models/transfer_subscription_request_body_spec.rb +1 -1
- data/spec/models/update_api_key_request_spec.rb +1 -1
- data/spec/models/update_live_activity_request_spec.rb +1 -1
- data/spec/models/update_live_activity_success_response_spec.rb +1 -1
- data/spec/models/update_template_request_spec.rb +13 -1
- data/spec/models/update_user_request_spec.rb +1 -1
- data/spec/models/user_identity_body_spec.rb +1 -1
- data/spec/models/user_spec.rb +1 -1
- data/spec/models/web_button_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +2 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -310,6 +310,9 @@ module OneSignal
|
|
|
310
310
|
# Channel: Email The email address the email is from. If not specified, will default to \"from email\" set in the OneSignal Dashboard Email Settings.
|
|
311
311
|
attr_accessor :email_from_address
|
|
312
312
|
|
|
313
|
+
# Channel: Email The email address where replies should be sent. If not specified, replies will go to the from address.
|
|
314
|
+
attr_accessor :email_reply_to_address
|
|
315
|
+
|
|
313
316
|
# Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null.
|
|
314
317
|
attr_accessor :email_preheader
|
|
315
318
|
|
|
@@ -330,6 +333,21 @@ module OneSignal
|
|
|
330
333
|
# Channel: All JSON object that can be used as a source of message personalization data for fields that support tag variable substitution. Push, SMS: Can accept up to 2048 bytes of valid JSON. Email: Can accept up to 10000 bytes of valid JSON. Example: {\"order_id\": 123, \"currency\": \"USD\", \"amount\": 25}
|
|
331
334
|
attr_accessor :custom_data
|
|
332
335
|
|
|
336
|
+
# Channel: Push Notifications Platform: Huawei Full path of the app entry activity class
|
|
337
|
+
attr_accessor :huawei_badge_class
|
|
338
|
+
|
|
339
|
+
# Channel: Push Notifications Platform: Huawei Accumulative badge number, which is an integer ranging from 1 to 99
|
|
340
|
+
attr_accessor :huawei_badge_add_num
|
|
341
|
+
|
|
342
|
+
# Channel: Push Notifications Platform: Huawei Badge number, which is an integer ranging from 0 to 99
|
|
343
|
+
attr_accessor :huawei_badge_set_num
|
|
344
|
+
|
|
345
|
+
# Channel: Push Notifications Platform: Huawei Category of the push notification for HMS classification.
|
|
346
|
+
attr_accessor :huawei_category
|
|
347
|
+
|
|
348
|
+
# Channel: Push Notifications Platform: Huawei A tag used for Huawei business intelligence and analytics.
|
|
349
|
+
attr_accessor :huawei_bi_tag
|
|
350
|
+
|
|
333
351
|
# Channel: All Schedule notification for future delivery. API defaults to UTC -1100 Examples: All examples are the exact same date & time. \"Thu Sep 24 2015 14:00:00 GMT-0700 (PDT)\" \"September 24th 2015, 2:00:00 pm UTC-07:00\" \"2015-09-24 14:00:00 GMT-0700\" \"Sept 24 2015 14:00:00 GMT-0700\" \"Thu Sep 24 2015 14:00:00 GMT-0700 (Pacific Daylight Time)\" Note: SMS currently only supports send_after parameter.
|
|
334
352
|
attr_accessor :send_after
|
|
335
353
|
|
|
@@ -459,6 +477,7 @@ module OneSignal
|
|
|
459
477
|
:'email_body' => :'email_body',
|
|
460
478
|
:'email_from_name' => :'email_from_name',
|
|
461
479
|
:'email_from_address' => :'email_from_address',
|
|
480
|
+
:'email_reply_to_address' => :'email_reply_to_address',
|
|
462
481
|
:'email_preheader' => :'email_preheader',
|
|
463
482
|
:'disable_email_click_tracking' => :'disable_email_click_tracking',
|
|
464
483
|
:'include_unsubscribed' => :'include_unsubscribed',
|
|
@@ -466,6 +485,11 @@ module OneSignal
|
|
|
466
485
|
:'sms_media_urls' => :'sms_media_urls',
|
|
467
486
|
:'filters' => :'filters',
|
|
468
487
|
:'custom_data' => :'custom_data',
|
|
488
|
+
:'huawei_badge_class' => :'huawei_badge_class',
|
|
489
|
+
:'huawei_badge_add_num' => :'huawei_badge_add_num',
|
|
490
|
+
:'huawei_badge_set_num' => :'huawei_badge_set_num',
|
|
491
|
+
:'huawei_category' => :'huawei_category',
|
|
492
|
+
:'huawei_bi_tag' => :'huawei_bi_tag',
|
|
469
493
|
:'send_after' => :'send_after'
|
|
470
494
|
}
|
|
471
495
|
end
|
|
@@ -579,6 +603,7 @@ module OneSignal
|
|
|
579
603
|
:'email_body' => :'String',
|
|
580
604
|
:'email_from_name' => :'String',
|
|
581
605
|
:'email_from_address' => :'String',
|
|
606
|
+
:'email_reply_to_address' => :'String',
|
|
582
607
|
:'email_preheader' => :'String',
|
|
583
608
|
:'disable_email_click_tracking' => :'Boolean',
|
|
584
609
|
:'include_unsubscribed' => :'Boolean',
|
|
@@ -586,6 +611,11 @@ module OneSignal
|
|
|
586
611
|
:'sms_media_urls' => :'Array<String>',
|
|
587
612
|
:'filters' => :'Array<FilterExpression>',
|
|
588
613
|
:'custom_data' => :'Object',
|
|
614
|
+
:'huawei_badge_class' => :'String',
|
|
615
|
+
:'huawei_badge_add_num' => :'Integer',
|
|
616
|
+
:'huawei_badge_set_num' => :'Integer',
|
|
617
|
+
:'huawei_category' => :'String',
|
|
618
|
+
:'huawei_bi_tag' => :'String',
|
|
589
619
|
:'send_after' => :'Time'
|
|
590
620
|
}
|
|
591
621
|
end
|
|
@@ -628,7 +658,9 @@ module OneSignal
|
|
|
628
658
|
:'buttons',
|
|
629
659
|
:'web_buttons',
|
|
630
660
|
:'ios_category',
|
|
661
|
+
:'android_channel_id',
|
|
631
662
|
:'huawei_channel_id',
|
|
663
|
+
:'existing_android_channel_id',
|
|
632
664
|
:'huawei_existing_channel_id',
|
|
633
665
|
:'small_icon',
|
|
634
666
|
:'huawei_small_icon',
|
|
@@ -670,12 +702,18 @@ module OneSignal
|
|
|
670
702
|
:'email_subject',
|
|
671
703
|
:'email_from_name',
|
|
672
704
|
:'email_from_address',
|
|
705
|
+
:'email_reply_to_address',
|
|
673
706
|
:'email_preheader',
|
|
674
707
|
:'disable_email_click_tracking',
|
|
675
708
|
:'sms_from',
|
|
676
709
|
:'sms_media_urls',
|
|
677
710
|
:'filters',
|
|
678
711
|
:'custom_data',
|
|
712
|
+
:'huawei_badge_class',
|
|
713
|
+
:'huawei_badge_add_num',
|
|
714
|
+
:'huawei_badge_set_num',
|
|
715
|
+
:'huawei_category',
|
|
716
|
+
:'huawei_bi_tag',
|
|
679
717
|
:'send_after'
|
|
680
718
|
])
|
|
681
719
|
end
|
|
@@ -1135,6 +1173,10 @@ module OneSignal
|
|
|
1135
1173
|
self.email_from_address = attributes[:'email_from_address']
|
|
1136
1174
|
end
|
|
1137
1175
|
|
|
1176
|
+
if attributes.key?(:'email_reply_to_address')
|
|
1177
|
+
self.email_reply_to_address = attributes[:'email_reply_to_address']
|
|
1178
|
+
end
|
|
1179
|
+
|
|
1138
1180
|
if attributes.key?(:'email_preheader')
|
|
1139
1181
|
self.email_preheader = attributes[:'email_preheader']
|
|
1140
1182
|
end
|
|
@@ -1167,6 +1209,26 @@ module OneSignal
|
|
|
1167
1209
|
self.custom_data = attributes[:'custom_data']
|
|
1168
1210
|
end
|
|
1169
1211
|
|
|
1212
|
+
if attributes.key?(:'huawei_badge_class')
|
|
1213
|
+
self.huawei_badge_class = attributes[:'huawei_badge_class']
|
|
1214
|
+
end
|
|
1215
|
+
|
|
1216
|
+
if attributes.key?(:'huawei_badge_add_num')
|
|
1217
|
+
self.huawei_badge_add_num = attributes[:'huawei_badge_add_num']
|
|
1218
|
+
end
|
|
1219
|
+
|
|
1220
|
+
if attributes.key?(:'huawei_badge_set_num')
|
|
1221
|
+
self.huawei_badge_set_num = attributes[:'huawei_badge_set_num']
|
|
1222
|
+
end
|
|
1223
|
+
|
|
1224
|
+
if attributes.key?(:'huawei_category')
|
|
1225
|
+
self.huawei_category = attributes[:'huawei_category']
|
|
1226
|
+
end
|
|
1227
|
+
|
|
1228
|
+
if attributes.key?(:'huawei_bi_tag')
|
|
1229
|
+
self.huawei_bi_tag = attributes[:'huawei_bi_tag']
|
|
1230
|
+
end
|
|
1231
|
+
|
|
1170
1232
|
if attributes.key?(:'send_after')
|
|
1171
1233
|
self.send_after = attributes[:'send_after']
|
|
1172
1234
|
end
|
|
@@ -1191,6 +1253,8 @@ module OneSignal
|
|
|
1191
1253
|
aggregation_validator = EnumAttributeValidator.new('String', ["sum", "count"])
|
|
1192
1254
|
return false unless aggregation_validator.valid?(@aggregation)
|
|
1193
1255
|
return false if @app_id.nil?
|
|
1256
|
+
huawei_category_validator = EnumAttributeValidator.new('String', ["IM", "VOIP", "SUBSCRIPTION", "TRAVEL", "HEALTH", "WORK", "ACCOUNT", "EXPRESS", "FINANCE", "DEVICE_REMINDER", "MAIL", "MARKETING"])
|
|
1257
|
+
return false unless huawei_category_validator.valid?(@huawei_category)
|
|
1194
1258
|
true
|
|
1195
1259
|
end
|
|
1196
1260
|
|
|
@@ -1214,6 +1278,16 @@ module OneSignal
|
|
|
1214
1278
|
@aggregation = aggregation
|
|
1215
1279
|
end
|
|
1216
1280
|
|
|
1281
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1282
|
+
# @param [Object] huawei_category Object to be assigned
|
|
1283
|
+
def huawei_category=(huawei_category)
|
|
1284
|
+
validator = EnumAttributeValidator.new('String', ["IM", "VOIP", "SUBSCRIPTION", "TRAVEL", "HEALTH", "WORK", "ACCOUNT", "EXPRESS", "FINANCE", "DEVICE_REMINDER", "MAIL", "MARKETING"])
|
|
1285
|
+
unless validator.valid?(huawei_category)
|
|
1286
|
+
fail ArgumentError, "invalid value for \"huawei_category\", must be one of #{validator.allowable_values}."
|
|
1287
|
+
end
|
|
1288
|
+
@huawei_category = huawei_category
|
|
1289
|
+
end
|
|
1290
|
+
|
|
1217
1291
|
# Checks equality by comparing each attribute.
|
|
1218
1292
|
# @param [Object] Object to be compared
|
|
1219
1293
|
def ==(o)
|
|
@@ -1320,6 +1394,7 @@ module OneSignal
|
|
|
1320
1394
|
email_body == o.email_body &&
|
|
1321
1395
|
email_from_name == o.email_from_name &&
|
|
1322
1396
|
email_from_address == o.email_from_address &&
|
|
1397
|
+
email_reply_to_address == o.email_reply_to_address &&
|
|
1323
1398
|
email_preheader == o.email_preheader &&
|
|
1324
1399
|
disable_email_click_tracking == o.disable_email_click_tracking &&
|
|
1325
1400
|
include_unsubscribed == o.include_unsubscribed &&
|
|
@@ -1327,6 +1402,11 @@ module OneSignal
|
|
|
1327
1402
|
sms_media_urls == o.sms_media_urls &&
|
|
1328
1403
|
filters == o.filters &&
|
|
1329
1404
|
custom_data == o.custom_data &&
|
|
1405
|
+
huawei_badge_class == o.huawei_badge_class &&
|
|
1406
|
+
huawei_badge_add_num == o.huawei_badge_add_num &&
|
|
1407
|
+
huawei_badge_set_num == o.huawei_badge_set_num &&
|
|
1408
|
+
huawei_category == o.huawei_category &&
|
|
1409
|
+
huawei_bi_tag == o.huawei_bi_tag &&
|
|
1330
1410
|
send_after == o.send_after
|
|
1331
1411
|
end
|
|
1332
1412
|
|
|
@@ -1339,7 +1419,7 @@ module OneSignal
|
|
|
1339
1419
|
# Calculates hash code according to all attributes.
|
|
1340
1420
|
# @return [Integer] Hash code
|
|
1341
1421
|
def hash
|
|
1342
|
-
[included_segments, excluded_segments, include_subscription_ids, include_email_tokens, include_phone_numbers, include_ios_tokens, include_wp_wns_uris, include_amazon_reg_ids, include_chrome_reg_ids, include_chrome_web_reg_ids, include_android_reg_ids, include_aliases, target_channel, id, value, name, aggregation, is_ios, is_android, is_huawei, is_any_web, is_chrome_web, is_firefox, is_safari, is_wp_wns, is_adm, is_chrome, app_id, external_id, idempotency_key, contents, headings, subtitle, data, huawei_msg_type, url, web_url, app_url, ios_attachments, template_id, content_available, mutable_content, target_content_identifier, big_picture, huawei_big_picture, adm_big_picture, chrome_big_picture, chrome_web_image, buttons, web_buttons, ios_category, android_channel_id, huawei_channel_id, existing_android_channel_id, huawei_existing_channel_id, android_background_layout, small_icon, huawei_small_icon, large_icon, huawei_large_icon, adm_small_icon, adm_large_icon, chrome_web_icon, chrome_web_badge, firefox_icon, chrome_icon, ios_sound, android_sound, huawei_sound, adm_sound, wp_wns_sound, android_led_color, huawei_led_color, android_accent_color, huawei_accent_color, android_visibility, huawei_visibility, ios_badge_type, ios_badge_count, collapse_id, web_push_topic, apns_alert, delayed_option, delivery_time_of_day, ttl, priority, apns_push_type_override, throttle_rate_per_minute, android_group, android_group_message, adm_group, adm_group_message, thread_id, summary_arg, summary_arg_count, ios_relevance_score, ios_interruption_level, email_subject, email_body, email_from_name, email_from_address, email_preheader, disable_email_click_tracking, include_unsubscribed, sms_from, sms_media_urls, filters, custom_data, send_after].hash
|
|
1422
|
+
[included_segments, excluded_segments, include_subscription_ids, include_email_tokens, include_phone_numbers, include_ios_tokens, include_wp_wns_uris, include_amazon_reg_ids, include_chrome_reg_ids, include_chrome_web_reg_ids, include_android_reg_ids, include_aliases, target_channel, id, value, name, aggregation, is_ios, is_android, is_huawei, is_any_web, is_chrome_web, is_firefox, is_safari, is_wp_wns, is_adm, is_chrome, app_id, external_id, idempotency_key, contents, headings, subtitle, data, huawei_msg_type, url, web_url, app_url, ios_attachments, template_id, content_available, mutable_content, target_content_identifier, big_picture, huawei_big_picture, adm_big_picture, chrome_big_picture, chrome_web_image, buttons, web_buttons, ios_category, android_channel_id, huawei_channel_id, existing_android_channel_id, huawei_existing_channel_id, android_background_layout, small_icon, huawei_small_icon, large_icon, huawei_large_icon, adm_small_icon, adm_large_icon, chrome_web_icon, chrome_web_badge, firefox_icon, chrome_icon, ios_sound, android_sound, huawei_sound, adm_sound, wp_wns_sound, android_led_color, huawei_led_color, android_accent_color, huawei_accent_color, android_visibility, huawei_visibility, ios_badge_type, ios_badge_count, collapse_id, web_push_topic, apns_alert, delayed_option, delivery_time_of_day, ttl, priority, apns_push_type_override, throttle_rate_per_minute, android_group, android_group_message, adm_group, adm_group_message, thread_id, summary_arg, summary_arg_count, ios_relevance_score, ios_interruption_level, email_subject, email_body, email_from_name, email_from_address, email_reply_to_address, email_preheader, disable_email_click_tracking, include_unsubscribed, sms_from, sms_media_urls, filters, custom_data, huawei_badge_class, huawei_badge_add_num, huawei_badge_set_num, huawei_category, huawei_bi_tag, send_after].hash
|
|
1343
1423
|
end
|
|
1344
1424
|
|
|
1345
1425
|
# Builds the object from hash
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -310,6 +310,9 @@ module OneSignal
|
|
|
310
310
|
# Channel: Email The email address the email is from. If not specified, will default to \"from email\" set in the OneSignal Dashboard Email Settings.
|
|
311
311
|
attr_accessor :email_from_address
|
|
312
312
|
|
|
313
|
+
# Channel: Email The email address where replies should be sent. If not specified, replies will go to the from address.
|
|
314
|
+
attr_accessor :email_reply_to_address
|
|
315
|
+
|
|
313
316
|
# Channel: Email The preheader text of the email. Preheader is the preview text displayed immediately after an email subject that provides additional context about the email content. If not specified, will default to null.
|
|
314
317
|
attr_accessor :email_preheader
|
|
315
318
|
|
|
@@ -330,6 +333,21 @@ module OneSignal
|
|
|
330
333
|
# Channel: All JSON object that can be used as a source of message personalization data for fields that support tag variable substitution. Push, SMS: Can accept up to 2048 bytes of valid JSON. Email: Can accept up to 10000 bytes of valid JSON. Example: {\"order_id\": 123, \"currency\": \"USD\", \"amount\": 25}
|
|
331
334
|
attr_accessor :custom_data
|
|
332
335
|
|
|
336
|
+
# Channel: Push Notifications Platform: Huawei Full path of the app entry activity class
|
|
337
|
+
attr_accessor :huawei_badge_class
|
|
338
|
+
|
|
339
|
+
# Channel: Push Notifications Platform: Huawei Accumulative badge number, which is an integer ranging from 1 to 99
|
|
340
|
+
attr_accessor :huawei_badge_add_num
|
|
341
|
+
|
|
342
|
+
# Channel: Push Notifications Platform: Huawei Badge number, which is an integer ranging from 0 to 99
|
|
343
|
+
attr_accessor :huawei_badge_set_num
|
|
344
|
+
|
|
345
|
+
# Channel: Push Notifications Platform: Huawei Category of the push notification for HMS classification.
|
|
346
|
+
attr_accessor :huawei_category
|
|
347
|
+
|
|
348
|
+
# Channel: Push Notifications Platform: Huawei A tag used for Huawei business intelligence and analytics.
|
|
349
|
+
attr_accessor :huawei_bi_tag
|
|
350
|
+
|
|
333
351
|
# Number of notifications that were successfully delivered.
|
|
334
352
|
attr_accessor :successful
|
|
335
353
|
|
|
@@ -490,6 +508,7 @@ module OneSignal
|
|
|
490
508
|
:'email_body' => :'email_body',
|
|
491
509
|
:'email_from_name' => :'email_from_name',
|
|
492
510
|
:'email_from_address' => :'email_from_address',
|
|
511
|
+
:'email_reply_to_address' => :'email_reply_to_address',
|
|
493
512
|
:'email_preheader' => :'email_preheader',
|
|
494
513
|
:'disable_email_click_tracking' => :'disable_email_click_tracking',
|
|
495
514
|
:'include_unsubscribed' => :'include_unsubscribed',
|
|
@@ -497,6 +516,11 @@ module OneSignal
|
|
|
497
516
|
:'sms_media_urls' => :'sms_media_urls',
|
|
498
517
|
:'filters' => :'filters',
|
|
499
518
|
:'custom_data' => :'custom_data',
|
|
519
|
+
:'huawei_badge_class' => :'huawei_badge_class',
|
|
520
|
+
:'huawei_badge_add_num' => :'huawei_badge_add_num',
|
|
521
|
+
:'huawei_badge_set_num' => :'huawei_badge_set_num',
|
|
522
|
+
:'huawei_category' => :'huawei_category',
|
|
523
|
+
:'huawei_bi_tag' => :'huawei_bi_tag',
|
|
500
524
|
:'successful' => :'successful',
|
|
501
525
|
:'failed' => :'failed',
|
|
502
526
|
:'errored' => :'errored',
|
|
@@ -621,6 +645,7 @@ module OneSignal
|
|
|
621
645
|
:'email_body' => :'String',
|
|
622
646
|
:'email_from_name' => :'String',
|
|
623
647
|
:'email_from_address' => :'String',
|
|
648
|
+
:'email_reply_to_address' => :'String',
|
|
624
649
|
:'email_preheader' => :'String',
|
|
625
650
|
:'disable_email_click_tracking' => :'Boolean',
|
|
626
651
|
:'include_unsubscribed' => :'Boolean',
|
|
@@ -628,6 +653,11 @@ module OneSignal
|
|
|
628
653
|
:'sms_media_urls' => :'Array<String>',
|
|
629
654
|
:'filters' => :'Array<FilterExpression>',
|
|
630
655
|
:'custom_data' => :'Object',
|
|
656
|
+
:'huawei_badge_class' => :'String',
|
|
657
|
+
:'huawei_badge_add_num' => :'Integer',
|
|
658
|
+
:'huawei_badge_set_num' => :'Integer',
|
|
659
|
+
:'huawei_category' => :'String',
|
|
660
|
+
:'huawei_bi_tag' => :'String',
|
|
631
661
|
:'successful' => :'Integer',
|
|
632
662
|
:'failed' => :'Integer',
|
|
633
663
|
:'errored' => :'Integer',
|
|
@@ -681,7 +711,9 @@ module OneSignal
|
|
|
681
711
|
:'buttons',
|
|
682
712
|
:'web_buttons',
|
|
683
713
|
:'ios_category',
|
|
714
|
+
:'android_channel_id',
|
|
684
715
|
:'huawei_channel_id',
|
|
716
|
+
:'existing_android_channel_id',
|
|
685
717
|
:'huawei_existing_channel_id',
|
|
686
718
|
:'small_icon',
|
|
687
719
|
:'huawei_small_icon',
|
|
@@ -723,12 +755,18 @@ module OneSignal
|
|
|
723
755
|
:'email_subject',
|
|
724
756
|
:'email_from_name',
|
|
725
757
|
:'email_from_address',
|
|
758
|
+
:'email_reply_to_address',
|
|
726
759
|
:'email_preheader',
|
|
727
760
|
:'disable_email_click_tracking',
|
|
728
761
|
:'sms_from',
|
|
729
762
|
:'sms_media_urls',
|
|
730
763
|
:'filters',
|
|
731
764
|
:'custom_data',
|
|
765
|
+
:'huawei_badge_class',
|
|
766
|
+
:'huawei_badge_add_num',
|
|
767
|
+
:'huawei_badge_set_num',
|
|
768
|
+
:'huawei_category',
|
|
769
|
+
:'huawei_bi_tag',
|
|
732
770
|
:'received',
|
|
733
771
|
:'send_after',
|
|
734
772
|
:'completed_at',
|
|
@@ -1192,6 +1230,10 @@ module OneSignal
|
|
|
1192
1230
|
self.email_from_address = attributes[:'email_from_address']
|
|
1193
1231
|
end
|
|
1194
1232
|
|
|
1233
|
+
if attributes.key?(:'email_reply_to_address')
|
|
1234
|
+
self.email_reply_to_address = attributes[:'email_reply_to_address']
|
|
1235
|
+
end
|
|
1236
|
+
|
|
1195
1237
|
if attributes.key?(:'email_preheader')
|
|
1196
1238
|
self.email_preheader = attributes[:'email_preheader']
|
|
1197
1239
|
end
|
|
@@ -1224,6 +1266,26 @@ module OneSignal
|
|
|
1224
1266
|
self.custom_data = attributes[:'custom_data']
|
|
1225
1267
|
end
|
|
1226
1268
|
|
|
1269
|
+
if attributes.key?(:'huawei_badge_class')
|
|
1270
|
+
self.huawei_badge_class = attributes[:'huawei_badge_class']
|
|
1271
|
+
end
|
|
1272
|
+
|
|
1273
|
+
if attributes.key?(:'huawei_badge_add_num')
|
|
1274
|
+
self.huawei_badge_add_num = attributes[:'huawei_badge_add_num']
|
|
1275
|
+
end
|
|
1276
|
+
|
|
1277
|
+
if attributes.key?(:'huawei_badge_set_num')
|
|
1278
|
+
self.huawei_badge_set_num = attributes[:'huawei_badge_set_num']
|
|
1279
|
+
end
|
|
1280
|
+
|
|
1281
|
+
if attributes.key?(:'huawei_category')
|
|
1282
|
+
self.huawei_category = attributes[:'huawei_category']
|
|
1283
|
+
end
|
|
1284
|
+
|
|
1285
|
+
if attributes.key?(:'huawei_bi_tag')
|
|
1286
|
+
self.huawei_bi_tag = attributes[:'huawei_bi_tag']
|
|
1287
|
+
end
|
|
1288
|
+
|
|
1227
1289
|
if attributes.key?(:'successful')
|
|
1228
1290
|
self.successful = attributes[:'successful']
|
|
1229
1291
|
end
|
|
@@ -1294,6 +1356,8 @@ module OneSignal
|
|
|
1294
1356
|
aggregation_validator = EnumAttributeValidator.new('String', ["sum", "count"])
|
|
1295
1357
|
return false unless aggregation_validator.valid?(@aggregation)
|
|
1296
1358
|
return false if @app_id.nil?
|
|
1359
|
+
huawei_category_validator = EnumAttributeValidator.new('String', ["IM", "VOIP", "SUBSCRIPTION", "TRAVEL", "HEALTH", "WORK", "ACCOUNT", "EXPRESS", "FINANCE", "DEVICE_REMINDER", "MAIL", "MARKETING"])
|
|
1360
|
+
return false unless huawei_category_validator.valid?(@huawei_category)
|
|
1297
1361
|
true
|
|
1298
1362
|
end
|
|
1299
1363
|
|
|
@@ -1317,6 +1381,16 @@ module OneSignal
|
|
|
1317
1381
|
@aggregation = aggregation
|
|
1318
1382
|
end
|
|
1319
1383
|
|
|
1384
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1385
|
+
# @param [Object] huawei_category Object to be assigned
|
|
1386
|
+
def huawei_category=(huawei_category)
|
|
1387
|
+
validator = EnumAttributeValidator.new('String', ["IM", "VOIP", "SUBSCRIPTION", "TRAVEL", "HEALTH", "WORK", "ACCOUNT", "EXPRESS", "FINANCE", "DEVICE_REMINDER", "MAIL", "MARKETING"])
|
|
1388
|
+
unless validator.valid?(huawei_category)
|
|
1389
|
+
fail ArgumentError, "invalid value for \"huawei_category\", must be one of #{validator.allowable_values}."
|
|
1390
|
+
end
|
|
1391
|
+
@huawei_category = huawei_category
|
|
1392
|
+
end
|
|
1393
|
+
|
|
1320
1394
|
# Checks equality by comparing each attribute.
|
|
1321
1395
|
# @param [Object] Object to be compared
|
|
1322
1396
|
def ==(o)
|
|
@@ -1423,6 +1497,7 @@ module OneSignal
|
|
|
1423
1497
|
email_body == o.email_body &&
|
|
1424
1498
|
email_from_name == o.email_from_name &&
|
|
1425
1499
|
email_from_address == o.email_from_address &&
|
|
1500
|
+
email_reply_to_address == o.email_reply_to_address &&
|
|
1426
1501
|
email_preheader == o.email_preheader &&
|
|
1427
1502
|
disable_email_click_tracking == o.disable_email_click_tracking &&
|
|
1428
1503
|
include_unsubscribed == o.include_unsubscribed &&
|
|
@@ -1430,6 +1505,11 @@ module OneSignal
|
|
|
1430
1505
|
sms_media_urls == o.sms_media_urls &&
|
|
1431
1506
|
filters == o.filters &&
|
|
1432
1507
|
custom_data == o.custom_data &&
|
|
1508
|
+
huawei_badge_class == o.huawei_badge_class &&
|
|
1509
|
+
huawei_badge_add_num == o.huawei_badge_add_num &&
|
|
1510
|
+
huawei_badge_set_num == o.huawei_badge_set_num &&
|
|
1511
|
+
huawei_category == o.huawei_category &&
|
|
1512
|
+
huawei_bi_tag == o.huawei_bi_tag &&
|
|
1433
1513
|
successful == o.successful &&
|
|
1434
1514
|
failed == o.failed &&
|
|
1435
1515
|
errored == o.errored &&
|
|
@@ -1453,7 +1533,7 @@ module OneSignal
|
|
|
1453
1533
|
# Calculates hash code according to all attributes.
|
|
1454
1534
|
# @return [Integer] Hash code
|
|
1455
1535
|
def hash
|
|
1456
|
-
[included_segments, excluded_segments, include_subscription_ids, include_email_tokens, include_phone_numbers, include_ios_tokens, include_wp_wns_uris, include_amazon_reg_ids, include_chrome_reg_ids, include_chrome_web_reg_ids, include_android_reg_ids, include_aliases, target_channel, id, value, name, aggregation, is_ios, is_android, is_huawei, is_any_web, is_chrome_web, is_firefox, is_safari, is_wp_wns, is_adm, is_chrome, app_id, external_id, idempotency_key, contents, headings, subtitle, data, huawei_msg_type, url, web_url, app_url, ios_attachments, template_id, content_available, mutable_content, target_content_identifier, big_picture, huawei_big_picture, adm_big_picture, chrome_big_picture, chrome_web_image, buttons, web_buttons, ios_category, android_channel_id, huawei_channel_id, existing_android_channel_id, huawei_existing_channel_id, android_background_layout, small_icon, huawei_small_icon, large_icon, huawei_large_icon, adm_small_icon, adm_large_icon, chrome_web_icon, chrome_web_badge, firefox_icon, chrome_icon, ios_sound, android_sound, huawei_sound, adm_sound, wp_wns_sound, android_led_color, huawei_led_color, android_accent_color, huawei_accent_color, android_visibility, huawei_visibility, ios_badge_type, ios_badge_count, collapse_id, web_push_topic, apns_alert, delayed_option, delivery_time_of_day, ttl, priority, apns_push_type_override, throttle_rate_per_minute, android_group, android_group_message, adm_group, adm_group_message, thread_id, summary_arg, summary_arg_count, ios_relevance_score, ios_interruption_level, email_subject, email_body, email_from_name, email_from_address, email_preheader, disable_email_click_tracking, include_unsubscribed, sms_from, sms_media_urls, filters, custom_data, successful, failed, errored, converted, received, outcomes, remaining, queued_at, send_after, completed_at, platform_delivery_stats, canceled].hash
|
|
1536
|
+
[included_segments, excluded_segments, include_subscription_ids, include_email_tokens, include_phone_numbers, include_ios_tokens, include_wp_wns_uris, include_amazon_reg_ids, include_chrome_reg_ids, include_chrome_web_reg_ids, include_android_reg_ids, include_aliases, target_channel, id, value, name, aggregation, is_ios, is_android, is_huawei, is_any_web, is_chrome_web, is_firefox, is_safari, is_wp_wns, is_adm, is_chrome, app_id, external_id, idempotency_key, contents, headings, subtitle, data, huawei_msg_type, url, web_url, app_url, ios_attachments, template_id, content_available, mutable_content, target_content_identifier, big_picture, huawei_big_picture, adm_big_picture, chrome_big_picture, chrome_web_image, buttons, web_buttons, ios_category, android_channel_id, huawei_channel_id, existing_android_channel_id, huawei_existing_channel_id, android_background_layout, small_icon, huawei_small_icon, large_icon, huawei_large_icon, adm_small_icon, adm_large_icon, chrome_web_icon, chrome_web_badge, firefox_icon, chrome_icon, ios_sound, android_sound, huawei_sound, adm_sound, wp_wns_sound, android_led_color, huawei_led_color, android_accent_color, huawei_accent_color, android_visibility, huawei_visibility, ios_badge_type, ios_badge_count, collapse_id, web_push_topic, apns_alert, delayed_option, delivery_time_of_day, ttl, priority, apns_push_type_override, throttle_rate_per_minute, android_group, android_group_message, adm_group, adm_group_message, thread_id, summary_arg, summary_arg_count, ios_relevance_score, ios_interruption_level, email_subject, email_body, email_from_name, email_from_address, email_reply_to_address, email_preheader, disable_email_click_tracking, include_unsubscribed, sms_from, sms_media_urls, filters, custom_data, huawei_badge_class, huawei_badge_add_num, huawei_badge_set_num, huawei_category, huawei_bi_tag, successful, failed, errored, converted, received, outcomes, remaining, queued_at, send_after, completed_at, platform_delivery_stats, canceled].hash
|
|
1457
1537
|
end
|
|
1458
1538
|
|
|
1459
1539
|
# Builds the object from hash
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 5.
|
|
6
|
+
The version of the OpenAPI document: 5.4.0
|
|
7
7
|
Contact: devrel@onesignal.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0-SNAPSHOT
|