From 387c08eb7c19ba66085a37e1c38cb26624e67e41 Mon Sep 17 00:00:00 2001 From: OneSignal Date: Fri, 17 Apr 2026 23:29:34 +0000 Subject: [PATCH] feat: add v5.4.0 package updates --- README.md | 4 +- composer.json | 2 +- docs/Model/CreateTemplateRequest.md | 2 + docs/Model/UpdateTemplateRequest.md | 2 + lib/ApiException.php | 2 +- lib/Configuration.php | 8 +- lib/HeaderSelector.php | 2 +- lib/ObjectSerializer.php | 2 +- lib/api/DefaultApi.php | 90 +++++++++---------- lib/model/ApiKeyToken.php | 2 +- lib/model/ApiKeyTokensListResponse.php | 2 +- lib/model/App.php | 2 +- lib/model/BasicNotification.php | 2 +- lib/model/BasicNotificationAllOf.php | 2 +- ...tificationAllOfAndroidBackgroundLayout.php | 2 +- lib/model/Button.php | 2 +- lib/model/CopyTemplateRequest.php | 2 +- lib/model/CreateApiKeyRequest.php | 2 +- lib/model/CreateApiKeyResponse.php | 2 +- .../CreateNotificationSuccessResponse.php | 2 +- lib/model/CreateSegmentConflictResponse.php | 2 +- lib/model/CreateSegmentSuccessResponse.php | 2 +- lib/model/CreateTemplateRequest.php | 62 ++++++++++++- lib/model/CreateUserConflictResponse.php | 2 +- .../CreateUserConflictResponseErrorsInner.php | 2 +- ...ateUserConflictResponseErrorsItemsMeta.php | 2 +- lib/model/CustomEvent.php | 2 +- lib/model/CustomEventsRequest.php | 2 +- lib/model/DeliveryData.php | 2 +- lib/model/ExportEventsSuccessResponse.php | 2 +- lib/model/ExportSubscriptionsRequestBody.php | 2 +- .../ExportSubscriptionsSuccessResponse.php | 2 +- lib/model/Filter.php | 2 +- lib/model/FilterExpression.php | 2 +- lib/model/GenericError.php | 2 +- lib/model/GenericSuccessBoolResponse.php | 2 +- .../GetNotificationHistoryRequestBody.php | 2 +- lib/model/GetSegmentsSuccessResponse.php | 2 +- lib/model/LanguageStringMap.php | 2 +- lib/model/ModelInterface.php | 2 +- lib/model/Notification.php | 2 +- lib/model/NotificationAllOf.php | 2 +- .../NotificationHistorySuccessResponse.php | 2 +- lib/model/NotificationSlice.php | 2 +- lib/model/NotificationTarget.php | 2 +- lib/model/NotificationWithMeta.php | 2 +- lib/model/NotificationWithMetaAllOf.php | 2 +- lib/model/Operator.php | 2 +- lib/model/OutcomeData.php | 2 +- lib/model/OutcomesData.php | 2 +- lib/model/PlatformDeliveryData.php | 2 +- lib/model/PlatformDeliveryDataEmailAllOf.php | 2 +- lib/model/PlatformDeliveryDataSmsAllOf.php | 2 +- lib/model/PropertiesBody.php | 2 +- lib/model/PropertiesDeltas.php | 2 +- lib/model/PropertiesObject.php | 2 +- lib/model/Purchase.php | 2 +- lib/model/RateLimitError.php | 2 +- lib/model/Segment.php | 2 +- lib/model/SegmentData.php | 2 +- lib/model/SegmentNotificationTarget.php | 2 +- lib/model/StartLiveActivityRequest.php | 2 +- .../StartLiveActivitySuccessResponse.php | 2 +- lib/model/Subscription.php | 2 +- lib/model/SubscriptionBody.php | 2 +- lib/model/SubscriptionNotificationTarget.php | 2 +- lib/model/TemplateResource.php | 2 +- lib/model/TemplatesListResponse.php | 2 +- lib/model/TransferSubscriptionRequestBody.php | 2 +- lib/model/UpdateApiKeyRequest.php | 2 +- lib/model/UpdateLiveActivityRequest.php | 2 +- .../UpdateLiveActivitySuccessResponse.php | 2 +- lib/model/UpdateTemplateRequest.php | 62 ++++++++++++- lib/model/UpdateUserRequest.php | 2 +- lib/model/User.php | 2 +- lib/model/UserIdentityBody.php | 2 +- lib/model/WebButton.php | 2 +- 77 files changed, 247 insertions(+), 123 deletions(-) diff --git a/README.md b/README.md index 204bea0..1aa20c4 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ A powerful way to send personalized messages at scale and build effective custom For more information, please visit [https://onesignal.com](https://onesignal.com). -- API version: 5.3.0 -- Package version: 5.3.0 +- API version: 5.4.0 +- Package version: 5.4.0 ## Requirements diff --git a/composer.json b/composer.json index 28e364c..683e3e0 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "onesignal/onesignal-php-api", - "version": "5.3.0", + "version": "5.4.0", "description": "A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com", "keywords": [ "onesignal", diff --git a/docs/Model/CreateTemplateRequest.md b/docs/Model/CreateTemplateRequest.md index 0d5207f..7680227 100644 --- a/docs/Model/CreateTemplateRequest.md +++ b/docs/Model/CreateTemplateRequest.md @@ -7,6 +7,8 @@ Name | Type | Description | Notes **app_id** | **string** | Your OneSignal App ID in UUID v4 format. | **name** | **string** | Name of the template. | **contents** | [**\onesignal\client\model\LanguageStringMap**](LanguageStringMap.md) | | +**headings** | [**\onesignal\client\model\LanguageStringMap**](LanguageStringMap.md) | | [optional] +**subtitle** | [**\onesignal\client\model\LanguageStringMap**](LanguageStringMap.md) | | [optional] **is_email** | **bool** | Set true for an Email template. | [optional] **email_subject** | **string** | Subject of the email. | [optional] **email_body** | **string** | Body of the email (HTML supported). | [optional] diff --git a/docs/Model/UpdateTemplateRequest.md b/docs/Model/UpdateTemplateRequest.md index e218e03..62993b4 100644 --- a/docs/Model/UpdateTemplateRequest.md +++ b/docs/Model/UpdateTemplateRequest.md @@ -6,6 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **string** | Updated name of the template. | [optional] **contents** | [**\onesignal\client\model\LanguageStringMap**](LanguageStringMap.md) | | [optional] +**headings** | [**\onesignal\client\model\LanguageStringMap**](LanguageStringMap.md) | | [optional] +**subtitle** | [**\onesignal\client\model\LanguageStringMap**](LanguageStringMap.md) | | [optional] **is_email** | **bool** | Set true for an Email template. | [optional] **email_subject** | **string** | Subject of the email. | [optional] **email_body** | **string** | Body of the email (HTML supported). | [optional] diff --git a/lib/ApiException.php b/lib/ApiException.php index fe99eac..4b763e6 100644 --- a/lib/ApiException.php +++ b/lib/ApiException.php @@ -14,7 +14,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/Configuration.php b/lib/Configuration.php index 6440a5d..d27fc8d 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -14,7 +14,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -99,7 +99,7 @@ class Configuration * * @var string */ - protected $userAgent = 'OpenAPI-Generator/5.3.0/PHP'; + protected $userAgent = 'OpenAPI-Generator/5.4.0/PHP'; /** * Debug switch (default set to false) @@ -430,8 +430,8 @@ public static function toDebugReport() $report = 'PHP SDK (onesignal\client) Debug Report:' . PHP_EOL; $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; - $report .= ' The version of the OpenAPI document: 5.3.0' . PHP_EOL; - $report .= ' SDK Package Version: 5.3.0' . PHP_EOL; + $report .= ' The version of the OpenAPI document: 5.4.0' . PHP_EOL; + $report .= ' SDK Package Version: 5.4.0' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/lib/HeaderSelector.php b/lib/HeaderSelector.php index 1c74233..4ffc5ff 100644 --- a/lib/HeaderSelector.php +++ b/lib/HeaderSelector.php @@ -14,7 +14,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/ObjectSerializer.php b/lib/ObjectSerializer.php index 22025e5..19495d7 100644 --- a/lib/ObjectSerializer.php +++ b/lib/ObjectSerializer.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/api/DefaultApi.php b/lib/api/DefaultApi.php index d7e6020..dbfe692 100644 --- a/lib/api/DefaultApi.php +++ b/lib/api/DefaultApi.php @@ -14,7 +14,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -474,7 +474,7 @@ public function cancelNotificationRequest($app_id, $notification_id) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -820,7 +820,7 @@ public function copyTemplateToAppRequest($template_id, $app_id, $copy_template_r } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -1245,7 +1245,7 @@ public function createAliasRequest($app_id, $alias_label, $alias_id, $user_ident } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -1651,7 +1651,7 @@ public function createAliasBySubscriptionRequest($app_id, $subscription_id, $use } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -1977,7 +1977,7 @@ public function createApiKeyRequest($app_id, $create_api_key_request) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -2307,7 +2307,7 @@ public function createAppRequest($app) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -2679,7 +2679,7 @@ public function createCustomEventsRequest($app_id, $custom_events_request) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -3009,7 +3009,7 @@ public function createNotificationRequest($notification) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -3375,7 +3375,7 @@ public function createSegmentRequest($app_id, $segment = null) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -3823,7 +3823,7 @@ public function createSubscriptionRequest($app_id, $alias_label, $alias_id, $sub } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -4153,7 +4153,7 @@ public function createTemplateRequest($create_template_request) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -4563,7 +4563,7 @@ public function createUserRequest($app_id, $user) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -4990,7 +4990,7 @@ public function deleteAliasRequest($app_id, $alias_label, $alias_id, $alias_labe } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -5318,7 +5318,7 @@ public function deleteApiKeyRequest($app_id, $token_id) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -5692,7 +5692,7 @@ public function deleteSegmentRequest($app_id, $segment_id) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -5967,7 +5967,7 @@ public function deleteSubscriptionRequest($app_id, $subscription_id) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -6319,7 +6319,7 @@ public function deleteTemplateRequest($template_id, $app_id) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -6605,7 +6605,7 @@ public function deleteUserRequest($app_id, $alias_label, $alias_id) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -6980,7 +6980,7 @@ public function exportEventsRequest($notification_id, $app_id) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -7323,7 +7323,7 @@ public function exportSubscriptionsRequest($app_id, $export_subscriptions_reques } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -7708,7 +7708,7 @@ public function getAliasesRequest($app_id, $alias_label, $alias_id) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -8051,7 +8051,7 @@ public function getAliasesBySubscriptionRequest($app_id, $subscription_id) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -8383,7 +8383,7 @@ public function getAppRequest($app_id) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -8696,7 +8696,7 @@ public function getAppsRequest() } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -9071,7 +9071,7 @@ public function getNotificationRequest($app_id, $notification_id) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -9443,7 +9443,7 @@ public function getNotificationHistoryRequest($notification_id, $get_notificatio } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -9818,7 +9818,7 @@ public function getNotificationsRequest($app_id, $limit = null, $offset = null, } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -10226,7 +10226,7 @@ public function getOutcomesRequest($app_id, $outcome_names, $outcome_names2 = nu } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -10586,7 +10586,7 @@ public function getSegmentsRequest($app_id, $offset = null, $limit = null) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -10971,7 +10971,7 @@ public function getUserRequest($app_id, $alias_label, $alias_id) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -11299,7 +11299,7 @@ public function rotateApiKeyRequest($app_id, $token_id) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -11667,7 +11667,7 @@ public function startLiveActivityRequest($app_id, $activity_type, $start_live_ac } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -12073,7 +12073,7 @@ public function transferSubscriptionRequest($app_id, $subscription_id, $transfer } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -12444,7 +12444,7 @@ public function unsubscribeEmailWithTokenRequest($app_id, $notification_id, $tok } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -12789,7 +12789,7 @@ public function updateApiKeyRequest($app_id, $token_id, $update_api_key_request) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -13138,7 +13138,7 @@ public function updateAppRequest($app_id, $app) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -13506,7 +13506,7 @@ public function updateLiveActivityRequest($app_id, $activity_id, $update_live_ac } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -13798,7 +13798,7 @@ public function updateSubscriptionRequest($app_id, $subscription_id, $subscripti } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -14185,7 +14185,7 @@ public function updateSubscriptionByTokenRequest($app_id, $token_type, $token, $ } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -14531,7 +14531,7 @@ public function updateTemplateRequest($template_id, $app_id, $update_template_re } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -14933,7 +14933,7 @@ public function updateUserRequest($app_id, $alias_label, $alias_id, $update_user } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -15242,7 +15242,7 @@ public function viewApiKeysRequest($app_id) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -15594,7 +15594,7 @@ public function viewTemplateRequest($template_id, $app_id) } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, @@ -15969,7 +15969,7 @@ public function viewTemplatesRequest($app_id, $limit = 50, $offset = 0, $channel } // Adding the telemetry header - $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.3.0'; + $defaultHeaders['OS-Usage-Data'] = 'kind=sdk, sdk-name=onesignal-php, version=5.4.0'; $headers = array_merge( $defaultHeaders, diff --git a/lib/model/ApiKeyToken.php b/lib/model/ApiKeyToken.php index 685e709..8be0a2c 100644 --- a/lib/model/ApiKeyToken.php +++ b/lib/model/ApiKeyToken.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/ApiKeyTokensListResponse.php b/lib/model/ApiKeyTokensListResponse.php index c8e1a2a..50edc02 100644 --- a/lib/model/ApiKeyTokensListResponse.php +++ b/lib/model/ApiKeyTokensListResponse.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/App.php b/lib/model/App.php index 544a013..80c8500 100644 --- a/lib/model/App.php +++ b/lib/model/App.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/BasicNotification.php b/lib/model/BasicNotification.php index 0ecba96..0e8b461 100644 --- a/lib/model/BasicNotification.php +++ b/lib/model/BasicNotification.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/BasicNotificationAllOf.php b/lib/model/BasicNotificationAllOf.php index dd61c09..cdd4534 100644 --- a/lib/model/BasicNotificationAllOf.php +++ b/lib/model/BasicNotificationAllOf.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/BasicNotificationAllOfAndroidBackgroundLayout.php b/lib/model/BasicNotificationAllOfAndroidBackgroundLayout.php index bd4cc21..1d66463 100644 --- a/lib/model/BasicNotificationAllOfAndroidBackgroundLayout.php +++ b/lib/model/BasicNotificationAllOfAndroidBackgroundLayout.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/Button.php b/lib/model/Button.php index 29a03da..5321c06 100644 --- a/lib/model/Button.php +++ b/lib/model/Button.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/CopyTemplateRequest.php b/lib/model/CopyTemplateRequest.php index f2f4552..7644c3a 100644 --- a/lib/model/CopyTemplateRequest.php +++ b/lib/model/CopyTemplateRequest.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/CreateApiKeyRequest.php b/lib/model/CreateApiKeyRequest.php index cc9b51e..800fb70 100644 --- a/lib/model/CreateApiKeyRequest.php +++ b/lib/model/CreateApiKeyRequest.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/CreateApiKeyResponse.php b/lib/model/CreateApiKeyResponse.php index ece5160..164c045 100644 --- a/lib/model/CreateApiKeyResponse.php +++ b/lib/model/CreateApiKeyResponse.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/CreateNotificationSuccessResponse.php b/lib/model/CreateNotificationSuccessResponse.php index ee3f3cd..d9d95e9 100644 --- a/lib/model/CreateNotificationSuccessResponse.php +++ b/lib/model/CreateNotificationSuccessResponse.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/CreateSegmentConflictResponse.php b/lib/model/CreateSegmentConflictResponse.php index 0fde3c8..e0da374 100644 --- a/lib/model/CreateSegmentConflictResponse.php +++ b/lib/model/CreateSegmentConflictResponse.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/CreateSegmentSuccessResponse.php b/lib/model/CreateSegmentSuccessResponse.php index 03de38b..73f6a3e 100644 --- a/lib/model/CreateSegmentSuccessResponse.php +++ b/lib/model/CreateSegmentSuccessResponse.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/CreateTemplateRequest.php b/lib/model/CreateTemplateRequest.php index 14557d2..7d0ef83 100644 --- a/lib/model/CreateTemplateRequest.php +++ b/lib/model/CreateTemplateRequest.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -63,6 +63,8 @@ class CreateTemplateRequest implements ModelInterface, ArrayAccess, \JsonSeriali 'app_id' => 'string', 'name' => 'string', 'contents' => '\onesignal\client\model\LanguageStringMap', + 'headings' => '\onesignal\client\model\LanguageStringMap', + 'subtitle' => '\onesignal\client\model\LanguageStringMap', 'is_email' => 'bool', 'email_subject' => 'string', 'email_body' => 'string', @@ -81,6 +83,8 @@ class CreateTemplateRequest implements ModelInterface, ArrayAccess, \JsonSeriali 'app_id' => null, 'name' => null, 'contents' => null, + 'headings' => null, + 'subtitle' => null, 'is_email' => null, 'email_subject' => null, 'email_body' => null, @@ -118,6 +122,8 @@ public static function openAPIFormats() 'app_id' => 'app_id', 'name' => 'name', 'contents' => 'contents', + 'headings' => 'headings', + 'subtitle' => 'subtitle', 'is_email' => 'isEmail', 'email_subject' => 'email_subject', 'email_body' => 'email_body', @@ -134,6 +140,8 @@ public static function openAPIFormats() 'app_id' => 'setAppId', 'name' => 'setName', 'contents' => 'setContents', + 'headings' => 'setHeadings', + 'subtitle' => 'setSubtitle', 'is_email' => 'setIsEmail', 'email_subject' => 'setEmailSubject', 'email_body' => 'setEmailBody', @@ -150,6 +158,8 @@ public static function openAPIFormats() 'app_id' => 'getAppId', 'name' => 'getName', 'contents' => 'getContents', + 'headings' => 'getHeadings', + 'subtitle' => 'getSubtitle', 'is_email' => 'getIsEmail', 'email_subject' => 'getEmailSubject', 'email_body' => 'getEmailBody', @@ -217,6 +227,8 @@ public function __construct(?array $data = null) $this->container['app_id'] = $data['app_id'] ?? null; $this->container['name'] = $data['name'] ?? null; $this->container['contents'] = $data['contents'] ?? null; + $this->container['headings'] = $data['headings'] ?? null; + $this->container['subtitle'] = $data['subtitle'] ?? null; $this->container['is_email'] = $data['is_email'] ?? null; $this->container['email_subject'] = $data['email_subject'] ?? null; $this->container['email_body'] = $data['email_body'] ?? null; @@ -329,6 +341,54 @@ public function setContents($contents) return $this; } + /** + * Gets headings + * + * @return \onesignal\client\model\LanguageStringMap|null + */ + public function getHeadings() + { + return $this->container['headings']; + } + + /** + * Sets headings + * + * @param \onesignal\client\model\LanguageStringMap|null $headings headings + * + * @return self + */ + public function setHeadings($headings) + { + $this->container['headings'] = $headings; + + return $this; + } + + /** + * Gets subtitle + * + * @return \onesignal\client\model\LanguageStringMap|null + */ + public function getSubtitle() + { + return $this->container['subtitle']; + } + + /** + * Sets subtitle + * + * @param \onesignal\client\model\LanguageStringMap|null $subtitle subtitle + * + * @return self + */ + public function setSubtitle($subtitle) + { + $this->container['subtitle'] = $subtitle; + + return $this; + } + /** * Gets is_email * diff --git a/lib/model/CreateUserConflictResponse.php b/lib/model/CreateUserConflictResponse.php index 2e38910..ef73092 100644 --- a/lib/model/CreateUserConflictResponse.php +++ b/lib/model/CreateUserConflictResponse.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/CreateUserConflictResponseErrorsInner.php b/lib/model/CreateUserConflictResponseErrorsInner.php index 0d5a83b..89006f9 100644 --- a/lib/model/CreateUserConflictResponseErrorsInner.php +++ b/lib/model/CreateUserConflictResponseErrorsInner.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/CreateUserConflictResponseErrorsItemsMeta.php b/lib/model/CreateUserConflictResponseErrorsItemsMeta.php index b5a2c67..0a0e03c 100644 --- a/lib/model/CreateUserConflictResponseErrorsItemsMeta.php +++ b/lib/model/CreateUserConflictResponseErrorsItemsMeta.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/CustomEvent.php b/lib/model/CustomEvent.php index 02c39c7..e301f15 100644 --- a/lib/model/CustomEvent.php +++ b/lib/model/CustomEvent.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/CustomEventsRequest.php b/lib/model/CustomEventsRequest.php index db8ae2f..5b3bb5f 100644 --- a/lib/model/CustomEventsRequest.php +++ b/lib/model/CustomEventsRequest.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/DeliveryData.php b/lib/model/DeliveryData.php index 2e65209..e7bec69 100644 --- a/lib/model/DeliveryData.php +++ b/lib/model/DeliveryData.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/ExportEventsSuccessResponse.php b/lib/model/ExportEventsSuccessResponse.php index 22f32c6..accc607 100644 --- a/lib/model/ExportEventsSuccessResponse.php +++ b/lib/model/ExportEventsSuccessResponse.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/ExportSubscriptionsRequestBody.php b/lib/model/ExportSubscriptionsRequestBody.php index a47c7cc..f43fa19 100644 --- a/lib/model/ExportSubscriptionsRequestBody.php +++ b/lib/model/ExportSubscriptionsRequestBody.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/ExportSubscriptionsSuccessResponse.php b/lib/model/ExportSubscriptionsSuccessResponse.php index c637193..224c9e8 100644 --- a/lib/model/ExportSubscriptionsSuccessResponse.php +++ b/lib/model/ExportSubscriptionsSuccessResponse.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/Filter.php b/lib/model/Filter.php index 7cc08d2..b2cb11c 100644 --- a/lib/model/Filter.php +++ b/lib/model/Filter.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/FilterExpression.php b/lib/model/FilterExpression.php index b843230..1ab64a2 100644 --- a/lib/model/FilterExpression.php +++ b/lib/model/FilterExpression.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/GenericError.php b/lib/model/GenericError.php index a959dd9..61fd9dd 100644 --- a/lib/model/GenericError.php +++ b/lib/model/GenericError.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/GenericSuccessBoolResponse.php b/lib/model/GenericSuccessBoolResponse.php index 39cdbba..93426ab 100644 --- a/lib/model/GenericSuccessBoolResponse.php +++ b/lib/model/GenericSuccessBoolResponse.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/GetNotificationHistoryRequestBody.php b/lib/model/GetNotificationHistoryRequestBody.php index 02f8eae..9d1b107 100644 --- a/lib/model/GetNotificationHistoryRequestBody.php +++ b/lib/model/GetNotificationHistoryRequestBody.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/GetSegmentsSuccessResponse.php b/lib/model/GetSegmentsSuccessResponse.php index 5813bec..d2da798 100644 --- a/lib/model/GetSegmentsSuccessResponse.php +++ b/lib/model/GetSegmentsSuccessResponse.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/LanguageStringMap.php b/lib/model/LanguageStringMap.php index 24bcbf6..831081e 100644 --- a/lib/model/LanguageStringMap.php +++ b/lib/model/LanguageStringMap.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/ModelInterface.php b/lib/model/ModelInterface.php index 70896bf..3479ede 100644 --- a/lib/model/ModelInterface.php +++ b/lib/model/ModelInterface.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/Notification.php b/lib/model/Notification.php index dbfc77d..598bd3f 100644 --- a/lib/model/Notification.php +++ b/lib/model/Notification.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/NotificationAllOf.php b/lib/model/NotificationAllOf.php index 0cfdf51..c566967 100644 --- a/lib/model/NotificationAllOf.php +++ b/lib/model/NotificationAllOf.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/NotificationHistorySuccessResponse.php b/lib/model/NotificationHistorySuccessResponse.php index d766464..73f5245 100644 --- a/lib/model/NotificationHistorySuccessResponse.php +++ b/lib/model/NotificationHistorySuccessResponse.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/NotificationSlice.php b/lib/model/NotificationSlice.php index 8556d43..18707f2 100644 --- a/lib/model/NotificationSlice.php +++ b/lib/model/NotificationSlice.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/NotificationTarget.php b/lib/model/NotificationTarget.php index c892ba2..ec8933b 100644 --- a/lib/model/NotificationTarget.php +++ b/lib/model/NotificationTarget.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/NotificationWithMeta.php b/lib/model/NotificationWithMeta.php index b005172..bac7160 100644 --- a/lib/model/NotificationWithMeta.php +++ b/lib/model/NotificationWithMeta.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/NotificationWithMetaAllOf.php b/lib/model/NotificationWithMetaAllOf.php index 3c8c3a2..829579b 100644 --- a/lib/model/NotificationWithMetaAllOf.php +++ b/lib/model/NotificationWithMetaAllOf.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/Operator.php b/lib/model/Operator.php index 9dfa022..da7dcda 100644 --- a/lib/model/Operator.php +++ b/lib/model/Operator.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/OutcomeData.php b/lib/model/OutcomeData.php index be0ba0f..8044dcc 100644 --- a/lib/model/OutcomeData.php +++ b/lib/model/OutcomeData.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/OutcomesData.php b/lib/model/OutcomesData.php index 866a2d5..038fd38 100644 --- a/lib/model/OutcomesData.php +++ b/lib/model/OutcomesData.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/PlatformDeliveryData.php b/lib/model/PlatformDeliveryData.php index f43485e..1adc0fa 100644 --- a/lib/model/PlatformDeliveryData.php +++ b/lib/model/PlatformDeliveryData.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/PlatformDeliveryDataEmailAllOf.php b/lib/model/PlatformDeliveryDataEmailAllOf.php index cb298b8..953008d 100644 --- a/lib/model/PlatformDeliveryDataEmailAllOf.php +++ b/lib/model/PlatformDeliveryDataEmailAllOf.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/PlatformDeliveryDataSmsAllOf.php b/lib/model/PlatformDeliveryDataSmsAllOf.php index fde30f0..1f9501f 100644 --- a/lib/model/PlatformDeliveryDataSmsAllOf.php +++ b/lib/model/PlatformDeliveryDataSmsAllOf.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/PropertiesBody.php b/lib/model/PropertiesBody.php index 11b834e..ad85bf4 100644 --- a/lib/model/PropertiesBody.php +++ b/lib/model/PropertiesBody.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/PropertiesDeltas.php b/lib/model/PropertiesDeltas.php index c06a3a4..fdfbfe6 100644 --- a/lib/model/PropertiesDeltas.php +++ b/lib/model/PropertiesDeltas.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/PropertiesObject.php b/lib/model/PropertiesObject.php index 59b9098..de45e28 100644 --- a/lib/model/PropertiesObject.php +++ b/lib/model/PropertiesObject.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/Purchase.php b/lib/model/Purchase.php index 397e0e3..271564f 100644 --- a/lib/model/Purchase.php +++ b/lib/model/Purchase.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/RateLimitError.php b/lib/model/RateLimitError.php index 4126afd..7a6aba2 100644 --- a/lib/model/RateLimitError.php +++ b/lib/model/RateLimitError.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/Segment.php b/lib/model/Segment.php index 7eab4d4..43c090c 100644 --- a/lib/model/Segment.php +++ b/lib/model/Segment.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/SegmentData.php b/lib/model/SegmentData.php index ca22af9..8ee6ea4 100644 --- a/lib/model/SegmentData.php +++ b/lib/model/SegmentData.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/SegmentNotificationTarget.php b/lib/model/SegmentNotificationTarget.php index 2972224..5778fc6 100644 --- a/lib/model/SegmentNotificationTarget.php +++ b/lib/model/SegmentNotificationTarget.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/StartLiveActivityRequest.php b/lib/model/StartLiveActivityRequest.php index 5855e8c..5b81ac2 100644 --- a/lib/model/StartLiveActivityRequest.php +++ b/lib/model/StartLiveActivityRequest.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/StartLiveActivitySuccessResponse.php b/lib/model/StartLiveActivitySuccessResponse.php index ce241e7..021b708 100644 --- a/lib/model/StartLiveActivitySuccessResponse.php +++ b/lib/model/StartLiveActivitySuccessResponse.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/Subscription.php b/lib/model/Subscription.php index 7830da2..fb9045f 100644 --- a/lib/model/Subscription.php +++ b/lib/model/Subscription.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/SubscriptionBody.php b/lib/model/SubscriptionBody.php index d227c56..a363ad8 100644 --- a/lib/model/SubscriptionBody.php +++ b/lib/model/SubscriptionBody.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/SubscriptionNotificationTarget.php b/lib/model/SubscriptionNotificationTarget.php index 336bde7..ac04233 100644 --- a/lib/model/SubscriptionNotificationTarget.php +++ b/lib/model/SubscriptionNotificationTarget.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/TemplateResource.php b/lib/model/TemplateResource.php index 88974a9..3a0160d 100644 --- a/lib/model/TemplateResource.php +++ b/lib/model/TemplateResource.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/TemplatesListResponse.php b/lib/model/TemplatesListResponse.php index 6e618b7..a1dbd84 100644 --- a/lib/model/TemplatesListResponse.php +++ b/lib/model/TemplatesListResponse.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/TransferSubscriptionRequestBody.php b/lib/model/TransferSubscriptionRequestBody.php index 4286a0a..1ffdfda 100644 --- a/lib/model/TransferSubscriptionRequestBody.php +++ b/lib/model/TransferSubscriptionRequestBody.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/UpdateApiKeyRequest.php b/lib/model/UpdateApiKeyRequest.php index 4facf5c..fa57818 100644 --- a/lib/model/UpdateApiKeyRequest.php +++ b/lib/model/UpdateApiKeyRequest.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/UpdateLiveActivityRequest.php b/lib/model/UpdateLiveActivityRequest.php index 26d9fc9..ee3961e 100644 --- a/lib/model/UpdateLiveActivityRequest.php +++ b/lib/model/UpdateLiveActivityRequest.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/UpdateLiveActivitySuccessResponse.php b/lib/model/UpdateLiveActivitySuccessResponse.php index dc30776..6c1b739 100644 --- a/lib/model/UpdateLiveActivitySuccessResponse.php +++ b/lib/model/UpdateLiveActivitySuccessResponse.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/UpdateTemplateRequest.php b/lib/model/UpdateTemplateRequest.php index ab44f31..946d956 100644 --- a/lib/model/UpdateTemplateRequest.php +++ b/lib/model/UpdateTemplateRequest.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT @@ -62,6 +62,8 @@ class UpdateTemplateRequest implements ModelInterface, ArrayAccess, \JsonSeriali protected static $openAPITypes = [ 'name' => 'string', 'contents' => '\onesignal\client\model\LanguageStringMap', + 'headings' => '\onesignal\client\model\LanguageStringMap', + 'subtitle' => '\onesignal\client\model\LanguageStringMap', 'is_email' => 'bool', 'email_subject' => 'string', 'email_body' => 'string', @@ -79,6 +81,8 @@ class UpdateTemplateRequest implements ModelInterface, ArrayAccess, \JsonSeriali protected static $openAPIFormats = [ 'name' => null, 'contents' => null, + 'headings' => null, + 'subtitle' => null, 'is_email' => null, 'email_subject' => null, 'email_body' => null, @@ -115,6 +119,8 @@ public static function openAPIFormats() protected static $attributeMap = [ 'name' => 'name', 'contents' => 'contents', + 'headings' => 'headings', + 'subtitle' => 'subtitle', 'is_email' => 'isEmail', 'email_subject' => 'email_subject', 'email_body' => 'email_body', @@ -130,6 +136,8 @@ public static function openAPIFormats() protected static $setters = [ 'name' => 'setName', 'contents' => 'setContents', + 'headings' => 'setHeadings', + 'subtitle' => 'setSubtitle', 'is_email' => 'setIsEmail', 'email_subject' => 'setEmailSubject', 'email_body' => 'setEmailBody', @@ -145,6 +153,8 @@ public static function openAPIFormats() protected static $getters = [ 'name' => 'getName', 'contents' => 'getContents', + 'headings' => 'getHeadings', + 'subtitle' => 'getSubtitle', 'is_email' => 'getIsEmail', 'email_subject' => 'getEmailSubject', 'email_body' => 'getEmailBody', @@ -211,6 +221,8 @@ public function __construct(?array $data = null) { $this->container['name'] = $data['name'] ?? null; $this->container['contents'] = $data['contents'] ?? null; + $this->container['headings'] = $data['headings'] ?? null; + $this->container['subtitle'] = $data['subtitle'] ?? null; $this->container['is_email'] = $data['is_email'] ?? null; $this->container['email_subject'] = $data['email_subject'] ?? null; $this->container['email_body'] = $data['email_body'] ?? null; @@ -290,6 +302,54 @@ public function setContents($contents) return $this; } + /** + * Gets headings + * + * @return \onesignal\client\model\LanguageStringMap|null + */ + public function getHeadings() + { + return $this->container['headings']; + } + + /** + * Sets headings + * + * @param \onesignal\client\model\LanguageStringMap|null $headings headings + * + * @return self + */ + public function setHeadings($headings) + { + $this->container['headings'] = $headings; + + return $this; + } + + /** + * Gets subtitle + * + * @return \onesignal\client\model\LanguageStringMap|null + */ + public function getSubtitle() + { + return $this->container['subtitle']; + } + + /** + * Sets subtitle + * + * @param \onesignal\client\model\LanguageStringMap|null $subtitle subtitle + * + * @return self + */ + public function setSubtitle($subtitle) + { + $this->container['subtitle'] = $subtitle; + + return $this; + } + /** * Gets is_email * diff --git a/lib/model/UpdateUserRequest.php b/lib/model/UpdateUserRequest.php index 19610b9..2b550bd 100644 --- a/lib/model/UpdateUserRequest.php +++ b/lib/model/UpdateUserRequest.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/User.php b/lib/model/User.php index 50f64c0..faadf78 100644 --- a/lib/model/User.php +++ b/lib/model/User.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/UserIdentityBody.php b/lib/model/UserIdentityBody.php index 763bba0..4ce5b73 100644 --- a/lib/model/UserIdentityBody.php +++ b/lib/model/UserIdentityBody.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT diff --git a/lib/model/WebButton.php b/lib/model/WebButton.php index 263c74b..4e78acc 100644 --- a/lib/model/WebButton.php +++ b/lib/model/WebButton.php @@ -15,7 +15,7 @@ * * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com * - * The version of the OpenAPI document: 5.3.0 + * The version of the OpenAPI document: 5.4.0 * Contact: devrel@onesignal.com * Generated by: https://openapi-generator.tech * OpenAPI Generator version: 6.0.0-SNAPSHOT