|
2 | 2 | * OneSignal
|
3 | 3 | * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
|
4 | 4 | *
|
5 |
| - * The version of the OpenAPI document: 1.3.0 |
| 5 | + * The version of the OpenAPI document: 1.4.0 |
6 | 6 |
|
7 | 7 | *
|
8 | 8 | * NOTE: This class is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.
|
@@ -209,14 +209,23 @@ class BasicNotification_allOf
|
209 | 209 | void setAppId(const utility::string_t& value);
|
210 | 210 |
|
211 | 211 | /// <summary>
|
212 |
| - /// Correlation and idempotency key. A request received with this parameter will first look for another notification with the same external_id. If one exists, a notification will not be sent, and result of the previous operation will instead be returned. Therefore, if you plan on using this feature, it's important to use a good source of randomness to generate the UUID passed here. This key is only idempotent for 30 days. After 30 days, the notification could be removed from our system and a notification with the same external_id will be sent again. See Idempotent Notification Requests for more details writeOnly: true |
| 212 | + /// [DEPRECATED] Correlation and idempotency key. A request received with this parameter will first look for another notification with the same external_id. If one exists, a notification will not be sent, and result of the previous operation will instead be returned. Therefore, if you plan on using this feature, it's important to use a good source of randomness to generate the UUID passed here. This key is only idempotent for 30 days. After 30 days, the notification could be removed from our system and a notification with the same external_id will be sent again. See Idempotent Notification Requests for more details writeOnly: true |
213 | 213 | /// </summary>
|
214 | 214 | utility::string_t getExternalId() const;
|
215 | 215 | bool externalIdIsSet() const;
|
216 | 216 | void unsetExternal_id();
|
217 | 217 |
|
218 | 218 | void setExternalId(const utility::string_t& value);
|
219 | 219 |
|
| 220 | + /// <summary> |
| 221 | + /// Correlation and idempotency key. A request received with this parameter will first look for another notification with the same idempotency key. If one exists, a notification will not be sent, and result of the previous operation will instead be returned. Therefore, if you plan on using this feature, it's important to use a good source of randomness to generate the UUID passed here. This key is only idempotent for 30 days. After 30 days, the notification could be removed from our system and a notification with the same idempotency key will be sent again. See Idempotent Notification Requests for more details writeOnly: true |
| 222 | + /// </summary> |
| 223 | + utility::string_t getIdempotencyKey() const; |
| 224 | + bool idempotencyKeyIsSet() const; |
| 225 | + void unsetIdempotency_key(); |
| 226 | + |
| 227 | + void setIdempotencyKey(const utility::string_t& value); |
| 228 | + |
220 | 229 | /// <summary>
|
221 | 230 | ///
|
222 | 231 | /// </summary>
|
@@ -928,6 +937,8 @@ class BasicNotification_allOf
|
928 | 937 | bool m_App_idIsSet;
|
929 | 938 | utility::string_t m_External_id;
|
930 | 939 | bool m_External_idIsSet;
|
| 940 | + utility::string_t m_Idempotency_key; |
| 941 | + bool m_Idempotency_keyIsSet; |
931 | 942 | std::shared_ptr<StringMap> m_Contents;
|
932 | 943 | bool m_ContentsIsSet;
|
933 | 944 | std::shared_ptr<StringMap> m_Headings;
|
|
0 commit comments