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.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/README.md +57 -186
  4. data/docs/BasicNotification.md +13 -1
  5. data/docs/BasicNotificationAllOf.md +13 -1
  6. data/docs/CreateTemplateRequest.md +4 -0
  7. data/docs/DefaultApi.md +44 -44
  8. data/docs/Notification.md +12 -0
  9. data/docs/NotificationWithMeta.md +12 -0
  10. data/docs/UpdateTemplateRequest.md +4 -0
  11. data/lib/onesignal/api/default_api.rb +1 -1
  12. data/lib/onesignal/api_client.rb +2 -2
  13. data/lib/onesignal/api_error.rb +1 -1
  14. data/lib/onesignal/configuration.rb +4 -5
  15. data/lib/onesignal/models/api_key_token.rb +1 -1
  16. data/lib/onesignal/models/api_key_tokens_list_response.rb +1 -1
  17. data/lib/onesignal/models/app.rb +1 -1
  18. data/lib/onesignal/models/basic_notification.rb +86 -6
  19. data/lib/onesignal/models/basic_notification_all_of.rb +86 -6
  20. data/lib/onesignal/models/basic_notification_all_of_android_background_layout.rb +1 -1
  21. data/lib/onesignal/models/button.rb +1 -1
  22. data/lib/onesignal/models/copy_template_request.rb +1 -1
  23. data/lib/onesignal/models/create_api_key_request.rb +1 -1
  24. data/lib/onesignal/models/create_api_key_response.rb +1 -1
  25. data/lib/onesignal/models/create_notification_success_response.rb +1 -1
  26. data/lib/onesignal/models/create_segment_conflict_response.rb +1 -1
  27. data/lib/onesignal/models/create_segment_success_response.rb +1 -1
  28. data/lib/onesignal/models/create_template_request.rb +20 -2
  29. data/lib/onesignal/models/create_user_conflict_response.rb +1 -1
  30. data/lib/onesignal/models/create_user_conflict_response_errors_inner.rb +1 -1
  31. data/lib/onesignal/models/create_user_conflict_response_errors_items_meta.rb +1 -1
  32. data/lib/onesignal/models/custom_event.rb +1 -1
  33. data/lib/onesignal/models/custom_events_request.rb +1 -1
  34. data/lib/onesignal/models/delivery_data.rb +1 -1
  35. data/lib/onesignal/models/export_events_success_response.rb +1 -1
  36. data/lib/onesignal/models/export_subscriptions_request_body.rb +1 -1
  37. data/lib/onesignal/models/export_subscriptions_success_response.rb +1 -1
  38. data/lib/onesignal/models/filter.rb +1 -1
  39. data/lib/onesignal/models/filter_expression.rb +1 -1
  40. data/lib/onesignal/models/generic_error.rb +1 -1
  41. data/lib/onesignal/models/generic_success_bool_response.rb +1 -1
  42. data/lib/onesignal/models/get_notification_history_request_body.rb +1 -1
  43. data/lib/onesignal/models/get_segments_success_response.rb +1 -1
  44. data/lib/onesignal/models/language_string_map.rb +1 -1
  45. data/lib/onesignal/models/notification.rb +82 -2
  46. data/lib/onesignal/models/notification_all_of.rb +1 -1
  47. data/lib/onesignal/models/notification_history_success_response.rb +1 -1
  48. data/lib/onesignal/models/notification_slice.rb +1 -1
  49. data/lib/onesignal/models/notification_target.rb +1 -1
  50. data/lib/onesignal/models/notification_with_meta.rb +82 -2
  51. data/lib/onesignal/models/notification_with_meta_all_of.rb +1 -1
  52. data/lib/onesignal/models/operator.rb +1 -1
  53. data/lib/onesignal/models/outcome_data.rb +1 -1
  54. data/lib/onesignal/models/outcomes_data.rb +1 -1
  55. data/lib/onesignal/models/platform_delivery_data.rb +1 -1
  56. data/lib/onesignal/models/platform_delivery_data_email_all_of.rb +1 -1
  57. data/lib/onesignal/models/platform_delivery_data_sms_all_of.rb +1 -1
  58. data/lib/onesignal/models/properties_body.rb +1 -1
  59. data/lib/onesignal/models/properties_deltas.rb +1 -1
  60. data/lib/onesignal/models/properties_object.rb +1 -1
  61. data/lib/onesignal/models/purchase.rb +1 -1
  62. data/lib/onesignal/models/rate_limit_error.rb +1 -1
  63. data/lib/onesignal/models/segment.rb +1 -1
  64. data/lib/onesignal/models/segment_data.rb +1 -1
  65. data/lib/onesignal/models/segment_notification_target.rb +1 -1
  66. data/lib/onesignal/models/start_live_activity_request.rb +1 -1
  67. data/lib/onesignal/models/start_live_activity_success_response.rb +1 -1
  68. data/lib/onesignal/models/subscription.rb +1 -1
  69. data/lib/onesignal/models/subscription_body.rb +1 -1
  70. data/lib/onesignal/models/subscription_notification_target.rb +1 -1
  71. data/lib/onesignal/models/template_resource.rb +1 -1
  72. data/lib/onesignal/models/templates_list_response.rb +1 -1
  73. data/lib/onesignal/models/transfer_subscription_request_body.rb +1 -1
  74. data/lib/onesignal/models/update_api_key_request.rb +1 -1
  75. data/lib/onesignal/models/update_live_activity_request.rb +1 -1
  76. data/lib/onesignal/models/update_live_activity_success_response.rb +1 -1
  77. data/lib/onesignal/models/update_template_request.rb +20 -2
  78. data/lib/onesignal/models/update_user_request.rb +1 -1
  79. data/lib/onesignal/models/user.rb +1 -1
  80. data/lib/onesignal/models/user_identity_body.rb +1 -1
  81. data/lib/onesignal/models/web_button.rb +1 -1
  82. data/lib/onesignal/version.rb +2 -2
  83. data/lib/onesignal.rb +1 -1
  84. data/onesignal.gemspec +1 -1
  85. data/spec/api/default_api_spec.rb +1 -1
  86. data/spec/api_client_spec.rb +1 -1
  87. data/spec/configuration_spec.rb +1 -1
  88. data/spec/models/api_key_token_spec.rb +1 -1
  89. data/spec/models/api_key_tokens_list_response_spec.rb +1 -1
  90. data/spec/models/app_spec.rb +1 -1
  91. data/spec/models/basic_notification_all_of_android_background_layout_spec.rb +1 -1
  92. data/spec/models/basic_notification_all_of_spec.rb +41 -1
  93. data/spec/models/basic_notification_spec.rb +41 -1
  94. data/spec/models/button_spec.rb +1 -1
  95. data/spec/models/copy_template_request_spec.rb +1 -1
  96. data/spec/models/create_api_key_request_spec.rb +1 -1
  97. data/spec/models/create_api_key_response_spec.rb +1 -1
  98. data/spec/models/create_notification_success_response_spec.rb +1 -1
  99. data/spec/models/create_segment_conflict_response_spec.rb +1 -1
  100. data/spec/models/create_segment_success_response_spec.rb +1 -1
  101. data/spec/models/create_template_request_spec.rb +13 -1
  102. data/spec/models/create_user_conflict_response_errors_inner_spec.rb +1 -1
  103. data/spec/models/create_user_conflict_response_errors_items_meta_spec.rb +1 -1
  104. data/spec/models/create_user_conflict_response_spec.rb +1 -1
  105. data/spec/models/custom_event_spec.rb +1 -1
  106. data/spec/models/custom_events_request_spec.rb +1 -1
  107. data/spec/models/delivery_data_spec.rb +1 -1
  108. data/spec/models/export_events_success_response_spec.rb +1 -1
  109. data/spec/models/export_subscriptions_request_body_spec.rb +1 -1
  110. data/spec/models/export_subscriptions_success_response_spec.rb +1 -1
  111. data/spec/models/filter_expression_spec.rb +1 -1
  112. data/spec/models/filter_spec.rb +1 -1
  113. data/spec/models/generic_error_spec.rb +1 -1
  114. data/spec/models/generic_success_bool_response_spec.rb +1 -1
  115. data/spec/models/get_notification_history_request_body_spec.rb +1 -1
  116. data/spec/models/get_segments_success_response_spec.rb +1 -1
  117. data/spec/models/language_string_map_spec.rb +1 -1
  118. data/spec/models/notification_all_of_spec.rb +1 -1
  119. data/spec/models/notification_history_success_response_spec.rb +1 -1
  120. data/spec/models/notification_slice_spec.rb +1 -1
  121. data/spec/models/notification_spec.rb +41 -1
  122. data/spec/models/notification_target_spec.rb +1 -1
  123. data/spec/models/notification_with_meta_all_of_spec.rb +1 -1
  124. data/spec/models/notification_with_meta_spec.rb +41 -1
  125. data/spec/models/operator_spec.rb +1 -1
  126. data/spec/models/outcome_data_spec.rb +1 -1
  127. data/spec/models/outcomes_data_spec.rb +1 -1
  128. data/spec/models/platform_delivery_data_email_all_of_spec.rb +1 -1
  129. data/spec/models/platform_delivery_data_sms_all_of_spec.rb +1 -1
  130. data/spec/models/platform_delivery_data_spec.rb +1 -1
  131. data/spec/models/properties_body_spec.rb +1 -1
  132. data/spec/models/properties_deltas_spec.rb +1 -1
  133. data/spec/models/properties_object_spec.rb +1 -1
  134. data/spec/models/purchase_spec.rb +1 -1
  135. data/spec/models/rate_limit_error_spec.rb +1 -1
  136. data/spec/models/segment_data_spec.rb +1 -1
  137. data/spec/models/segment_notification_target_spec.rb +1 -1
  138. data/spec/models/segment_spec.rb +1 -1
  139. data/spec/models/start_live_activity_request_spec.rb +1 -1
  140. data/spec/models/start_live_activity_success_response_spec.rb +1 -1
  141. data/spec/models/subscription_body_spec.rb +1 -1
  142. data/spec/models/subscription_notification_target_spec.rb +1 -1
  143. data/spec/models/subscription_spec.rb +1 -1
  144. data/spec/models/template_resource_spec.rb +1 -1
  145. data/spec/models/templates_list_response_spec.rb +1 -1
  146. data/spec/models/transfer_subscription_request_body_spec.rb +1 -1
  147. data/spec/models/update_api_key_request_spec.rb +1 -1
  148. data/spec/models/update_live_activity_request_spec.rb +1 -1
  149. data/spec/models/update_live_activity_success_response_spec.rb +1 -1
  150. data/spec/models/update_template_request_spec.rb +13 -1
  151. data/spec/models/update_user_request_spec.rb +1 -1
  152. data/spec/models/user_identity_body_spec.rb +1 -1
  153. data/spec/models/user_spec.rb +1 -1
  154. data/spec/models/web_button_spec.rb +1 -1
  155. data/spec/spec_helper.rb +1 -1
  156. 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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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
