onesignal 1.0.1 → 2.2.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/Gemfile.lock +74 -0
- data/README.md +112 -88
- data/docs/App.md +9 -1
- data/docs/BasicNotification.md +230 -0
- data/docs/BasicNotificationAllOf.md +202 -0
- data/docs/{NotificationAllOfAndroidBackgroundLayout.md → BasicNotificationAllOfAndroidBackgroundLayout.md} +2 -2
- data/docs/BeginLiveActivityRequest.md +20 -0
- data/docs/CancelNotificationSuccessResponse.md +18 -0
- data/docs/CreateNotificationSuccessResponse.md +24 -0
- data/docs/{InlineResponse2005.md → CreatePlayerSuccessResponse.md} +2 -2
- data/docs/{InlineResponse4002.md → CreateSegmentConflictResponse.md} +2 -2
- data/docs/CreateSegmentSuccessResponse.md +20 -0
- data/docs/CreateSubscriptionRequestBody.md +20 -0
- data/docs/CreateUserConflictResponse.md +18 -0
- data/docs/CreateUserConflictResponseErrorsInner.md +22 -0
- data/docs/CreateUserConflictResponseErrorsItemsMeta.md +18 -0
- data/docs/DefaultApi.md +1591 -266
- data/docs/DeletePlayerNotFoundResponse.md +18 -0
- data/docs/{InlineResponse2001.md → DeletePlayerSuccessResponse.md} +2 -2
- data/docs/DeleteSegmentNotFoundResponse.md +18 -0
- data/docs/DeleteSegmentSuccessResponse.md +18 -0
- data/docs/DeliveryData.md +5 -5
- data/docs/{InlineResponse2008.md → ExportEventsSuccessResponse.md} +2 -2
- data/docs/ExportPlayersRequestBody.md +2 -2
- data/docs/ExportPlayersSuccessResponse.md +18 -0
- data/docs/Filter.md +1 -1
- data/docs/FilterExpressions.md +1 -1
- data/docs/GenericError.md +18 -0
- data/docs/GenericErrorErrorsInner.md +20 -0
- data/docs/InlineResponse200.md +2 -8
- data/docs/InlineResponse2003.md +18 -0
- data/docs/InlineResponse201.md +2 -4
- data/docs/InlineResponse202.md +18 -0
- data/docs/Notification.md +22 -30
- data/docs/NotificationAllOf.md +1 -175
- data/docs/{InlineResponse2002.md → NotificationHistorySuccessResponse.md} +2 -2
- data/docs/NotificationTarget.md +5 -25
- data/docs/NotificationWithMeta.md +21 -29
- data/docs/PlatformDeliveryData.md +5 -1
- data/docs/PlatformDeliveryDataEmailAllOf.md +30 -0
- data/docs/PlatformDeliveryDataSmsAllOf.md +22 -0
- data/docs/Player.md +1 -1
- data/docs/PlayerNotificationTarget.md +5 -1
- data/docs/PlayerNotificationTargetIncludeAliases.md +18 -0
- data/docs/PropertiesDeltas.md +22 -0
- data/docs/PropertiesObject.md +38 -0
- data/docs/Purchase.md +4 -2
- data/docs/RateLimiterError.md +18 -0
- data/docs/SubscriptionObject.md +50 -0
- data/docs/TransferSubscriptionRequestBody.md +18 -0
- data/docs/UpdateLiveActivityRequest.md +24 -0
- data/docs/UpdateLiveActivitySuccessResponse.md +20 -0
- data/docs/{InlineResponse2007.md → UpdatePlayerSuccessResponse.md} +3 -3
- data/docs/UpdatePlayerTagsSuccessResponse.md +18 -0
- data/docs/UpdateSubscriptionRequestBody.md +18 -0
- data/docs/UpdateUserRequest.md +22 -0
- data/docs/User.md +24 -0
- data/docs/UserIdentityRequestBody.md +18 -0
- data/docs/UserIdentityResponse.md +18 -0
- data/docs/UserSubscriptionOptions.md +18 -0
- data/lib/onesignal/api/default_api.rb +1583 -221
- data/lib/onesignal/api_client.rb +2 -2
- data/lib/onesignal/api_error.rb +1 -1
- data/lib/onesignal/configuration.rb +6 -6
- data/lib/onesignal/models/app.rb +57 -7
- data/lib/onesignal/models/basic_notification.rb +1442 -0
- data/lib/onesignal/models/basic_notification_all_of.rb +1252 -0
- data/lib/onesignal/models/{notification_all_of_android_background_layout.rb → basic_notification_all_of_android_background_layout.rb} +4 -4
- data/lib/onesignal/models/begin_live_activity_request.rb +238 -0
- data/lib/onesignal/models/button.rb +1 -1
- data/lib/onesignal/models/cancel_notification_success_response.rb +219 -0
- data/lib/onesignal/models/create_notification_success_response.rb +248 -0
- data/lib/onesignal/models/{inline_response2005.rb → create_player_success_response.rb} +4 -4
- data/lib/onesignal/models/{inline_response4002.rb → create_segment_conflict_response.rb} +4 -4
- data/lib/onesignal/models/create_segment_success_response.rb +229 -0
- data/lib/onesignal/models/create_subscription_request_body.rb +228 -0
- data/lib/onesignal/models/{inline_response4001.rb → create_user_conflict_response.rb} +6 -15
- data/lib/onesignal/models/create_user_conflict_response_errors_inner.rb +237 -0
- data/lib/onesignal/models/create_user_conflict_response_errors_items_meta.rb +219 -0
- data/lib/onesignal/models/delete_player_not_found_response.rb +219 -0
- data/lib/onesignal/models/{inline_response2001.rb → delete_player_success_response.rb} +4 -4
- data/lib/onesignal/models/delete_segment_not_found_response.rb +219 -0
- data/lib/onesignal/models/delete_segment_success_response.rb +219 -0
- data/lib/onesignal/models/delivery_data.rb +6 -1
- data/lib/onesignal/models/{inline_response2008.rb → export_events_success_response.rb} +4 -4
- data/lib/onesignal/models/export_players_request_body.rb +3 -3
- data/lib/onesignal/models/export_players_success_response.rb +219 -0
- data/lib/onesignal/models/filter.rb +2 -2
- data/lib/onesignal/models/filter_expressions.rb +2 -2
- data/lib/onesignal/models/{inline_response400.rb → generic_error.rb} +5 -5
- data/lib/onesignal/models/generic_error_errors_inner.rb +228 -0
- data/lib/onesignal/models/get_notification_request_body.rb +1 -1
- data/lib/onesignal/models/inline_response200.rb +10 -46
- data/lib/onesignal/models/{inline_response4003.rb → inline_response2003.rb} +12 -12
- data/lib/onesignal/models/inline_response201.rb +8 -18
- data/lib/onesignal/models/inline_response202.rb +219 -0
- data/lib/onesignal/models/invalid_identifier_error.rb +1 -1
- data/lib/onesignal/models/notification.rb +173 -141
- data/lib/onesignal/models/notification200_errors.rb +1 -1
- data/lib/onesignal/models/notification_all_of.rb +6 -929
- data/lib/onesignal/models/{inline_response2002.rb → notification_history_success_response.rb} +4 -4
- data/lib/onesignal/models/notification_slice.rb +1 -1
- data/lib/onesignal/models/notification_target.rb +60 -126
- data/lib/onesignal/models/notification_with_meta.rb +168 -137
- data/lib/onesignal/models/notification_with_meta_all_of.rb +2 -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 +25 -5
- data/lib/onesignal/models/platform_delivery_data_email_all_of.rb +287 -0
- data/lib/onesignal/models/platform_delivery_data_sms_all_of.rb +243 -0
- data/lib/onesignal/models/player.rb +9 -6
- data/lib/onesignal/models/player_notification_target.rb +60 -5
- data/lib/onesignal/models/player_notification_target_include_aliases.rb +221 -0
- data/lib/onesignal/models/player_slice.rb +1 -1
- data/lib/onesignal/models/properties_deltas.rb +239 -0
- data/lib/onesignal/models/properties_object.rb +313 -0
- data/lib/onesignal/models/purchase.rb +15 -6
- data/lib/onesignal/models/rate_limiter_error.rb +221 -0
- data/lib/onesignal/models/segment.rb +1 -1
- data/lib/onesignal/models/segment_notification_target.rb +1 -1
- data/lib/onesignal/models/string_map.rb +1 -1
- data/lib/onesignal/models/{filter_notification_target.rb → subscription_object.rb} +145 -78
- data/lib/onesignal/models/transfer_subscription_request_body.rb +221 -0
- data/lib/onesignal/models/update_live_activity_request.rb +309 -0
- data/lib/onesignal/models/update_live_activity_success_response.rb +228 -0
- data/lib/onesignal/models/{inline_response2007.rb → update_player_success_response.rb} +5 -5
- data/lib/onesignal/models/update_player_tags_request_body.rb +1 -1
- data/lib/onesignal/models/update_player_tags_success_response.rb +219 -0
- data/lib/onesignal/models/update_subscription_request_body.rb +219 -0
- data/lib/onesignal/models/update_user_request.rb +239 -0
- data/lib/onesignal/models/user.rb +250 -0
- data/lib/onesignal/models/user_identity_request_body.rb +221 -0
- data/lib/onesignal/models/user_identity_response.rb +221 -0
- data/lib/onesignal/models/user_subscription_options.rb +219 -0
- data/lib/onesignal/version.rb +2 -2
- data/lib/onesignal.rb +43 -12
- data/onesignal.gemspec +1 -1
- data/spec/api/default_api_spec.rb +249 -12
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +4 -4
- data/spec/models/app_spec.rb +25 -1
- data/spec/models/{notification_all_of_android_background_layout_spec.rb → basic_notification_all_of_android_background_layout_spec.rb} +7 -7
- data/spec/models/basic_notification_all_of_spec.rb +590 -0
- data/spec/models/basic_notification_spec.rb +678 -0
- data/spec/models/begin_live_activity_request_spec.rb +40 -0
- data/spec/models/button_spec.rb +1 -1
- data/spec/models/cancel_notification_success_response_spec.rb +34 -0
- data/spec/models/create_notification_success_response_spec.rb +52 -0
- data/spec/models/{inline_response2005_spec.rb → create_player_success_response_spec.rb} +7 -7
- data/spec/models/{inline_response4001_spec.rb → create_segment_conflict_response_spec.rb} +7 -7
- data/spec/models/{inline_response4002_spec.rb → create_segment_success_response_spec.rb} +8 -8
- data/spec/models/create_subscription_request_body_spec.rb +40 -0
- data/spec/models/create_user_conflict_response_errors_inner_spec.rb +46 -0
- data/spec/models/create_user_conflict_response_errors_items_meta_spec.rb +34 -0
- data/spec/models/create_user_conflict_response_spec.rb +34 -0
- data/spec/models/delete_player_not_found_response_spec.rb +34 -0
- data/spec/models/{inline_response2001_spec.rb → delete_player_success_response_spec.rb} +7 -7
- data/spec/models/delete_segment_not_found_response_spec.rb +34 -0
- data/spec/models/delete_segment_success_response_spec.rb +34 -0
- data/spec/models/delivery_data_spec.rb +1 -1
- data/spec/models/{inline_response2008_spec.rb → export_events_success_response_spec.rb} +7 -7
- data/spec/models/export_players_request_body_spec.rb +1 -1
- data/spec/models/export_players_success_response_spec.rb +34 -0
- data/spec/models/filter_expressions_spec.rb +1 -1
- data/spec/models/filter_spec.rb +1 -1
- data/spec/models/generic_error_errors_inner_spec.rb +40 -0
- data/spec/models/{inline_response4003_spec.rb → generic_error_spec.rb} +8 -8
- data/spec/models/get_notification_request_body_spec.rb +1 -1
- data/spec/models/{inline_response2007_spec.rb → inline_response2003_spec.rb} +8 -8
- data/spec/models/inline_response200_spec.rb +2 -20
- data/spec/models/inline_response201_spec.rb +2 -8
- data/spec/models/{inline_response400_spec.rb → inline_response202_spec.rb} +8 -8
- data/spec/models/invalid_identifier_error_spec.rb +1 -1
- data/spec/models/notification200_errors_spec.rb +1 -1
- data/spec/models/notification_all_of_spec.rb +1 -527
- data/spec/models/{inline_response2002_spec.rb → notification_history_success_response_spec.rb} +7 -7
- data/spec/models/notification_slice_spec.rb +1 -1
- data/spec/models/notification_spec.rb +56 -76
- data/spec/models/notification_target_spec.rb +17 -73
- data/spec/models/notification_with_meta_all_of_spec.rb +1 -1
- data/spec/models/notification_with_meta_spec.rb +56 -76
- 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 +70 -0
- data/spec/models/platform_delivery_data_sms_all_of_spec.rb +46 -0
- data/spec/models/platform_delivery_data_spec.rb +13 -1
- data/spec/models/player_notification_target_include_aliases_spec.rb +34 -0
- data/spec/models/player_notification_target_spec.rb +17 -1
- data/spec/models/player_slice_spec.rb +1 -1
- data/spec/models/player_spec.rb +1 -1
- data/spec/models/properties_deltas_spec.rb +46 -0
- data/spec/models/{filter_notification_target_spec.rb → properties_object_spec.rb} +18 -24
- data/spec/models/purchase_spec.rb +7 -1
- data/spec/models/rate_limiter_error_spec.rb +34 -0
- data/spec/models/segment_notification_target_spec.rb +1 -1
- data/spec/models/segment_spec.rb +1 -1
- data/spec/models/string_map_spec.rb +1 -1
- data/spec/models/subscription_object_spec.rb +134 -0
- data/spec/models/transfer_subscription_request_body_spec.rb +34 -0
- data/spec/models/update_live_activity_request_spec.rb +60 -0
- data/spec/models/update_live_activity_success_response_spec.rb +40 -0
- data/spec/models/update_player_success_response_spec.rb +34 -0
- data/spec/models/update_player_tags_request_body_spec.rb +1 -1
- data/spec/models/update_player_tags_success_response_spec.rb +34 -0
- data/spec/models/update_subscription_request_body_spec.rb +34 -0
- data/spec/models/update_user_request_spec.rb +46 -0
- data/spec/models/user_identity_request_body_spec.rb +34 -0
- data/spec/models/user_identity_response_spec.rb +34 -0
- data/spec/models/user_spec.rb +52 -0
- data/spec/models/user_subscription_options_spec.rb +34 -0
- data/spec/spec_helper.rb +1 -1
- metadata +178 -53
- data/docs/FilterNotificationTarget.md +0 -40
- data/docs/InlineResponse400.md +0 -18
- data/docs/InlineResponse4001.md +0 -20
- data/docs/InlineResponse4003.md +0 -18
@@ -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: 1.0
|
6
|
+
The version of the OpenAPI document: 1.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
|
@@ -25,536 +25,10 @@ describe OneSignal::NotificationAllOf do
|
|
25
25
|
expect(instance).to be_instance_of(OneSignal::NotificationAllOf)
|
26
26
|
end
|
27
27
|
end
|
28
|
-
describe 'test attribute "id"' do
|
29
|
-
it 'should work' do
|
30
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
describe 'test attribute "value"' do
|
35
|
-
it 'should work' do
|
36
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test attribute "aggregation"' do
|
41
|
-
it 'should work' do
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["sum", "count"])
|
44
|
-
# validator.allowable_values.each do |value|
|
45
|
-
# expect { instance.aggregation = value }.not_to raise_error
|
46
|
-
# end
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
describe 'test attribute "is_ios"' do
|
51
|
-
it 'should work' do
|
52
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
-
end
|
54
|
-
end
|
55
|
-
|
56
|
-
describe 'test attribute "is_android"' do
|
57
|
-
it 'should work' do
|
58
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
describe 'test attribute "is_huawei"' do
|
63
|
-
it 'should work' do
|
64
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
describe 'test attribute "is_any_web"' do
|
69
|
-
it 'should work' do
|
70
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
|
-
end
|
72
|
-
end
|
73
|
-
|
74
|
-
describe 'test attribute "is_chrome_web"' do
|
75
|
-
it 'should work' do
|
76
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
77
|
-
end
|
78
|
-
end
|
79
|
-
|
80
|
-
describe 'test attribute "is_firefox"' do
|
81
|
-
it 'should work' do
|
82
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
83
|
-
end
|
84
|
-
end
|
85
|
-
|
86
|
-
describe 'test attribute "is_safari"' do
|
87
|
-
it 'should work' do
|
88
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
89
|
-
end
|
90
|
-
end
|
91
|
-
|
92
|
-
describe 'test attribute "is_wp_wns"' do
|
93
|
-
it 'should work' do
|
94
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
95
|
-
end
|
96
|
-
end
|
97
|
-
|
98
|
-
describe 'test attribute "is_adm"' do
|
99
|
-
it 'should work' do
|
100
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
101
|
-
end
|
102
|
-
end
|
103
|
-
|
104
|
-
describe 'test attribute "is_chrome"' do
|
105
|
-
it 'should work' do
|
106
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
107
|
-
end
|
108
|
-
end
|
109
|
-
|
110
|
-
describe 'test attribute "channel_for_external_user_ids"' do
|
111
|
-
it 'should work' do
|
112
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
113
|
-
end
|
114
|
-
end
|
115
|
-
|
116
|
-
describe 'test attribute "app_id"' do
|
117
|
-
it 'should work' do
|
118
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
119
|
-
end
|
120
|
-
end
|
121
|
-
|
122
|
-
describe 'test attribute "external_id"' do
|
123
|
-
it 'should work' do
|
124
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
125
|
-
end
|
126
|
-
end
|
127
|
-
|
128
|
-
describe 'test attribute "contents"' do
|
129
|
-
it 'should work' do
|
130
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
131
|
-
end
|
132
|
-
end
|
133
|
-
|
134
|
-
describe 'test attribute "headings"' do
|
135
|
-
it 'should work' do
|
136
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
137
|
-
end
|
138
|
-
end
|
139
|
-
|
140
|
-
describe 'test attribute "subtitle"' do
|
141
|
-
it 'should work' do
|
142
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
143
|
-
end
|
144
|
-
end
|
145
|
-
|
146
|
-
describe 'test attribute "data"' do
|
147
|
-
it 'should work' do
|
148
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
149
|
-
end
|
150
|
-
end
|
151
|
-
|
152
|
-
describe 'test attribute "huawei_msg_type"' do
|
153
|
-
it 'should work' do
|
154
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
155
|
-
end
|
156
|
-
end
|
157
|
-
|
158
|
-
describe 'test attribute "url"' do
|
159
|
-
it 'should work' do
|
160
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
161
|
-
end
|
162
|
-
end
|
163
|
-
|
164
|
-
describe 'test attribute "web_url"' do
|
165
|
-
it 'should work' do
|
166
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
167
|
-
end
|
168
|
-
end
|
169
|
-
|
170
|
-
describe 'test attribute "app_url"' do
|
171
|
-
it 'should work' do
|
172
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
173
|
-
end
|
174
|
-
end
|
175
|
-
|
176
|
-
describe 'test attribute "ios_attachments"' do
|
177
|
-
it 'should work' do
|
178
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
179
|
-
end
|
180
|
-
end
|
181
|
-
|
182
|
-
describe 'test attribute "template_id"' do
|
183
|
-
it 'should work' do
|
184
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
185
|
-
end
|
186
|
-
end
|
187
|
-
|
188
|
-
describe 'test attribute "content_available"' do
|
189
|
-
it 'should work' do
|
190
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
191
|
-
end
|
192
|
-
end
|
193
|
-
|
194
|
-
describe 'test attribute "mutable_content"' do
|
195
|
-
it 'should work' do
|
196
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
197
|
-
end
|
198
|
-
end
|
199
|
-
|
200
|
-
describe 'test attribute "target_content_identifier"' do
|
201
|
-
it 'should work' do
|
202
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
203
|
-
end
|
204
|
-
end
|
205
|
-
|
206
|
-
describe 'test attribute "big_picture"' do
|
207
|
-
it 'should work' do
|
208
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
209
|
-
end
|
210
|
-
end
|
211
|
-
|
212
|
-
describe 'test attribute "huawei_big_picture"' do
|
213
|
-
it 'should work' do
|
214
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
215
|
-
end
|
216
|
-
end
|
217
|
-
|
218
|
-
describe 'test attribute "adm_big_picture"' do
|
219
|
-
it 'should work' do
|
220
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
221
|
-
end
|
222
|
-
end
|
223
|
-
|
224
|
-
describe 'test attribute "chrome_big_picture"' do
|
225
|
-
it 'should work' do
|
226
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
227
|
-
end
|
228
|
-
end
|
229
|
-
|
230
|
-
describe 'test attribute "chrome_web_image"' do
|
231
|
-
it 'should work' do
|
232
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
233
|
-
end
|
234
|
-
end
|
235
|
-
|
236
|
-
describe 'test attribute "buttons"' do
|
237
|
-
it 'should work' do
|
238
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
239
|
-
end
|
240
|
-
end
|
241
|
-
|
242
|
-
describe 'test attribute "web_buttons"' do
|
243
|
-
it 'should work' do
|
244
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
245
|
-
end
|
246
|
-
end
|
247
|
-
|
248
|
-
describe 'test attribute "ios_category"' do
|
249
|
-
it 'should work' do
|
250
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
251
|
-
end
|
252
|
-
end
|
253
|
-
|
254
|
-
describe 'test attribute "android_channel_id"' do
|
255
|
-
it 'should work' do
|
256
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
257
|
-
end
|
258
|
-
end
|
259
|
-
|
260
|
-
describe 'test attribute "huawei_channel_id"' do
|
261
|
-
it 'should work' do
|
262
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
263
|
-
end
|
264
|
-
end
|
265
|
-
|
266
|
-
describe 'test attribute "existing_android_channel_id"' do
|
267
|
-
it 'should work' do
|
268
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
269
|
-
end
|
270
|
-
end
|
271
|
-
|
272
|
-
describe 'test attribute "huawei_existing_channel_id"' do
|
273
|
-
it 'should work' do
|
274
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
275
|
-
end
|
276
|
-
end
|
277
|
-
|
278
|
-
describe 'test attribute "android_background_layout"' do
|
279
|
-
it 'should work' do
|
280
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
281
|
-
end
|
282
|
-
end
|
283
|
-
|
284
|
-
describe 'test attribute "small_icon"' do
|
285
|
-
it 'should work' do
|
286
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
287
|
-
end
|
288
|
-
end
|
289
|
-
|
290
|
-
describe 'test attribute "huawei_small_icon"' do
|
291
|
-
it 'should work' do
|
292
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
293
|
-
end
|
294
|
-
end
|
295
|
-
|
296
|
-
describe 'test attribute "large_icon"' do
|
297
|
-
it 'should work' do
|
298
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
299
|
-
end
|
300
|
-
end
|
301
|
-
|
302
|
-
describe 'test attribute "huawei_large_icon"' do
|
303
|
-
it 'should work' do
|
304
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
305
|
-
end
|
306
|
-
end
|
307
|
-
|
308
|
-
describe 'test attribute "adm_small_icon"' do
|
309
|
-
it 'should work' do
|
310
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
311
|
-
end
|
312
|
-
end
|
313
|
-
|
314
|
-
describe 'test attribute "adm_large_icon"' do
|
315
|
-
it 'should work' do
|
316
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
317
|
-
end
|
318
|
-
end
|
319
|
-
|
320
|
-
describe 'test attribute "chrome_web_icon"' do
|
321
|
-
it 'should work' do
|
322
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
323
|
-
end
|
324
|
-
end
|
325
|
-
|
326
|
-
describe 'test attribute "chrome_web_badge"' do
|
327
|
-
it 'should work' do
|
328
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
329
|
-
end
|
330
|
-
end
|
331
|
-
|
332
|
-
describe 'test attribute "firefox_icon"' do
|
333
|
-
it 'should work' do
|
334
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
335
|
-
end
|
336
|
-
end
|
337
|
-
|
338
|
-
describe 'test attribute "chrome_icon"' do
|
339
|
-
it 'should work' do
|
340
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
341
|
-
end
|
342
|
-
end
|
343
|
-
|
344
|
-
describe 'test attribute "ios_sound"' do
|
345
|
-
it 'should work' do
|
346
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
347
|
-
end
|
348
|
-
end
|
349
|
-
|
350
|
-
describe 'test attribute "android_sound"' do
|
351
|
-
it 'should work' do
|
352
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
353
|
-
end
|
354
|
-
end
|
355
|
-
|
356
|
-
describe 'test attribute "huawei_sound"' do
|
357
|
-
it 'should work' do
|
358
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
359
|
-
end
|
360
|
-
end
|
361
|
-
|
362
|
-
describe 'test attribute "adm_sound"' do
|
363
|
-
it 'should work' do
|
364
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
365
|
-
end
|
366
|
-
end
|
367
|
-
|
368
|
-
describe 'test attribute "wp_wns_sound"' do
|
369
|
-
it 'should work' do
|
370
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
371
|
-
end
|
372
|
-
end
|
373
|
-
|
374
|
-
describe 'test attribute "android_led_color"' do
|
375
|
-
it 'should work' do
|
376
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
377
|
-
end
|
378
|
-
end
|
379
|
-
|
380
|
-
describe 'test attribute "huawei_led_color"' do
|
381
|
-
it 'should work' do
|
382
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
383
|
-
end
|
384
|
-
end
|
385
|
-
|
386
|
-
describe 'test attribute "android_accent_color"' do
|
387
|
-
it 'should work' do
|
388
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
389
|
-
end
|
390
|
-
end
|
391
|
-
|
392
|
-
describe 'test attribute "huawei_accent_color"' do
|
393
|
-
it 'should work' do
|
394
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
395
|
-
end
|
396
|
-
end
|
397
|
-
|
398
|
-
describe 'test attribute "android_visibility"' do
|
399
|
-
it 'should work' do
|
400
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
401
|
-
end
|
402
|
-
end
|
403
|
-
|
404
|
-
describe 'test attribute "huawei_visibility"' do
|
405
|
-
it 'should work' do
|
406
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
407
|
-
end
|
408
|
-
end
|
409
|
-
|
410
|
-
describe 'test attribute "ios_badge_type"' do
|
411
|
-
it 'should work' do
|
412
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
413
|
-
end
|
414
|
-
end
|
415
|
-
|
416
|
-
describe 'test attribute "ios_badge_count"' do
|
417
|
-
it 'should work' do
|
418
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
419
|
-
end
|
420
|
-
end
|
421
|
-
|
422
|
-
describe 'test attribute "collapse_id"' do
|
423
|
-
it 'should work' do
|
424
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
425
|
-
end
|
426
|
-
end
|
427
|
-
|
428
|
-
describe 'test attribute "web_push_topic"' do
|
429
|
-
it 'should work' do
|
430
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
431
|
-
end
|
432
|
-
end
|
433
|
-
|
434
|
-
describe 'test attribute "apns_alert"' do
|
435
|
-
it 'should work' do
|
436
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
437
|
-
end
|
438
|
-
end
|
439
|
-
|
440
28
|
describe 'test attribute "send_after"' do
|
441
29
|
it 'should work' do
|
442
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
443
31
|
end
|
444
32
|
end
|
445
33
|
|
446
|
-
describe 'test attribute "delayed_option"' do
|
447
|
-
it 'should work' do
|
448
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
449
|
-
end
|
450
|
-
end
|
451
|
-
|
452
|
-
describe 'test attribute "delivery_time_of_day"' do
|
453
|
-
it 'should work' do
|
454
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
455
|
-
end
|
456
|
-
end
|
457
|
-
|
458
|
-
describe 'test attribute "ttl"' do
|
459
|
-
it 'should work' do
|
460
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
461
|
-
end
|
462
|
-
end
|
463
|
-
|
464
|
-
describe 'test attribute "priority"' do
|
465
|
-
it 'should work' do
|
466
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
467
|
-
end
|
468
|
-
end
|
469
|
-
|
470
|
-
describe 'test attribute "apns_push_type_override"' do
|
471
|
-
it 'should work' do
|
472
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
473
|
-
end
|
474
|
-
end
|
475
|
-
|
476
|
-
describe 'test attribute "throttle_rate_per_minute"' do
|
477
|
-
it 'should work' do
|
478
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
479
|
-
end
|
480
|
-
end
|
481
|
-
|
482
|
-
describe 'test attribute "android_group"' do
|
483
|
-
it 'should work' do
|
484
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
485
|
-
end
|
486
|
-
end
|
487
|
-
|
488
|
-
describe 'test attribute "android_group_message"' do
|
489
|
-
it 'should work' do
|
490
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
491
|
-
end
|
492
|
-
end
|
493
|
-
|
494
|
-
describe 'test attribute "adm_group"' do
|
495
|
-
it 'should work' do
|
496
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
497
|
-
end
|
498
|
-
end
|
499
|
-
|
500
|
-
describe 'test attribute "adm_group_message"' do
|
501
|
-
it 'should work' do
|
502
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
503
|
-
end
|
504
|
-
end
|
505
|
-
|
506
|
-
describe 'test attribute "thread_id"' do
|
507
|
-
it 'should work' do
|
508
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
509
|
-
end
|
510
|
-
end
|
511
|
-
|
512
|
-
describe 'test attribute "summary_arg"' do
|
513
|
-
it 'should work' do
|
514
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
515
|
-
end
|
516
|
-
end
|
517
|
-
|
518
|
-
describe 'test attribute "summary_arg_count"' do
|
519
|
-
it 'should work' do
|
520
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
521
|
-
end
|
522
|
-
end
|
523
|
-
|
524
|
-
describe 'test attribute "email_subject"' do
|
525
|
-
it 'should work' do
|
526
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
527
|
-
end
|
528
|
-
end
|
529
|
-
|
530
|
-
describe 'test attribute "email_body"' do
|
531
|
-
it 'should work' do
|
532
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
533
|
-
end
|
534
|
-
end
|
535
|
-
|
536
|
-
describe 'test attribute "email_from_name"' do
|
537
|
-
it 'should work' do
|
538
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
539
|
-
end
|
540
|
-
end
|
541
|
-
|
542
|
-
describe 'test attribute "email_from_address"' do
|
543
|
-
it 'should work' do
|
544
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
545
|
-
end
|
546
|
-
end
|
547
|
-
|
548
|
-
describe 'test attribute "sms_from"' do
|
549
|
-
it 'should work' do
|
550
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
551
|
-
end
|
552
|
-
end
|
553
|
-
|
554
|
-
describe 'test attribute "sms_media_urls"' do
|
555
|
-
it 'should work' do
|
556
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
557
|
-
end
|
558
|
-
end
|
559
|
-
|
560
34
|
end
|
data/spec/models/{inline_response2002_spec.rb → notification_history_success_response_spec.rb}
RENAMED
@@ -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: 1.0
|
6
|
+
The version of the OpenAPI document: 1.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
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for OneSignal::
|
17
|
+
# Unit tests for OneSignal::NotificationHistorySuccessResponse
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe OneSignal::
|
21
|
-
let(:instance) { OneSignal::
|
20
|
+
describe OneSignal::NotificationHistorySuccessResponse do
|
21
|
+
let(:instance) { OneSignal::NotificationHistorySuccessResponse.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
25
|
-
expect(instance).to be_instance_of(OneSignal::
|
23
|
+
describe 'test an instance of NotificationHistorySuccessResponse' do
|
24
|
+
it 'should create an instance of NotificationHistorySuccessResponse' do
|
25
|
+
expect(instance).to be_instance_of(OneSignal::NotificationHistorySuccessResponse)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
describe 'test attribute "success"' do
|
@@ -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: 1.0
|
6
|
+
The version of the OpenAPI document: 1.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
|