@@ -20,6 +20,10 @@ module OneSignal
20
20
 
21
21
  attr_accessor :contents
22
22
 
23
+ attr_accessor :headings
24
+
25
+ attr_accessor :subtitle
26
+
23
27
  # Set true for an Email template.
24
28
  attr_accessor :is_email
25
29
 
@@ -40,6 +44,8 @@ module OneSignal
40
44
  {
41
45
  :'name' => :'name',
42
46
  :'contents' => :'contents',
47
+ :'headings' => :'headings',
48
+ :'subtitle' => :'subtitle',
43
49
  :'is_email' => :'isEmail',
44
50
  :'email_subject' => :'email_subject',
45
51
  :'email_body' => :'email_body',
@@ -58,6 +64,8 @@ module OneSignal
58
64
  {
59
65
  :'name' => :'String',
60
66
  :'contents' => :'LanguageStringMap',
67
+ :'headings' => :'LanguageStringMap',
68
+ :'subtitle' => :'LanguageStringMap',
61
69
  :'is_email' => :'Boolean',
62
70
  :'email_subject' => :'String',
63
71
  :'email_body' => :'String',
@@ -98,6 +106,14 @@ module OneSignal
98
106
  self.contents = attributes[:'contents']
99
107
  end
100
108
 
109
+ if attributes.key?(:'headings')
110
+ self.headings = attributes[:'headings']
111
+ end
112
+
113
+ if attributes.key?(:'subtitle')
114
+ self.subtitle = attributes[:'subtitle']
115
+ end
116
+
101
117
  if attributes.key?(:'is_email')
102
118
  self.is_email = attributes[:'is_email']
103
119
  end
@@ -139,6 +155,8 @@ module OneSignal
139
155
  self.class == o.class &&
140
156
  name == o.name &&
141
157
  contents == o.contents &&
158
+ headings == o.headings &&
159
+ subtitle == o.subtitle &&
142
160
  is_email == o.is_email &&
143
161
  email_subject == o.email_subject &&
144
162
  email_body == o.email_body &&
@@ -155,7 +173,7 @@ module OneSignal
155
173
  # Calculates hash code according to all attributes.
156
174
  # @return [Integer] Hash code
157
175
  def hash
158
- [name, contents, is_email, email_subject, email_body, is_sms, dynamic_content].hash
176
+ [name, contents, headings, subtitle, is_email, email_subject, email_body, is_sms, dynamic_content].hash
159
177
  end
160
178
 
161
179
  # 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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module OneSignal
14
- VERSION = '5.3.0-beta1'
14
+ VERSION = '5.4.0'
15
15
  end
data/lib/onesignal.rb CHANGED
@@ -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.3.0
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
data/onesignal.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
7
7
 
8
- The version of the OpenAPI document: 5.3.0
8
+ The version of the OpenAPI document: 5.4.0
9
9
  Contact: devrel@onesignal.com
10
10
  Generated by: https://openapi-generator.tech
11
11
  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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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
@@ -557,6 +557,12 @@ describe OneSignal::BasicNotificationAllOf do
557
557
  end
558
558
  end
559
559
 
560
+ describe 'test attribute "email_reply_to_address"' do
561
+ it 'should work' do
562
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
563
+ end
564
+ end
565
+
560
566
  describe 'test attribute "email_preheader"' do
561
567
  it 'should work' do
562
568
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -599,4 +605,38 @@ describe OneSignal::BasicNotificationAllOf do
599
605
  end
600
606
  end
601
607
 
608
+ describe 'test attribute "huawei_badge_class"' do
609
+ it 'should work' do
610
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
611
+ end
612
+ end
613
+
614
+ describe 'test attribute "huawei_badge_add_num"' do
615
+ it 'should work' do
616
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
617
+ end
618
+ end
619
+
620
+ describe 'test attribute "huawei_badge_set_num"' do
621
+ it 'should work' do
622
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
623
+ end
624
+ end
625
+
626
+ describe 'test attribute "huawei_category"' do
627
+ it 'should work' do
628
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
629
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["IM", "VOIP", "SUBSCRIPTION", "TRAVEL", "HEALTH", "WORK", "ACCOUNT", "EXPRESS", "FINANCE", "DEVICE_REMINDER", "MAIL", "MARKETING"])
630
+ # validator.allowable_values.each do |value|
631
+ # expect { instance.huawei_category = value }.not_to raise_error
632
+ # end
633
+ end
634
+ end
635
+
636
+ describe 'test attribute "huawei_bi_tag"' do
637
+ it 'should work' do
638
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
639
+ end
640
+ end
641
+
602
642
  end
@@ -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.3.0
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
@@ -639,6 +639,12 @@ describe OneSignal::BasicNotification do
639
639
  end
640
640
  end
641
641
 
642
+ describe 'test attribute "email_reply_to_address"' do
643
+ it 'should work' do
644
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
645
+ end
646
+ end
647
+
642
648
  describe 'test attribute "email_preheader"' do
643
649
  it 'should work' do
644
650
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -681,4 +687,38 @@ describe OneSignal::BasicNotification do
681
687
  end
682
688
  end
683
689
 
690
+ describe 'test attribute "huawei_badge_class"' do
691
+ it 'should work' do
692
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
693
+ end
694
+ end
695
+
696
+ describe 'test attribute "huawei_badge_add_num"' do
697
+ it 'should work' do
698
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
699
+ end
700
+ end
701
+
702
+ describe 'test attribute "huawei_badge_set_num"' do
703
+ it 'should work' do
704
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
705
+ end
706
+ end
707
+
708
+ describe 'test attribute "huawei_category"' do
709
+ it 'should work' do
710
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
711
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["IM", "VOIP", "SUBSCRIPTION", "TRAVEL", "HEALTH", "WORK", "ACCOUNT", "EXPRESS", "FINANCE", "DEVICE_REMINDER", "MAIL", "MARKETING"])
712
+ # validator.allowable_values.each do |value|
713
+ # expect { instance.huawei_category = value }.not_to raise_error
714
+ # end
715
+ end
716
+ end
717
+
718
+ describe 'test attribute "huawei_bi_tag"' do
719
+ it 'should work' do
720
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
721
+ end
722
+ end
723
+
684
724
  end
@@ -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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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
@@ -43,6 +43,18 @@ describe OneSignal::CreateTemplateRequest do
43
43
  end
44
44
  end
45
45
 
46
+ describe 'test attribute "headings"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "subtitle"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
46
58
  describe 'test attribute "is_email"' do
47
59
  it 'should work' do
48
60
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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.3.0
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