diff --git a/README.md b/README.md
index 08227fee..ba0d2a81 100644
--- a/README.md
+++ b/README.md
@@ -35,7 +35,7 @@ Add this dependency to your project's POM:
one.talon
talon-one-client
- 11.0.0
+ 12.0.0
compile
```
@@ -45,7 +45,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:
```groovy
-compile "one.talon:talon-one-client:11.0.0"
+compile "one.talon:talon-one-client:12.0.0"
```
### Others
diff --git a/api/openapi.yaml b/api/openapi.yaml
index 0a1f1c41..731d2e99 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -11238,6 +11238,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -11301,6 +11302,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -11363,6 +11365,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -11442,6 +11445,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -11587,6 +11591,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -11792,6 +11797,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -12281,6 +12287,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -12508,6 +12515,7 @@ components:
description: The ID of the catalog item that was being evaluated when this
effect was triggered.
example: 786
+ format: int64
type: integer
conditionIndex:
description: The index of the condition that was triggered.
@@ -13502,6 +13510,7 @@ components:
description: The ID of the catalog item that was being evaluated when this
effect was triggered.
example: 786
+ format: int64
type: integer
conditionIndex:
description: The index of the condition that was triggered.
@@ -13882,6 +13891,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -14013,6 +14023,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -14217,6 +14228,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -14585,6 +14597,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -15017,6 +15030,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -15120,6 +15134,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -15361,6 +15376,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -15538,6 +15554,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -16721,6 +16738,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -16835,6 +16853,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -18968,6 +18987,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -19285,6 +19305,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -19602,6 +19623,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -20158,6 +20180,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -20284,6 +20307,7 @@ components:
id:
description: The ID of loyalty program.
example: 139
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -20713,6 +20737,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -20888,6 +20913,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -22857,6 +22883,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -25068,6 +25095,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -25539,6 +25567,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -26149,6 +26178,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -27014,6 +27044,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -27104,6 +27135,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -27545,6 +27577,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -27998,6 +28031,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -28080,6 +28114,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -28908,6 +28943,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -29921,6 +29957,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -30103,6 +30140,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -30203,6 +30241,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -30517,6 +30556,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -31004,6 +31044,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -31303,6 +31344,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -31479,6 +31521,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -31556,6 +31599,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -31794,6 +31838,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -31912,6 +31957,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -32113,6 +32159,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -32206,6 +32253,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -32254,6 +32302,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -32512,6 +32561,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -32605,6 +32655,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -32849,6 +32900,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -33281,6 +33333,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -33344,6 +33397,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -33970,6 +34024,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -34200,6 +34255,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -34470,6 +34526,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -34937,6 +34994,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -35533,6 +35591,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
@@ -35679,6 +35738,7 @@ components:
id:
description: Internal ID of this entity.
example: 6
+ format: int64
type: integer
created:
description: The time this entity was created.
diff --git a/build.gradle b/build.gradle
index 1c40a6c2..4aad9725 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,7 +3,7 @@ apply plugin: 'eclipse'
apply plugin: 'java'
group = 'one.talon'
-version = '11.0.0'
+version = '12.0.0'
buildscript {
repositories {
@@ -102,7 +102,7 @@ dependencies {
compile "com.google.code.findbugs:jsr305:3.0.2"
compile 'com.squareup.okhttp3:okhttp:3.14.7'
compile 'com.squareup.okhttp3:logging-interceptor:3.14.7'
- compile 'com.google.code.gson:gson:2.13.0'
+ compile 'com.google.code.gson:gson:2.8.6'
compile 'io.gsonfire:gson-fire:1.8.4'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.10'
compile 'org.threeten:threetenbp:1.4.3'
diff --git a/build.sbt b/build.sbt
index 778bbf88..0f1d76e2 100644
--- a/build.sbt
+++ b/build.sbt
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "one.talon",
name := "talon-one-client",
- version := "11.0.0",
+ version := "12.0.0",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
diff --git a/docs/Account.md b/docs/Account.md
index e6a37d79..15f2faad 100644
--- a/docs/Account.md
+++ b/docs/Account.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. |
**companyName** | **String** | |
diff --git a/docs/AccountAdditionalCost.md b/docs/AccountAdditionalCost.md
index 45a50c49..feb3de2f 100644
--- a/docs/AccountAdditionalCost.md
+++ b/docs/AccountAdditionalCost.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**accountId** | **Integer** | The ID of the account that owns this entity. |
**name** | **String** | The internal name used in API requests. |
diff --git a/docs/AccountDashboardStatisticApiCalls.md b/docs/AccountDashboardStatisticApiCalls.md
deleted file mode 100644
index be5f0fdb..00000000
--- a/docs/AccountDashboardStatisticApiCalls.md
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-# AccountDashboardStatisticApiCalls
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**total** | [**BigDecimal**](BigDecimal.md) | Total number of API calls received. |
-**datetime** | [**OffsetDateTime**](OffsetDateTime.md) | Values aggregated for the specified date. |
-
-
-
diff --git a/docs/Achievement.md b/docs/Achievement.md
index ae140fbf..c25c7b93 100644
--- a/docs/Achievement.md
+++ b/docs/Achievement.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**name** | **String** | The internal name of the achievement used in API requests. **Note**: The name should start with a letter. This cannot be changed after the achievement has been created. |
**title** | **String** | The display name for the achievement in the Campaign Manager. |
diff --git a/docs/AchievementStatusEntry.md b/docs/AchievementStatusEntry.md
index 3c5057e8..73353634 100644
--- a/docs/AchievementStatusEntry.md
+++ b/docs/AchievementStatusEntry.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**name** | **String** | The internal name of the achievement used in API requests. **Note**: The name should start with a letter. This cannot be changed after the achievement has been created. |
**title** | **String** | The display name for the achievement in the Campaign Manager. |
diff --git a/docs/ActivateUserRequest.md b/docs/ActivateUserRequest.md
deleted file mode 100644
index 1770349b..00000000
--- a/docs/ActivateUserRequest.md
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-# ActivateUserRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**email** | **String** | The email address associated with the user profile. |
-
-
-
diff --git a/docs/AnalyticsProductSKU.md b/docs/AnalyticsProductSKU.md
deleted file mode 100644
index 3636506f..00000000
--- a/docs/AnalyticsProductSKU.md
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-# AnalyticsProductSKU
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **Integer** | The ID of the SKU linked to the analytics-level product. |
-**sku** | **String** | The SKU linked to the analytics-level product. |
-**lastUpdated** | [**OffsetDateTime**](OffsetDateTime.md) | Values in UTC for the date the SKU linked to the analytics-level product was last updated. |
-
-
-
diff --git a/docs/Application.md b/docs/Application.md
index 9676c6d2..067603e2 100644
--- a/docs/Application.md
+++ b/docs/Application.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. |
**accountId** | **Integer** | The ID of the account that owns this entity. |
diff --git a/docs/ApplicationAnalyticsDataPointAvgItemsPerSession.md b/docs/ApplicationAnalyticsDataPointAvgItemsPerSession.md
deleted file mode 100644
index 404b02a4..00000000
--- a/docs/ApplicationAnalyticsDataPointAvgItemsPerSession.md
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-# ApplicationAnalyticsDataPointAvgItemsPerSession
-
-The number of items from sessions divided by the number of sessions. The `influenced` value includes only sessions with at least one applied effect.
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**total** | [**BigDecimal**](BigDecimal.md) | | [optional]
-**influenced** | [**BigDecimal**](BigDecimal.md) | | [optional]
-
-
-
diff --git a/docs/ApplicationAnalyticsDataPointAvgSessionValue.md b/docs/ApplicationAnalyticsDataPointAvgSessionValue.md
deleted file mode 100644
index def2660a..00000000
--- a/docs/ApplicationAnalyticsDataPointAvgSessionValue.md
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-# ApplicationAnalyticsDataPointAvgSessionValue
-
-The average customer session value, calculated by dividing the revenue value by the number of sessions. The `influenced` value includes only sessions with at least one applied effect.
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**total** | [**BigDecimal**](BigDecimal.md) | | [optional]
-**influenced** | [**BigDecimal**](BigDecimal.md) | | [optional]
-
-
-
diff --git a/docs/ApplicationAnalyticsDataPointSessionsCount.md b/docs/ApplicationAnalyticsDataPointSessionsCount.md
deleted file mode 100644
index 8078a792..00000000
--- a/docs/ApplicationAnalyticsDataPointSessionsCount.md
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-# ApplicationAnalyticsDataPointSessionsCount
-
-The number of all closed sessions. The `influenced` value includes only sessions with at least one applied effect.
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**total** | [**BigDecimal**](BigDecimal.md) | | [optional]
-**influenced** | [**BigDecimal**](BigDecimal.md) | | [optional]
-
-
-
diff --git a/docs/ApplicationAnalyticsDataPointTotalRevenue.md b/docs/ApplicationAnalyticsDataPointTotalRevenue.md
deleted file mode 100644
index 41d729c3..00000000
--- a/docs/ApplicationAnalyticsDataPointTotalRevenue.md
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-# ApplicationAnalyticsDataPointTotalRevenue
-
-The total, pre-discount value of all items purchased in a customer session.
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**total** | [**BigDecimal**](BigDecimal.md) | | [optional]
-**influenced** | [**BigDecimal**](BigDecimal.md) | | [optional]
-
-
-
diff --git a/docs/ApplicationCIF.md b/docs/ApplicationCIF.md
index af11cb5d..9b207887 100644
--- a/docs/ApplicationCIF.md
+++ b/docs/ApplicationCIF.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**name** | **String** | The name of the Application cart item filter used in API requests. |
**description** | **String** | A short description of the Application cart item filter. | [optional]
diff --git a/docs/ApplicationCIFExpression.md b/docs/ApplicationCIFExpression.md
index 7854d57d..c133e46e 100644
--- a/docs/ApplicationCIFExpression.md
+++ b/docs/ApplicationCIFExpression.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**cartItemFilterId** | **Integer** | The ID of the Application cart item filter. | [optional]
**createdBy** | **Integer** | The ID of the user who created the Application cart item filter. | [optional]
diff --git a/docs/ApplicationCampaignAnalyticsAvgItemsPerSession.md b/docs/ApplicationCampaignAnalyticsAvgItemsPerSession.md
deleted file mode 100644
index bc2b56ce..00000000
--- a/docs/ApplicationCampaignAnalyticsAvgItemsPerSession.md
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-# ApplicationCampaignAnalyticsAvgItemsPerSession
-
-The number of items from sessions divided by the number of sessions. The `influenced` value includes only sessions with at least one applied effect.
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**value** | [**BigDecimal**](BigDecimal.md) | | [optional]
-**uplift** | [**BigDecimal**](BigDecimal.md) | | [optional]
-**trend** | [**BigDecimal**](BigDecimal.md) | | [optional]
-
-
-
diff --git a/docs/ApplicationCampaignAnalyticsAvgSessionValue.md b/docs/ApplicationCampaignAnalyticsAvgSessionValue.md
deleted file mode 100644
index d2586861..00000000
--- a/docs/ApplicationCampaignAnalyticsAvgSessionValue.md
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-# ApplicationCampaignAnalyticsAvgSessionValue
-
-The average customer session value, calculated by dividing the revenue value by the number of sessions. The `influenced` value includes only sessions with at least one applied effect.
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**value** | [**BigDecimal**](BigDecimal.md) | | [optional]
-**uplift** | [**BigDecimal**](BigDecimal.md) | | [optional]
-**trend** | [**BigDecimal**](BigDecimal.md) | | [optional]
-
-
-
diff --git a/docs/ApplicationCampaignAnalyticsCouponsCount.md b/docs/ApplicationCampaignAnalyticsCouponsCount.md
deleted file mode 100644
index 4979ce96..00000000
--- a/docs/ApplicationCampaignAnalyticsCouponsCount.md
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-# ApplicationCampaignAnalyticsCouponsCount
-
-The number of times a coupon was successfully redeemed in influenced sessions.
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**value** | [**BigDecimal**](BigDecimal.md) | | [optional]
-**trend** | [**BigDecimal**](BigDecimal.md) | | [optional]
-
-
-
diff --git a/docs/ApplicationCampaignAnalyticsSessionsCount.md b/docs/ApplicationCampaignAnalyticsSessionsCount.md
deleted file mode 100644
index a7ad4cd9..00000000
--- a/docs/ApplicationCampaignAnalyticsSessionsCount.md
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-# ApplicationCampaignAnalyticsSessionsCount
-
-The number of all closed sessions. The `influenced` value includes only sessions with at least one applied effect.
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**value** | [**BigDecimal**](BigDecimal.md) | | [optional]
-**influenceRate** | [**BigDecimal**](BigDecimal.md) | | [optional]
-**trend** | [**BigDecimal**](BigDecimal.md) | | [optional]
-
-
-
diff --git a/docs/ApplicationCampaignAnalyticsTotalDiscounts.md b/docs/ApplicationCampaignAnalyticsTotalDiscounts.md
deleted file mode 100644
index f6dfa8b2..00000000
--- a/docs/ApplicationCampaignAnalyticsTotalDiscounts.md
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-# ApplicationCampaignAnalyticsTotalDiscounts
-
-The total value of discounts given for cart items in influenced sessions.
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**value** | [**BigDecimal**](BigDecimal.md) | | [optional]
-**trend** | [**BigDecimal**](BigDecimal.md) | | [optional]
-
-
-
diff --git a/docs/ApplicationCampaignAnalyticsTotalRevenue.md b/docs/ApplicationCampaignAnalyticsTotalRevenue.md
deleted file mode 100644
index ceaa7acb..00000000
--- a/docs/ApplicationCampaignAnalyticsTotalRevenue.md
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-# ApplicationCampaignAnalyticsTotalRevenue
-
-The total, pre-discount value of all items purchased in a customer session.
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**value** | [**BigDecimal**](BigDecimal.md) | | [optional]
-**influenceRate** | [**BigDecimal**](BigDecimal.md) | | [optional]
-**trend** | [**BigDecimal**](BigDecimal.md) | | [optional]
-
-
-
diff --git a/docs/ApplicationCustomer.md b/docs/ApplicationCustomer.md
index fff19a34..47279d35 100644
--- a/docs/ApplicationCustomer.md
+++ b/docs/ApplicationCustomer.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**integrationId** | **String** | The integration ID set by your integration layer. |
**attributes** | [**Object**](.md) | Arbitrary properties associated with this item. |
diff --git a/docs/ApplicationEvent.md b/docs/ApplicationEvent.md
index 0fbec5de..d5d20d6f 100644
--- a/docs/ApplicationEvent.md
+++ b/docs/ApplicationEvent.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**applicationId** | **Integer** | The ID of the Application that owns this entity. |
**profileId** | **Integer** | The globally unique Talon.One ID of the customer that created this entity. | [optional]
diff --git a/docs/ApplicationSession.md b/docs/ApplicationSession.md
index 61283049..fddbcdeb 100644
--- a/docs/ApplicationSession.md
+++ b/docs/ApplicationSession.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**integrationId** | **String** | The integration ID set by your integration layer. |
**storeIntegrationId** | **String** | The integration ID of the store. You choose this ID when you create a store. | [optional]
diff --git a/docs/Attribute.md b/docs/Attribute.md
index cd831648..b8181a33 100644
--- a/docs/Attribute.md
+++ b/docs/Attribute.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**accountId** | **Integer** | The ID of the account that owns this entity. |
**entity** | [**EntityEnum**](#EntityEnum) | The name of the entity that can have this attribute. When creating or updating the entities of a given type, you can include an `attributes` object with keys corresponding to the `name` of the custom attributes for that type. |
diff --git a/docs/Audience.md b/docs/Audience.md
index 9ada1853..b6386527 100644
--- a/docs/Audience.md
+++ b/docs/Audience.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accountId** | **Integer** | The ID of the account that owns this entity. |
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**name** | **String** | The human-friendly display name for this audience. |
**sandbox** | **Boolean** | Indicates if this is a live or sandbox Application. | [optional]
diff --git a/docs/AudienceCustomer.md b/docs/AudienceCustomer.md
index c2d7f477..3dff3c39 100644
--- a/docs/AudienceCustomer.md
+++ b/docs/AudienceCustomer.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**integrationId** | **String** | The integration ID set by your integration layer. |
**attributes** | [**Object**](.md) | Arbitrary properties associated with this item. |
diff --git a/docs/BaseCampaignForNotification.md b/docs/BaseCampaignForNotification.md
deleted file mode 100644
index b9eabb0f..00000000
--- a/docs/BaseCampaignForNotification.md
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-# BaseCampaignForNotification
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **String** | A user-facing name for this campaign. |
-**description** | **String** | A detailed description of the campaign. | [optional]
-**startTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become active. | [optional]
-**endTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become inactive. | [optional]
-**attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign. | [optional]
-**state** | [**StateEnum**](#StateEnum) | A disabled or archived campaign is not evaluated for rules or coupons. |
-**activeRulesetId** | **Integer** | [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional]
-**tags** | **List<String>** | A list of tags for the campaign. |
-**features** | [**List<FeaturesEnum>**](#List<FeaturesEnum>) | The features enabled in this campaign. |
-**couponSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
-**referralSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
-**limits** | [**List<LimitConfig>**](LimitConfig.md) | The set of [budget limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets) for this campaign. |
-**campaignGroups** | **List<Integer>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. | [optional]
-**evaluationGroupId** | **Integer** | The ID of the campaign evaluation group the campaign belongs to. | [optional]
-**type** | [**TypeEnum**](#TypeEnum) | The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. | [optional]
-**linkedStoreIds** | **List<Integer>** | A list of store IDs that are linked to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. | [optional]
-
-
-
-## Enum: StateEnum
-
-Name | Value
----- | -----
-ENABLED | "enabled"
-DISABLED | "disabled"
-ARCHIVED | "archived"
-DRAFT | "draft"
-SCHEDULED | "scheduled"
-RUNNING | "running"
-EXPIRED | "expired"
-
-
-
-## Enum: List<FeaturesEnum>
-
-Name | Value
----- | -----
-COUPONS | "coupons"
-REFERRALS | "referrals"
-LOYALTY | "loyalty"
-GIVEAWAYS | "giveaways"
-STRIKETHROUGH | "strikethrough"
-
-
-
-## Enum: TypeEnum
-
-Name | Value
----- | -----
-CARTITEM | "cartItem"
-ADVANCED | "advanced"
-
-
-
diff --git a/docs/BaseNotificationWebhook.md b/docs/BaseNotificationWebhook.md
index bc0fcbfb..2328c9fe 100644
--- a/docs/BaseNotificationWebhook.md
+++ b/docs/BaseNotificationWebhook.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. |
**url** | **String** | API URL for the given webhook-based notification. |
diff --git a/docs/CampaignCollection.md b/docs/CampaignCollection.md
index e950df5e..78ce4c68 100644
--- a/docs/CampaignCollection.md
+++ b/docs/CampaignCollection.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**accountId** | **Integer** | The ID of the account that owns this entity. |
**modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. |
diff --git a/docs/CampaignCollectionWithoutPayload.md b/docs/CampaignCollectionWithoutPayload.md
index e8105ad0..ab69e5c5 100644
--- a/docs/CampaignCollectionWithoutPayload.md
+++ b/docs/CampaignCollectionWithoutPayload.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**accountId** | **Integer** | The ID of the account that owns this entity. |
**modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. |
diff --git a/docs/CampaignForNotification.md b/docs/CampaignForNotification.md
deleted file mode 100644
index 2db42af3..00000000
--- a/docs/CampaignForNotification.md
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-# CampaignForNotification
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **Integer** | Unique ID for this entity. |
-**created** | [**OffsetDateTime**](OffsetDateTime.md) | The exact moment this entity was created. |
-**applicationId** | **Integer** | The ID of the application that owns this entity. |
-**userId** | **Integer** | The ID of the user associated with this entity. |
-**name** | **String** | A user-facing name for this campaign. |
-**description** | **String** | A detailed description of the campaign. |
-**startTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become active. | [optional]
-**endTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become inactive. | [optional]
-**attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign. | [optional]
-**state** | [**StateEnum**](#StateEnum) | A disabled or archived campaign is not evaluated for rules or coupons. |
-**activeRulesetId** | **Integer** | [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional]
-**tags** | **List<String>** | A list of tags for the campaign. |
-**features** | [**List<FeaturesEnum>**](#List<FeaturesEnum>) | The features enabled in this campaign. |
-**couponSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
-**referralSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
-**limits** | [**List<LimitConfig>**](LimitConfig.md) | The set of [budget limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets) for this campaign. |
-**campaignGroups** | **List<Integer>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. | [optional]
-**evaluationGroupId** | **Integer** | The ID of the campaign evaluation group the campaign belongs to. | [optional]
-**type** | [**TypeEnum**](#TypeEnum) | The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. |
-**linkedStoreIds** | **List<Integer>** | A list of store IDs that are linked to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. | [optional]
-**budgets** | [**List<CampaignBudget>**](CampaignBudget.md) | A list of all the budgets that are defined by this campaign and their usage. **Note:** Budgets that are not defined do not appear in this list and their usage is not counted until they are defined. |
-**couponRedemptionCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Number of coupons redeemed in the campaign. | [optional]
-**referralRedemptionCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Number of referral codes redeemed in the campaign. | [optional]
-**discountCount** | [**BigDecimal**](BigDecimal.md) | This property is **deprecated**. The count should be available under *budgets* property. Total amount of discounts redeemed in the campaign. | [optional]
-**discountEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of times discounts were redeemed in this campaign. | [optional]
-**couponCreationCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of coupons created by rules in this campaign. | [optional]
-**customEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of custom effects triggered by rules in this campaign. | [optional]
-**referralCreationCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of referrals created by rules in this campaign. | [optional]
-**addFreeItemEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of times the [add free item effect](https://docs.talon.one/docs/dev/integration-api/api-effects#addfreeitem) can be triggered in this campaign. | [optional]
-**awardedGiveawaysCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of giveaways awarded by rules in this campaign. | [optional]
-**createdLoyaltyPointsCount** | [**BigDecimal**](BigDecimal.md) | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty points created by rules in this campaign. | [optional]
-**createdLoyaltyPointsEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point creation effects triggered by rules in this campaign. | [optional]
-**redeemedLoyaltyPointsCount** | [**BigDecimal**](BigDecimal.md) | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty points redeemed by rules in this campaign. | [optional]
-**redeemedLoyaltyPointsEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point redemption effects triggered by rules in this campaign. | [optional]
-**callApiEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of webhooks triggered by rules in this campaign. | [optional]
-**reservecouponEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of reserve coupon effects triggered by rules in this campaign. | [optional]
-**lastActivity** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent event received by this campaign. | [optional]
-**updated** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent update to the campaign's property. Updates to external entities used in this campaign are **not** registered by this property, such as collection or coupon updates. | [optional]
-**createdBy** | **String** | Name of the user who created this campaign if available. | [optional]
-**updatedBy** | **String** | Name of the user who last updated this campaign if available. | [optional]
-**templateId** | **Integer** | The ID of the Campaign Template this Campaign was created from. | [optional]
-
-
-
-## Enum: StateEnum
-
-Name | Value
----- | -----
-ENABLED | "enabled"
-DISABLED | "disabled"
-ARCHIVED | "archived"
-DRAFT | "draft"
-SCHEDULED | "scheduled"
-RUNNING | "running"
-EXPIRED | "expired"
-
-
-
-## Enum: List<FeaturesEnum>
-
-Name | Value
----- | -----
-COUPONS | "coupons"
-REFERRALS | "referrals"
-LOYALTY | "loyalty"
-GIVEAWAYS | "giveaways"
-STRIKETHROUGH | "strikethrough"
-
-
-
-## Enum: TypeEnum
-
-Name | Value
----- | -----
-CARTITEM | "cartItem"
-ADVANCED | "advanced"
-
-
-
diff --git a/docs/CampaignGroup.md b/docs/CampaignGroup.md
index 2f6a7c78..ed4755e4 100644
--- a/docs/CampaignGroup.md
+++ b/docs/CampaignGroup.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. |
**accountId** | **Integer** | The ID of the account that owns this entity. |
diff --git a/docs/CampaignPrioritiesChangedNotification.md b/docs/CampaignPrioritiesChangedNotification.md
deleted file mode 100644
index 91ce4b7f..00000000
--- a/docs/CampaignPrioritiesChangedNotification.md
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-# CampaignPrioritiesChangedNotification
-
-Notification about an Application whose campaigns' priorities changed.
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**applicationId** | **Integer** | The ID of the Application whose campaigns' priorities changed. |
-**oldPriorities** | [**CampaignSet**](CampaignSet.md) | | [optional]
-**priorities** | [**CampaignSet**](CampaignSet.md) | |
-
-
-
diff --git a/docs/CampaignPrioritiesV2.md b/docs/CampaignPrioritiesV2.md
deleted file mode 100644
index b84a61b7..00000000
--- a/docs/CampaignPrioritiesV2.md
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-# CampaignPrioritiesV2
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**exclusive** | [**List<CampaignSetIDs>**](CampaignSetIDs.md) | | [optional]
-**stackable** | [**List<CampaignSetIDs>**](CampaignSetIDs.md) | | [optional]
-**universal** | [**List<CampaignSetIDs>**](CampaignSetIDs.md) | | [optional]
-
-
-
diff --git a/docs/CampaignSetIDs.md b/docs/CampaignSetIDs.md
deleted file mode 100644
index c57f41fe..00000000
--- a/docs/CampaignSetIDs.md
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-# CampaignSetIDs
-
-Campaign IDs for each priority.
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**campaignId** | **Integer** | ID of the campaign | [optional]
-
-
-
diff --git a/docs/CampaignSetV2.md b/docs/CampaignSetV2.md
deleted file mode 100644
index 552eff07..00000000
--- a/docs/CampaignSetV2.md
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-# CampaignSetV2
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
-**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**applicationId** | **Integer** | The ID of the application that owns this entity. |
-**version** | **Integer** | Version of the campaign set. |
-**set** | [**CampaignPrioritiesV2**](CampaignPrioritiesV2.md) | |
-
-
-
diff --git a/docs/CampaignStateNotification.md b/docs/CampaignStateNotification.md
deleted file mode 100644
index 4ea72ad1..00000000
--- a/docs/CampaignStateNotification.md
+++ /dev/null
@@ -1,97 +0,0 @@
-
-
-# CampaignStateNotification
-
-Campaign data and its state changes.
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **Integer** | Unique ID for this entity. |
-**created** | [**OffsetDateTime**](OffsetDateTime.md) | The exact moment this entity was created. |
-**applicationId** | **Integer** | The ID of the application that owns this entity. |
-**userId** | **Integer** | The ID of the user associated with this entity. |
-**name** | **String** | A user-facing name for this campaign. |
-**description** | **String** | A detailed description of the campaign. |
-**startTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become active. | [optional]
-**endTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become inactive. | [optional]
-**attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign. | [optional]
-**state** | [**StateEnum**](#StateEnum) | A disabled or archived campaign is not evaluated for rules or coupons. |
-**activeRulesetId** | **Integer** | [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional]
-**tags** | **List<String>** | A list of tags for the campaign. |
-**features** | [**List<FeaturesEnum>**](#List<FeaturesEnum>) | The features enabled in this campaign. |
-**couponSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
-**referralSettings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) | | [optional]
-**limits** | [**List<LimitConfig>**](LimitConfig.md) | The set of [budget limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets) for this campaign. |
-**campaignGroups** | **List<Integer>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. | [optional]
-**evaluationGroupId** | **Integer** | The ID of the campaign evaluation group the campaign belongs to. | [optional]
-**type** | [**TypeEnum**](#TypeEnum) | The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. |
-**linkedStoreIds** | **List<Integer>** | A list of store IDs that you want to link to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. | [optional]
-**budgets** | [**List<CampaignBudget>**](CampaignBudget.md) | A list of all the budgets that are defined by this campaign and their usage. **Note:** Budgets that are not defined do not appear in this list and their usage is not counted until they are defined. |
-**couponRedemptionCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Number of coupons redeemed in the campaign. | [optional]
-**referralRedemptionCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Number of referral codes redeemed in the campaign. | [optional]
-**discountCount** | [**BigDecimal**](BigDecimal.md) | This property is **deprecated**. The count should be available under *budgets* property. Total amount of discounts redeemed in the campaign. | [optional]
-**discountEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of times discounts were redeemed in this campaign. | [optional]
-**couponCreationCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of coupons created by rules in this campaign. | [optional]
-**customEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of custom effects triggered by rules in this campaign. | [optional]
-**referralCreationCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of referrals created by rules in this campaign. | [optional]
-**addFreeItemEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of times the [add free item effect](https://docs.talon.one/docs/dev/integration-api/api-effects#addfreeitem) can be triggered in this campaign. | [optional]
-**awardedGiveawaysCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of giveaways awarded by rules in this campaign. | [optional]
-**createdLoyaltyPointsCount** | [**BigDecimal**](BigDecimal.md) | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty points created by rules in this campaign. | [optional]
-**createdLoyaltyPointsEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point creation effects triggered by rules in this campaign. | [optional]
-**redeemedLoyaltyPointsCount** | [**BigDecimal**](BigDecimal.md) | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty points redeemed by rules in this campaign. | [optional]
-**redeemedLoyaltyPointsEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point redemption effects triggered by rules in this campaign. | [optional]
-**callApiEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of webhooks triggered by rules in this campaign. | [optional]
-**reservecouponEffectCount** | **Integer** | This property is **deprecated**. The count should be available under *budgets* property. Total number of reserve coupon effects triggered by rules in this campaign. | [optional]
-**lastActivity** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent event received by this campaign. | [optional]
-**updated** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent update to the campaign's property. Updates to external entities used in this campaign are **not** registered by this property, such as collection or coupon updates. | [optional]
-**createdBy** | **String** | Name of the user who created this campaign if available. | [optional]
-**updatedBy** | **String** | Name of the user who last updated this campaign if available. | [optional]
-**templateId** | **Integer** | The ID of the Campaign Template this Campaign was created from. | [optional]
-**frontendState** | [**FrontendStateEnum**](#FrontendStateEnum) | A campaign state described exactly as in the Campaign Manager. |
-
-
-
-## Enum: StateEnum
-
-Name | Value
----- | -----
-ENABLED | "enabled"
-DISABLED | "disabled"
-ARCHIVED | "archived"
-
-
-
-## Enum: List<FeaturesEnum>
-
-Name | Value
----- | -----
-COUPONS | "coupons"
-REFERRALS | "referrals"
-LOYALTY | "loyalty"
-GIVEAWAYS | "giveaways"
-STRIKETHROUGH | "strikethrough"
-
-
-
-## Enum: TypeEnum
-
-Name | Value
----- | -----
-CARTITEM | "cartItem"
-ADVANCED | "advanced"
-
-
-
-## Enum: FrontendStateEnum
-
-Name | Value
----- | -----
-EXPIRED | "expired"
-SCHEDULED | "scheduled"
-RUNNING | "running"
-DRAFT | "draft"
-DISABLED | "disabled"
-
-
-
diff --git a/docs/CampaignStoreBudget.md b/docs/CampaignStoreBudget.md
index 7a92da1c..c716c2c6 100644
--- a/docs/CampaignStoreBudget.md
+++ b/docs/CampaignStoreBudget.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**campaignId** | **Integer** | The ID of the campaign that owns this entity. |
**storeId** | **Integer** | The ID of the store. |
diff --git a/docs/CampaignTemplate.md b/docs/CampaignTemplate.md
index e66382af..a0ada29c 100644
--- a/docs/CampaignTemplate.md
+++ b/docs/CampaignTemplate.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**accountId** | **Integer** | The ID of the account that owns this entity. |
**userId** | **Integer** | The ID of the user associated with this entity. |
diff --git a/docs/Catalog.md b/docs/Catalog.md
index a962c3fc..e29adac7 100644
--- a/docs/Catalog.md
+++ b/docs/Catalog.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**accountId** | **Integer** | The ID of the account that owns this entity. |
**modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. |
diff --git a/docs/CatalogItem.md b/docs/CatalogItem.md
index 7128d57b..278a6286 100644
--- a/docs/CatalogItem.md
+++ b/docs/CatalogItem.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**sku** | **String** | The stock keeping unit of the item. |
**price** | [**BigDecimal**](BigDecimal.md) | Price of the item. | [optional]
diff --git a/docs/Change.md b/docs/Change.md
index 23ff1f8f..6d21b834 100644
--- a/docs/Change.md
+++ b/docs/Change.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**userId** | **Integer** | The ID of the user associated with this entity. |
**applicationId** | **Integer** | ID of application associated with change. | [optional]
diff --git a/docs/Collection.md b/docs/Collection.md
index f0dc07df..34652f05 100644
--- a/docs/Collection.md
+++ b/docs/Collection.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**accountId** | **Integer** | The ID of the account that owns this entity. |
**modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. |
diff --git a/docs/CollectionWithoutPayload.md b/docs/CollectionWithoutPayload.md
index c237d873..95eadbe0 100644
--- a/docs/CollectionWithoutPayload.md
+++ b/docs/CollectionWithoutPayload.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**accountId** | **Integer** | The ID of the account that owns this entity. |
**modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. |
diff --git a/docs/Coupon.md b/docs/Coupon.md
index 9c34c308..596c0933 100644
--- a/docs/Coupon.md
+++ b/docs/Coupon.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**campaignId** | **Integer** | The ID of the campaign that owns this entity. |
**value** | **String** | The coupon code. |
diff --git a/docs/CouponCreationJob.md b/docs/CouponCreationJob.md
index b76f31a5..f3bbebf7 100644
--- a/docs/CouponCreationJob.md
+++ b/docs/CouponCreationJob.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**campaignId** | **Integer** | The ID of the campaign that owns this entity. |
**applicationId** | **Integer** | The ID of the Application that owns this entity. |
diff --git a/docs/CouponDeletionJob.md b/docs/CouponDeletionJob.md
index 7f4aa5de..1b73fcc6 100644
--- a/docs/CouponDeletionJob.md
+++ b/docs/CouponDeletionJob.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**applicationId** | **Integer** | The ID of the Application that owns this entity. |
**accountId** | **Integer** | The ID of the account that owns this entity. |
diff --git a/docs/CustomEffect.md b/docs/CustomEffect.md
index 70e5cb4b..988ad412 100644
--- a/docs/CustomEffect.md
+++ b/docs/CustomEffect.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**accountId** | **Integer** | The ID of the account that owns this entity. |
**modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. |
diff --git a/docs/CustomerProfile.md b/docs/CustomerProfile.md
index 89a41f14..69081a18 100644
--- a/docs/CustomerProfile.md
+++ b/docs/CustomerProfile.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**integrationId** | **String** | The integration ID set by your integration layer. |
**attributes** | [**Object**](.md) | Arbitrary properties associated with this item. |
diff --git a/docs/CustomerSessionV2.md b/docs/CustomerSessionV2.md
index 9334d5c3..b5c0ade3 100644
--- a/docs/CustomerSessionV2.md
+++ b/docs/CustomerSessionV2.md
@@ -7,7 +7,7 @@ The representation of the customer session.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**integrationId** | **String** | The integration ID set by your integration layer. |
**applicationId** | **Integer** | The ID of the Application that owns this entity. |
diff --git a/docs/DeactivateUserRequest.md b/docs/DeactivateUserRequest.md
deleted file mode 100644
index 3ba27b13..00000000
--- a/docs/DeactivateUserRequest.md
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-# DeactivateUserRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**email** | **String** | The email address associated with the user profile. |
-
-
-
diff --git a/docs/Effect.md b/docs/Effect.md
index b00f2e90..93140196 100644
--- a/docs/Effect.md
+++ b/docs/Effect.md
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
**ruleName** | **String** | The name of the rule that triggered this effect. |
**effectType** | **String** | The type of effect that was triggered. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects). |
**triggeredByCoupon** | **Integer** | The ID of the coupon that was being evaluated when this effect was triggered. | [optional]
-**triggeredForCatalogItem** | **Integer** | The ID of the catalog item that was being evaluated when this effect was triggered. | [optional]
+**triggeredForCatalogItem** | **Long** | The ID of the catalog item that was being evaluated when this effect was triggered. | [optional]
**conditionIndex** | **Integer** | The index of the condition that was triggered. | [optional]
**evaluationGroupID** | **Integer** | The ID of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation). | [optional]
**evaluationGroupMode** | **String** | The evaluation mode of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation). | [optional]
diff --git a/docs/EffectEntity.md b/docs/EffectEntity.md
index 9061a9da..55e9e87f 100644
--- a/docs/EffectEntity.md
+++ b/docs/EffectEntity.md
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
**ruleName** | **String** | The name of the rule that triggered this effect. |
**effectType** | **String** | The type of effect that was triggered. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects). |
**triggeredByCoupon** | **Integer** | The ID of the coupon that was being evaluated when this effect was triggered. | [optional]
-**triggeredForCatalogItem** | **Integer** | The ID of the catalog item that was being evaluated when this effect was triggered. | [optional]
+**triggeredForCatalogItem** | **Long** | The ID of the catalog item that was being evaluated when this effect was triggered. | [optional]
**conditionIndex** | **Integer** | The index of the condition that was triggered. | [optional]
**evaluationGroupID** | **Integer** | The ID of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation). | [optional]
**evaluationGroupMode** | **String** | The evaluation mode of the evaluation group. For more information, see [Managing campaign evaluation](https://docs.talon.one/docs/product/applications/managing-campaign-evaluation). | [optional]
diff --git a/docs/Entity.md b/docs/Entity.md
index 94eeaaa6..707445ec 100644
--- a/docs/Entity.md
+++ b/docs/Entity.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
diff --git a/docs/Environment.md b/docs/Environment.md
index 3c41534a..dfaf0c4e 100644
--- a/docs/Environment.md
+++ b/docs/Environment.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**applicationId** | **Integer** | The ID of the Application that owns this entity. |
**slots** | [**List<SlotDef>**](SlotDef.md) | The slots defined for this application. |
diff --git a/docs/Event.md b/docs/Event.md
index ec800c93..b2aebe76 100644
--- a/docs/Event.md
+++ b/docs/Event.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**applicationId** | **Integer** | The ID of the Application that owns this entity. |
**profileId** | **String** | ID of the customer profile set by your integration layer. **Note:** If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. | [optional]
diff --git a/docs/EventType.md b/docs/EventType.md
index 8cc7274e..e0a406be 100644
--- a/docs/EventType.md
+++ b/docs/EventType.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**title** | **String** | The human-friendly name for this event type. |
**name** | **String** | The integration name for this event type. This will be used in URLs and cannot be changed after an event type has been created. |
diff --git a/docs/Export.md b/docs/Export.md
index cb8a4038..4e8bb18a 100644
--- a/docs/Export.md
+++ b/docs/Export.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**accountId** | **Integer** | The ID of the account that owns this entity. |
**userId** | **Integer** | The ID of the user associated with this entity. |
diff --git a/docs/FeedNotification.md b/docs/FeedNotification.md
deleted file mode 100644
index 5d19867e..00000000
--- a/docs/FeedNotification.md
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-# FeedNotification
-
-A feed notification for CAMA users.
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**title** | **String** | Title of the feed notification. |
-**created** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the moment this feed notification was created. |
-**updated** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the moment this feed notification was last updated. |
-**articleUrl** | **String** | URL to the feed notification in the help center. |
-**type** | [**TypeEnum**](#TypeEnum) | The type of the feed notification. |
-**body** | **String** | Body of the feed notification. |
-
-
-
-## Enum: TypeEnum
-
-Name | Value
----- | -----
-FEED | "feed"
-FEATURE | "feature"
-ANNOUNCEMENT | "announcement"
-ALERT | "alert"
-TEST | "test"
-
-
-
diff --git a/docs/FrontendState.md b/docs/FrontendState.md
deleted file mode 100644
index 21270e66..00000000
--- a/docs/FrontendState.md
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-# FrontendState
-
-## Enum
-
-
-* `EXPIRED` (value: `"expired"`)
-
-* `SCHEDULED` (value: `"scheduled"`)
-
-* `RUNNING` (value: `"running"`)
-
-* `DRAFT` (value: `"draft"`)
-
-* `DISABLED` (value: `"disabled"`)
-
-
-
diff --git a/docs/Giveaway.md b/docs/Giveaway.md
index b712417c..2ee75a89 100644
--- a/docs/Giveaway.md
+++ b/docs/Giveaway.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**code** | **String** | The code value of this giveaway. |
**poolId** | **Integer** | The ID of the pool to return giveaway codes from. |
diff --git a/docs/GiveawaysPool.md b/docs/GiveawaysPool.md
index 77033951..4a27c974 100644
--- a/docs/GiveawaysPool.md
+++ b/docs/GiveawaysPool.md
@@ -7,7 +7,7 @@ Giveaways pools is an entity for managing multiple similar giveaways.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**accountId** | **Integer** | The ID of the account that owns this entity. |
**name** | **String** | The name of this giveaways pool. |
diff --git a/docs/IntegrationCoupon.md b/docs/IntegrationCoupon.md
index e0559d57..bfe740f3 100644
--- a/docs/IntegrationCoupon.md
+++ b/docs/IntegrationCoupon.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**campaignId** | **Integer** | The ID of the campaign that owns this entity. |
**value** | **String** | The coupon code. |
diff --git a/docs/InventoryCoupon.md b/docs/InventoryCoupon.md
index 01d42dee..eadc5c73 100644
--- a/docs/InventoryCoupon.md
+++ b/docs/InventoryCoupon.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**campaignId** | **Integer** | The ID of the campaign that owns this entity. |
**value** | **String** | The coupon code. |
diff --git a/docs/InventoryReferral.md b/docs/InventoryReferral.md
index 994276b5..67b7bb06 100644
--- a/docs/InventoryReferral.md
+++ b/docs/InventoryReferral.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the referral code becomes valid. | [optional]
**expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the referral code. Referral never expires if this is omitted. | [optional]
diff --git a/docs/LedgerEntry.md b/docs/LedgerEntry.md
index 4e9ad59e..16db8bce 100644
--- a/docs/LedgerEntry.md
+++ b/docs/LedgerEntry.md
@@ -7,7 +7,7 @@ Entry in the point ledger.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**profileId** | **String** | ID of the customer profile set by your integration layer. **Note:** If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. |
**accountId** | **Integer** | The ID of the Talon.One account that owns this profile. |
diff --git a/docs/LoyaltyCard.md b/docs/LoyaltyCard.md
index 99d86df1..fea358b9 100644
--- a/docs/LoyaltyCard.md
+++ b/docs/LoyaltyCard.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**programID** | **Integer** | The ID of the loyalty program that owns this entity. |
**programName** | **String** | The integration name of the loyalty program that owns this entity. | [optional]
diff --git a/docs/LoyaltyProgram.md b/docs/LoyaltyProgram.md
index 1f329587..75c49dff 100644
--- a/docs/LoyaltyProgram.md
+++ b/docs/LoyaltyProgram.md
@@ -7,7 +7,7 @@ A Loyalty Program
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | The ID of loyalty program. |
+**id** | **Long** | The ID of loyalty program. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**title** | **String** | The display title for the Loyalty Program. |
**description** | **String** | Description of our Loyalty Program. |
diff --git a/docs/LoyaltyProgramSubledgers.md b/docs/LoyaltyProgramSubledgers.md
deleted file mode 100644
index 0c0468c8..00000000
--- a/docs/LoyaltyProgramSubledgers.md
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-# LoyaltyProgramSubledgers
-
-The list of all the subledgers that the loyalty program has.
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**loyaltyProgramId** | **Integer** | The internal ID of the loyalty program. |
-**subledgerIds** | **List<String>** | The list of subledger IDs. |
-
-
-
diff --git a/docs/LoyaltyStatistics.md b/docs/LoyaltyStatistics.md
deleted file mode 100644
index 7eb9dcba..00000000
--- a/docs/LoyaltyStatistics.md
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-# LoyaltyStatistics
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**date** | [**OffsetDateTime**](OffsetDateTime.md) | Date at which data point was collected. |
-**totalActivePoints** | [**BigDecimal**](BigDecimal.md) | Total of active points for this loyalty program. |
-**totalPendingPoints** | [**BigDecimal**](BigDecimal.md) | Total of pending points for this loyalty program. |
-**totalSpentPoints** | [**BigDecimal**](BigDecimal.md) | Total of spent points for this loyalty program. |
-**totalExpiredPoints** | [**BigDecimal**](BigDecimal.md) | Total of expired points for this loyalty program. |
-**totalMembers** | [**BigDecimal**](BigDecimal.md) | Number of loyalty program members. |
-**newMembers** | [**BigDecimal**](BigDecimal.md) | Number of members who joined on this day. |
-**spentPoints** | [**LoyaltyDashboardPointsBreakdown**](LoyaltyDashboardPointsBreakdown.md) | |
-**earnedPoints** | [**LoyaltyDashboardPointsBreakdown**](LoyaltyDashboardPointsBreakdown.md) | |
-
-
-
diff --git a/docs/LoyaltyTier.md b/docs/LoyaltyTier.md
index 66e877a3..cce4cd1b 100644
--- a/docs/LoyaltyTier.md
+++ b/docs/LoyaltyTier.md
@@ -7,7 +7,7 @@ A tier in a loyalty program.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**programID** | **Integer** | The ID of the loyalty program that owns this entity. |
**programName** | **String** | The integration name of the loyalty program that owns this entity. | [optional]
diff --git a/docs/ModelImport.md b/docs/ModelImport.md
index e316234b..e41da14f 100644
--- a/docs/ModelImport.md
+++ b/docs/ModelImport.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**accountId** | **Integer** | The ID of the account that owns this entity. |
**userId** | **Integer** | The ID of the user associated with this entity. |
diff --git a/docs/ModelReturn.md b/docs/ModelReturn.md
index d299d501..79f6a6da 100644
--- a/docs/ModelReturn.md
+++ b/docs/ModelReturn.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**applicationId** | **Integer** | The ID of the Application that owns this entity. |
**accountId** | **Integer** | The ID of the account that owns this entity. |
diff --git a/docs/MultipleAudiencesItem.md b/docs/MultipleAudiencesItem.md
index c5b4366a..49078163 100644
--- a/docs/MultipleAudiencesItem.md
+++ b/docs/MultipleAudiencesItem.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**name** | **String** | The human-friendly display name for this audience. |
**integrationId** | **String** | The ID of this audience in the third-party integration. |
diff --git a/docs/NewCampaignSetV2.md b/docs/NewCampaignSetV2.md
deleted file mode 100644
index a7b9a9b6..00000000
--- a/docs/NewCampaignSetV2.md
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-# NewCampaignSetV2
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**applicationId** | **Integer** | The ID of the application that owns this entity. |
-**version** | **Integer** | Version of the campaign set. |
-**set** | [**CampaignPrioritiesV2**](CampaignPrioritiesV2.md) | |
-
-
-
diff --git a/docs/NewNotificationTest.md b/docs/NewNotificationTest.md
deleted file mode 100644
index 409d7557..00000000
--- a/docs/NewNotificationTest.md
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-# NewNotificationTest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | [**TypeEnum**](#TypeEnum) | The notification type. |
-**queryParams** | **Map<String, String>** | Array of query parameters. | [optional]
-**headers** | **Map<String, String>** | List of API HTTP headers for the given webhook-based notification. | [optional]
-**verb** | [**VerbEnum**](#VerbEnum) | API method for this notification. |
-**url** | **String** | API URL for the given notification. |
-**payload** | **String** | API payload of this notification. |
-
-
-
-## Enum: TypeEnum
-
-Name | Value
----- | -----
-CAMPAIGN | "campaign"
-LOYALTY_ADDED_DEDUCTED_POINTS | "loyalty_added_deducted_points"
-CARD_ADDED_DEDUCTED_POINTS | "card_added_deducted_points"
-COUPON | "coupon"
-EXPIRING_COUPONS | "expiring_coupons"
-EXPIRING_POINTS | "expiring_points"
-PENDING_TO_ACTIVE_POINTS | "pending_to_active_points"
-STRIKETHROUGH_PRICING | "strikethrough_pricing"
-TIER_DOWNGRADE | "tier_downgrade"
-TIER_UPGRADE | "tier_upgrade"
-TIER_WILL_DOWNGRADE | "tier_will_downgrade"
-CARD_EXPIRING_POINTS | "card_expiring_points"
-
-
-
-## Enum: VerbEnum
-
-Name | Value
----- | -----
-POST | "POST"
-PUT | "PUT"
-GET | "GET"
-DELETE | "DELETE"
-PATCH | "PATCH"
-
-
-
diff --git a/docs/NotificationTest.md b/docs/NotificationTest.md
deleted file mode 100644
index 5d5b36eb..00000000
--- a/docs/NotificationTest.md
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-# NotificationTest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**httpResponse** | **String** | The returned http response. |
-**httpStatus** | **Integer** | The returned http status code. |
-
-
-
diff --git a/docs/NotificationWebhook.md b/docs/NotificationWebhook.md
deleted file mode 100644
index b33f7a75..00000000
--- a/docs/NotificationWebhook.md
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-# NotificationWebhook
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
-**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
-**modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. |
-**applicationId** | **Integer** | The ID of the application that owns this entity. |
-**url** | **String** | API URL for the given webhook-based notification. |
-**headers** | **List<String>** | List of API HTTP headers for the given webhook-based notification. |
-**enabled** | **Boolean** | Indicates whether sending the notification is enabled. | [optional]
-
-
-
diff --git a/docs/OutgoingIntegrationWebhookTemplate.md b/docs/OutgoingIntegrationWebhookTemplate.md
deleted file mode 100644
index 94d34b92..00000000
--- a/docs/OutgoingIntegrationWebhookTemplate.md
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-# OutgoingIntegrationWebhookTemplate
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **Integer** | Unique Id for this entity. |
-**integrationType** | **Integer** | Unique Id of outgoing integration type. |
-**title** | **String** | Title of the webhook template. |
-**description** | **String** | General description for the specific outgoing integration webhook template. |
-**payload** | **String** | API payload (supports templating using parameters) for this webhook template. |
-**method** | [**MethodEnum**](#MethodEnum) | API method for this webhook. |
-
-
-
-## Enum: MethodEnum
-
-Name | Value
----- | -----
-POST | "POST"
-PUT | "PUT"
-GET | "GET"
-DELETE | "DELETE"
-PATCH | "PATCH"
-
-
-
diff --git a/docs/OutgoingIntegrationWebhookTemplates.md b/docs/OutgoingIntegrationWebhookTemplates.md
deleted file mode 100644
index f9adec19..00000000
--- a/docs/OutgoingIntegrationWebhookTemplates.md
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-# OutgoingIntegrationWebhookTemplates
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**data** | [**List<OutgoingIntegrationWebhookTemplate>**](OutgoingIntegrationWebhookTemplate.md) | The list of webhook templates for a given outgoing integration type. | [optional]
-
-
-
diff --git a/docs/Picklist.md b/docs/Picklist.md
index 15ea9dbc..81cf13ed 100644
--- a/docs/Picklist.md
+++ b/docs/Picklist.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**type** | [**TypeEnum**](#TypeEnum) | The type of allowed values in the picklist. If the type `time` is chosen, it must be an RFC3339 timestamp string. |
**values** | **List<String>** | The list of allowed values provided by this picklist. |
diff --git a/docs/PriorityPosition.md b/docs/PriorityPosition.md
deleted file mode 100644
index 6cc213c8..00000000
--- a/docs/PriorityPosition.md
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-# PriorityPosition
-
-The campaign priority.
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**set** | [**SetEnum**](#SetEnum) | The name of the priority set where the campaign is located. |
-**position** | **Integer** | The position of the campaign in the priority order starting from 1. |
-
-
-
-## Enum: SetEnum
-
-Name | Value
----- | -----
-UNIVERSAL | "universal"
-STACKABLE | "stackable"
-EXCLUSIVE | "exclusive"
-
-
-
diff --git a/docs/ProductSkuUnitAnalytics.md b/docs/ProductSkuUnitAnalytics.md
deleted file mode 100644
index 39c36e17..00000000
--- a/docs/ProductSkuUnitAnalytics.md
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-# ProductSkuUnitAnalytics
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**startTime** | [**OffsetDateTime**](OffsetDateTime.md) | The start of the aggregation time frame in UTC. |
-**endTime** | [**OffsetDateTime**](OffsetDateTime.md) | The end of the aggregation time frame in UTC. |
-**purchasedUnits** | [**AnalyticsDataPointWithTrend**](AnalyticsDataPointWithTrend.md) | |
-**sku** | **String** | The SKU linked to the analytics-level product. |
-
-
-
diff --git a/docs/Referral.md b/docs/Referral.md
index 37b7b891..44544dc9 100644
--- a/docs/Referral.md
+++ b/docs/Referral.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp at which point the referral code becomes valid. | [optional]
**expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the referral code. Referral never expires if this is omitted. | [optional]
diff --git a/docs/Role.md b/docs/Role.md
index cd357581..20858036 100644
--- a/docs/Role.md
+++ b/docs/Role.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. |
**accountId** | **Integer** | The ID of the account that owns this entity. |
diff --git a/docs/RoleV2.md b/docs/RoleV2.md
index 6ef2bfae..9d6b6c27 100644
--- a/docs/RoleV2.md
+++ b/docs/RoleV2.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. |
**accountId** | **Integer** | The ID of the account that owns this entity. |
diff --git a/docs/RoleV2PermissionsRoles.md b/docs/RoleV2PermissionsRoles.md
deleted file mode 100644
index 13f1ec86..00000000
--- a/docs/RoleV2PermissionsRoles.md
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-# RoleV2PermissionsRoles
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**applications** | [**Map<String, RoleV2ApplicationDetails>**](RoleV2ApplicationDetails.md) | | [optional]
-**loyaltyPrograms** | **Map<String, String>** | | [optional]
-**campaignAccessGroups** | **Map<String, String>** | | [optional]
-
-
-
diff --git a/docs/Ruleset.md b/docs/Ruleset.md
index 9c2e2240..28b4103a 100644
--- a/docs/Ruleset.md
+++ b/docs/Ruleset.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**userId** | **Integer** | The ID of the user associated with this entity. |
**rules** | [**List<Rule>**](Rule.md) | Set of rules to apply. |
diff --git a/docs/SamlConnection.md b/docs/SamlConnection.md
index 7f81a5ba..ac074225 100644
--- a/docs/SamlConnection.md
+++ b/docs/SamlConnection.md
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
**signOutURL** | **String** | Single Sign-Out URL. | [optional]
**metadataURL** | **String** | Metadata URL. | [optional]
**audienceURI** | **String** | The application-defined unique identifier that is the intended audience of the SAML assertion. This is most often the SP Entity ID of your application. When not specified, the ACS URL will be used. |
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
diff --git a/docs/Store.md b/docs/Store.md
index 5d8c955e..67d5cae4 100644
--- a/docs/Store.md
+++ b/docs/Store.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**name** | **String** | The name of the store. |
**description** | **String** | The description of the store. |
diff --git a/docs/TemplateDef.md b/docs/TemplateDef.md
index 0e21a558..2e7f443e 100644
--- a/docs/TemplateDef.md
+++ b/docs/TemplateDef.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**applicationId** | **Integer** | The ID of the Application that owns this entity. |
**title** | **String** | Campaigner-friendly name for the template that will be shown in the rule editor. |
diff --git a/docs/UpdateCustomEffect.md b/docs/UpdateCustomEffect.md
deleted file mode 100644
index 7e11a283..00000000
--- a/docs/UpdateCustomEffect.md
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-# UpdateCustomEffect
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**applicationIds** | **List<Integer>** | The IDs of the Applications that are related to this entity. |
-**isPerItem** | **Boolean** | Indicates if this effect is per item or not. | [optional]
-**name** | **String** | The name of this effect. |
-**title** | **String** | The title of this effect. |
-**payload** | **String** | The JSON payload of this effect. |
-**description** | **String** | The description of this effect. | [optional]
-**enabled** | **Boolean** | Determines if this effect is active. |
-**params** | [**List<TemplateArgDef>**](TemplateArgDef.md) | Array of template argument definitions. | [optional]
-
-
-
diff --git a/docs/UpdateUserLatestFeedTimestamp.md b/docs/UpdateUserLatestFeedTimestamp.md
deleted file mode 100644
index db95dd8e..00000000
--- a/docs/UpdateUserLatestFeedTimestamp.md
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-# UpdateUserLatestFeedTimestamp
-
-Updates current user's latest seen notifications timestamp.
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**newLatestFeedTimestamp** | [**OffsetDateTime**](OffsetDateTime.md) | New timestamp to update for the current user. |
-
-
-
diff --git a/docs/User.md b/docs/User.md
index a91c6b7a..ce105583 100644
--- a/docs/User.md
+++ b/docs/User.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. |
**email** | **String** | The email address associated with the user profile. |
diff --git a/docs/UserFeedNotifications.md b/docs/UserFeedNotifications.md
deleted file mode 100644
index e43a662b..00000000
--- a/docs/UserFeedNotifications.md
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-# UserFeedNotifications
-
-Notifications to notify CAMA user about.
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**lastUpdate** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the last request for this list. |
-**notifications** | [**List<FeedNotification>**](FeedNotification.md) | List of all notifications to notify the user about. |
-
-
-
diff --git a/docs/Webhook.md b/docs/Webhook.md
index 175ba6f5..d93ead92 100644
--- a/docs/Webhook.md
+++ b/docs/Webhook.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. |
**applicationIds** | **List<Integer>** | The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. |
diff --git a/docs/WebhookWithOutgoingIntegrationDetails.md b/docs/WebhookWithOutgoingIntegrationDetails.md
index 41e97e14..54afba1f 100644
--- a/docs/WebhookWithOutgoingIntegrationDetails.md
+++ b/docs/WebhookWithOutgoingIntegrationDetails.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Internal ID of this entity. |
+**id** | **Long** | Internal ID of this entity. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
**modified** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was last modified. |
**applicationIds** | **List<Integer>** | The IDs of the Applications in which this webhook is available. An empty array means the webhook is available in `All Applications`. |
diff --git a/pom.xml b/pom.xml
index 39b0196d..6f8eafc1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
talon-one-client
jar
talon-one-client
- 11.0.0
+ 12.0.0
https://github.com/talon-one/maven-artefacts
Talon.One unified JAVA SDK. It allows for programmatic access to the integration and management API with their respective authentication strategies
@@ -182,21 +182,6 @@
-
- net.nicoulaj.maven.plugins
- checksum-maven-plugin
- 1.10
-
-
-
- artifacts
-
-
-
-
-
-
-
@@ -280,7 +265,7 @@
- 21
+ 1.7
${java.version}
${java.version}
1.8.4
diff --git a/src/main/java/one/talon/ApiClient.java b/src/main/java/one/talon/ApiClient.java
index 1615bda7..5f39512b 100644
--- a/src/main/java/one/talon/ApiClient.java
+++ b/src/main/java/one/talon/ApiClient.java
@@ -132,7 +132,7 @@ private void init() {
json = new JSON();
// Set default User-Agent.
- setUserAgent("OpenAPI-Generator/11.0.0/java");
+ setUserAgent("OpenAPI-Generator/12.0.0/java");
authentications = new HashMap();
}
diff --git a/src/main/java/one/talon/custom/JsonNullable.java b/src/main/java/one/talon/custom/JsonNullable.java
deleted file mode 100644
index 29fb2137..00000000
--- a/src/main/java/one/talon/custom/JsonNullable.java
+++ /dev/null
@@ -1,11 +0,0 @@
-package one.talon.custom;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-@Retention(RetentionPolicy.RUNTIME)
-@Target(ElementType.FIELD)
-public @interface JsonNullable {
-}
diff --git a/src/main/java/one/talon/custom/NullableAdapterFactory.java b/src/main/java/one/talon/custom/NullableAdapterFactory.java
deleted file mode 100644
index 78c635ea..00000000
--- a/src/main/java/one/talon/custom/NullableAdapterFactory.java
+++ /dev/null
@@ -1,123 +0,0 @@
-package one.talon.custom;
-
-import com.google.gson.*;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.reflect.TypeToken;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-
-import javax.annotation.Nullable;
-import java.io.IOException;
-import java.lang.reflect.Field;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-public class NullableAdapterFactory implements TypeAdapterFactory {
-
- @Override
- public TypeAdapter create(Gson gson, TypeToken type) {
- Field[] declaredFields = type.getRawType().getDeclaredFields();
- final List nullableFieldNames = new ArrayList<>();
- final List nonNullableFieldNames = new ArrayList<>();
- for (Field declaredField : declaredFields) {
- if (declaredField.isAnnotationPresent(JsonNullable.class)) {
- if (declaredField.getAnnotation(SerializedName.class) != null) {
- nullableFieldNames.add(declaredField.getAnnotation(SerializedName.class).value());
- } else {
- nullableFieldNames.add(declaredField.getName());
- }
- } else {
- if (declaredField.getAnnotation(SerializedName.class) != null) {
- nonNullableFieldNames.add(declaredField.getAnnotation(SerializedName.class).value());
- } else {
- nonNullableFieldNames.add(declaredField.getName());
- }
- }
- }
-
- if (nullableFieldNames.size() == 0) {
- return null;
- }
- final TypeAdapter delegateAdapter = gson.getDelegateAdapter(NullableAdapterFactory.this, type);
- final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class);
-
- return new TypeAdapter() {
- @Override
- public void write(JsonWriter out, T value) throws IOException {
- JsonObject jsonObject = delegateAdapter.toJsonTree(value).getAsJsonObject();
- for (String name: nonNullableFieldNames) {
- if (jsonObject.has(name)) {
- JsonElement element =jsonObject.get(name);
- if(element==null || element instanceof JsonNull){
- jsonObject.remove(name);
- }
- if(element==null || element instanceof JsonObject){
- removeNullsFrom((JsonObject) element);
- }
- if(element instanceof JsonArray){
- removeNullsFrom((JsonArray) element);
- }
- }
- }
-
- // remove null-valued nullablae fields; preventing them getting output if they do not have _any value_
- for (String name: nullableFieldNames) {
- if (jsonObject.has(name)) {
- JsonElement element =jsonObject.get(name);
- if(element==null || element instanceof JsonNull){
- jsonObject.remove(name);
- }
- }
- }
-
- boolean originalSerializeNulls = out.getSerializeNulls();
- out.setSerializeNulls(true);
- elementAdapter.write(out, jsonObject);
- out.setSerializeNulls(originalSerializeNulls);
- }
-
- @Override
- public T read(JsonReader in) throws IOException {
- return delegateAdapter.read(in);
- }
-
- public void removeNullsFrom(@Nullable JsonObject object) {
- if (object != null) {
- Iterator iterator = object.keySet().iterator();
- while (iterator.hasNext()) {
- String key = iterator.next();
- Object o = object.get(key);
- if (o == null || o instanceof JsonNull) {
- iterator.remove();
- }
- else if(o instanceof JsonObject){
- removeNullsFrom((JsonObject) o);
- }
- else if(o instanceof JsonArray){
- removeNullsFrom((JsonArray) o);
- }
- }
- }
- }
-
- public void removeNullsFrom(@Nullable JsonArray array) {
- if (array != null) {
- for (int i = 0; i < array.size(); i++) {
- Object o = array.get(i);
- if (o == null || o instanceof JsonNull) {
- array.remove(i);
- } else if(o instanceof JsonObject){
- removeNullsFrom((JsonObject) o);
- }
- else if(o instanceof JsonArray){
- removeNullsFrom((JsonArray) o);
- }
- }
- }
- }
-
-
- };
- }
-}
diff --git a/src/main/java/one/talon/model/Account.java b/src/main/java/one/talon/model/Account.java
index 324dbcb4..3f433db0 100644
--- a/src/main/java/one/talon/model/Account.java
+++ b/src/main/java/one/talon/model/Account.java
@@ -32,7 +32,7 @@
public class Account {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -150,7 +150,7 @@ public StateEnum read(final JsonReader jsonReader) throws IOException {
private Object attributes;
- public Account id(Integer id) {
+ public Account id(Long id) {
this.id = id;
return this;
@@ -162,12 +162,12 @@ public Account id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/AccountAdditionalCost.java b/src/main/java/one/talon/model/AccountAdditionalCost.java
index e486aa98..a999465e 100644
--- a/src/main/java/one/talon/model/AccountAdditionalCost.java
+++ b/src/main/java/one/talon/model/AccountAdditionalCost.java
@@ -34,7 +34,7 @@
public class AccountAdditionalCost {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -114,7 +114,7 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException {
private TypeEnum type = TypeEnum.SESSION;
- public AccountAdditionalCost id(Integer id) {
+ public AccountAdditionalCost id(Long id) {
this.id = id;
return this;
@@ -126,12 +126,12 @@ public AccountAdditionalCost id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/AccountDashboardStatisticApiCalls.java b/src/main/java/one/talon/model/AccountDashboardStatisticApiCalls.java
deleted file mode 100644
index b4558fd7..00000000
--- a/src/main/java/one/talon/model/AccountDashboardStatisticApiCalls.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-import org.threeten.bp.OffsetDateTime;
-
-/**
- * AccountDashboardStatisticApiCalls
- */
-
-public class AccountDashboardStatisticApiCalls {
- public static final String SERIALIZED_NAME_TOTAL = "total";
- @SerializedName(SERIALIZED_NAME_TOTAL)
- private BigDecimal total;
-
- public static final String SERIALIZED_NAME_DATETIME = "datetime";
- @SerializedName(SERIALIZED_NAME_DATETIME)
- private OffsetDateTime datetime;
-
-
- public AccountDashboardStatisticApiCalls total(BigDecimal total) {
-
- this.total = total;
- return this;
- }
-
- /**
- * Total number of API calls received.
- * @return total
- **/
- @ApiModelProperty(required = true, value = "Total number of API calls received.")
-
- public BigDecimal getTotal() {
- return total;
- }
-
-
- public void setTotal(BigDecimal total) {
- this.total = total;
- }
-
-
- public AccountDashboardStatisticApiCalls datetime(OffsetDateTime datetime) {
-
- this.datetime = datetime;
- return this;
- }
-
- /**
- * Values aggregated for the specified date.
- * @return datetime
- **/
- @ApiModelProperty(required = true, value = "Values aggregated for the specified date.")
-
- public OffsetDateTime getDatetime() {
- return datetime;
- }
-
-
- public void setDatetime(OffsetDateTime datetime) {
- this.datetime = datetime;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AccountDashboardStatisticApiCalls accountDashboardStatisticApiCalls = (AccountDashboardStatisticApiCalls) o;
- return Objects.equals(this.total, accountDashboardStatisticApiCalls.total) &&
- Objects.equals(this.datetime, accountDashboardStatisticApiCalls.datetime);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(total, datetime);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AccountDashboardStatisticApiCalls {\n");
- sb.append(" total: ").append(toIndentedString(total)).append("\n");
- sb.append(" datetime: ").append(toIndentedString(datetime)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/Achievement.java b/src/main/java/one/talon/model/Achievement.java
index 22d4818a..904230cb 100644
--- a/src/main/java/one/talon/model/Achievement.java
+++ b/src/main/java/one/talon/model/Achievement.java
@@ -34,7 +34,7 @@
public class Achievement {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -246,7 +246,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException {
private StatusEnum status;
- public Achievement id(Integer id) {
+ public Achievement id(Long id) {
this.id = id;
return this;
@@ -258,12 +258,12 @@ public Achievement id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/AchievementStatusEntry.java b/src/main/java/one/talon/model/AchievementStatusEntry.java
index ebac586b..d17664f8 100644
--- a/src/main/java/one/talon/model/AchievementStatusEntry.java
+++ b/src/main/java/one/talon/model/AchievementStatusEntry.java
@@ -35,7 +35,7 @@
public class AchievementStatusEntry {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -235,7 +235,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException {
private AchievementProgress currentProgress;
- public AchievementStatusEntry id(Integer id) {
+ public AchievementStatusEntry id(Long id) {
this.id = id;
return this;
@@ -247,12 +247,12 @@ public AchievementStatusEntry id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/ActivateUserRequest.java b/src/main/java/one/talon/model/ActivateUserRequest.java
deleted file mode 100644
index 6bde56b9..00000000
--- a/src/main/java/one/talon/model/ActivateUserRequest.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-
-/**
- *
- */
-@ApiModel(description = "")
-
-public class ActivateUserRequest {
- public static final String SERIALIZED_NAME_EMAIL = "email";
- @SerializedName(SERIALIZED_NAME_EMAIL)
- private String email;
-
-
- public ActivateUserRequest email(String email) {
-
- this.email = email;
- return this;
- }
-
- /**
- * The email address associated with the user profile.
- * @return email
- **/
- @ApiModelProperty(example = "john.doe@example.com", required = true, value = "The email address associated with the user profile.")
-
- public String getEmail() {
- return email;
- }
-
-
- public void setEmail(String email) {
- this.email = email;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- ActivateUserRequest activateUserRequest = (ActivateUserRequest) o;
- return Objects.equals(this.email, activateUserRequest.email);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(email);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class ActivateUserRequest {\n");
- sb.append(" email: ").append(toIndentedString(email)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/AddItemCatalogAction.java b/src/main/java/one/talon/model/AddItemCatalogAction.java
index 3ebea9d5..2b4bbd70 100644
--- a/src/main/java/one/talon/model/AddItemCatalogAction.java
+++ b/src/main/java/one/talon/model/AddItemCatalogAction.java
@@ -25,14 +25,11 @@
import java.io.IOException;
import java.math.BigDecimal;
import one.talon.model.Product;
-import one.talon.custom.JsonNullable;
-import one.talon.custom.NullableAdapterFactory;
/**
* The specific properties of the \"ADD\" catalog sync action.
*/
@ApiModel(description = "The specific properties of the \"ADD\" catalog sync action. ")
-@JsonAdapter(NullableAdapterFactory.class)
public class AddItemCatalogAction {
public static final String SERIALIZED_NAME_SKU = "sku";
@@ -45,8 +42,6 @@ public class AddItemCatalogAction {
public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES)
- /*allow Serializing null for this field */
- @JsonNullable
private Object attributes;
public static final String SERIALIZED_NAME_PRODUCT = "product";
diff --git a/src/main/java/one/talon/model/AnalyticsProductSKU.java b/src/main/java/one/talon/model/AnalyticsProductSKU.java
deleted file mode 100644
index 417e7262..00000000
--- a/src/main/java/one/talon/model/AnalyticsProductSKU.java
+++ /dev/null
@@ -1,155 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import org.threeten.bp.OffsetDateTime;
-
-/**
- * AnalyticsProductSKU
- */
-
-public class AnalyticsProductSKU {
- public static final String SERIALIZED_NAME_ID = "id";
- @SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
-
- public static final String SERIALIZED_NAME_SKU = "sku";
- @SerializedName(SERIALIZED_NAME_SKU)
- private String sku;
-
- public static final String SERIALIZED_NAME_LAST_UPDATED = "lastUpdated";
- @SerializedName(SERIALIZED_NAME_LAST_UPDATED)
- private OffsetDateTime lastUpdated;
-
-
- public AnalyticsProductSKU id(Integer id) {
-
- this.id = id;
- return this;
- }
-
- /**
- * The ID of the SKU linked to the analytics-level product.
- * @return id
- **/
- @ApiModelProperty(example = "1", required = true, value = "The ID of the SKU linked to the analytics-level product.")
-
- public Integer getId() {
- return id;
- }
-
-
- public void setId(Integer id) {
- this.id = id;
- }
-
-
- public AnalyticsProductSKU sku(String sku) {
-
- this.sku = sku;
- return this;
- }
-
- /**
- * The SKU linked to the analytics-level product.
- * @return sku
- **/
- @ApiModelProperty(example = "SKU-123", required = true, value = "The SKU linked to the analytics-level product.")
-
- public String getSku() {
- return sku;
- }
-
-
- public void setSku(String sku) {
- this.sku = sku;
- }
-
-
- public AnalyticsProductSKU lastUpdated(OffsetDateTime lastUpdated) {
-
- this.lastUpdated = lastUpdated;
- return this;
- }
-
- /**
- * Values in UTC for the date the SKU linked to the analytics-level product was last updated.
- * @return lastUpdated
- **/
- @ApiModelProperty(example = "2024-02-01T00:00Z", required = true, value = "Values in UTC for the date the SKU linked to the analytics-level product was last updated.")
-
- public OffsetDateTime getLastUpdated() {
- return lastUpdated;
- }
-
-
- public void setLastUpdated(OffsetDateTime lastUpdated) {
- this.lastUpdated = lastUpdated;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- AnalyticsProductSKU analyticsProductSKU = (AnalyticsProductSKU) o;
- return Objects.equals(this.id, analyticsProductSKU.id) &&
- Objects.equals(this.sku, analyticsProductSKU.sku) &&
- Objects.equals(this.lastUpdated, analyticsProductSKU.lastUpdated);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, sku, lastUpdated);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class AnalyticsProductSKU {\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" sku: ").append(toIndentedString(sku)).append("\n");
- sb.append(" lastUpdated: ").append(toIndentedString(lastUpdated)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/Application.java b/src/main/java/one/talon/model/Application.java
index fb437030..0eaf7f64 100644
--- a/src/main/java/one/talon/model/Application.java
+++ b/src/main/java/one/talon/model/Application.java
@@ -37,7 +37,7 @@
public class Application {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -271,7 +271,7 @@ public DefaultDiscountAdditionalCostPerItemScopeEnum read(final JsonReader jsonR
private List loyaltyPrograms = new ArrayList();
- public Application id(Integer id) {
+ public Application id(Long id) {
this.id = id;
return this;
@@ -283,12 +283,12 @@ public Application id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/ApplicationAnalyticsDataPointAvgItemsPerSession.java b/src/main/java/one/talon/model/ApplicationAnalyticsDataPointAvgItemsPerSession.java
deleted file mode 100644
index d271c558..00000000
--- a/src/main/java/one/talon/model/ApplicationAnalyticsDataPointAvgItemsPerSession.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-
-/**
- * The number of items from sessions divided by the number of sessions. The `influenced` value includes only sessions with at least one applied effect.
- */
-@ApiModel(description = "The number of items from sessions divided by the number of sessions. The `influenced` value includes only sessions with at least one applied effect.")
-
-public class ApplicationAnalyticsDataPointAvgItemsPerSession {
- public static final String SERIALIZED_NAME_TOTAL = "total";
- @SerializedName(SERIALIZED_NAME_TOTAL)
- private BigDecimal total;
-
- public static final String SERIALIZED_NAME_INFLUENCED = "influenced";
- @SerializedName(SERIALIZED_NAME_INFLUENCED)
- private BigDecimal influenced;
-
-
- public ApplicationAnalyticsDataPointAvgItemsPerSession total(BigDecimal total) {
-
- this.total = total;
- return this;
- }
-
- /**
- * Get total
- * @return total
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "1.25", value = "")
-
- public BigDecimal getTotal() {
- return total;
- }
-
-
- public void setTotal(BigDecimal total) {
- this.total = total;
- }
-
-
- public ApplicationAnalyticsDataPointAvgItemsPerSession influenced(BigDecimal influenced) {
-
- this.influenced = influenced;
- return this;
- }
-
- /**
- * Get influenced
- * @return influenced
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "3.25", value = "")
-
- public BigDecimal getInfluenced() {
- return influenced;
- }
-
-
- public void setInfluenced(BigDecimal influenced) {
- this.influenced = influenced;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- ApplicationAnalyticsDataPointAvgItemsPerSession applicationAnalyticsDataPointAvgItemsPerSession = (ApplicationAnalyticsDataPointAvgItemsPerSession) o;
- return Objects.equals(this.total, applicationAnalyticsDataPointAvgItemsPerSession.total) &&
- Objects.equals(this.influenced, applicationAnalyticsDataPointAvgItemsPerSession.influenced);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(total, influenced);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class ApplicationAnalyticsDataPointAvgItemsPerSession {\n");
- sb.append(" total: ").append(toIndentedString(total)).append("\n");
- sb.append(" influenced: ").append(toIndentedString(influenced)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/ApplicationAnalyticsDataPointAvgSessionValue.java b/src/main/java/one/talon/model/ApplicationAnalyticsDataPointAvgSessionValue.java
deleted file mode 100644
index 39e95686..00000000
--- a/src/main/java/one/talon/model/ApplicationAnalyticsDataPointAvgSessionValue.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-
-/**
- * The average customer session value, calculated by dividing the revenue value by the number of sessions. The `influenced` value includes only sessions with at least one applied effect.
- */
-@ApiModel(description = "The average customer session value, calculated by dividing the revenue value by the number of sessions. The `influenced` value includes only sessions with at least one applied effect.")
-
-public class ApplicationAnalyticsDataPointAvgSessionValue {
- public static final String SERIALIZED_NAME_TOTAL = "total";
- @SerializedName(SERIALIZED_NAME_TOTAL)
- private BigDecimal total;
-
- public static final String SERIALIZED_NAME_INFLUENCED = "influenced";
- @SerializedName(SERIALIZED_NAME_INFLUENCED)
- private BigDecimal influenced;
-
-
- public ApplicationAnalyticsDataPointAvgSessionValue total(BigDecimal total) {
-
- this.total = total;
- return this;
- }
-
- /**
- * Get total
- * @return total
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "1.25", value = "")
-
- public BigDecimal getTotal() {
- return total;
- }
-
-
- public void setTotal(BigDecimal total) {
- this.total = total;
- }
-
-
- public ApplicationAnalyticsDataPointAvgSessionValue influenced(BigDecimal influenced) {
-
- this.influenced = influenced;
- return this;
- }
-
- /**
- * Get influenced
- * @return influenced
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "3.25", value = "")
-
- public BigDecimal getInfluenced() {
- return influenced;
- }
-
-
- public void setInfluenced(BigDecimal influenced) {
- this.influenced = influenced;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- ApplicationAnalyticsDataPointAvgSessionValue applicationAnalyticsDataPointAvgSessionValue = (ApplicationAnalyticsDataPointAvgSessionValue) o;
- return Objects.equals(this.total, applicationAnalyticsDataPointAvgSessionValue.total) &&
- Objects.equals(this.influenced, applicationAnalyticsDataPointAvgSessionValue.influenced);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(total, influenced);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class ApplicationAnalyticsDataPointAvgSessionValue {\n");
- sb.append(" total: ").append(toIndentedString(total)).append("\n");
- sb.append(" influenced: ").append(toIndentedString(influenced)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/ApplicationAnalyticsDataPointSessionsCount.java b/src/main/java/one/talon/model/ApplicationAnalyticsDataPointSessionsCount.java
deleted file mode 100644
index c1bf1e4d..00000000
--- a/src/main/java/one/talon/model/ApplicationAnalyticsDataPointSessionsCount.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-
-/**
- * The number of all closed sessions. The `influenced` value includes only sessions with at least one applied effect.
- */
-@ApiModel(description = "The number of all closed sessions. The `influenced` value includes only sessions with at least one applied effect.")
-
-public class ApplicationAnalyticsDataPointSessionsCount {
- public static final String SERIALIZED_NAME_TOTAL = "total";
- @SerializedName(SERIALIZED_NAME_TOTAL)
- private BigDecimal total;
-
- public static final String SERIALIZED_NAME_INFLUENCED = "influenced";
- @SerializedName(SERIALIZED_NAME_INFLUENCED)
- private BigDecimal influenced;
-
-
- public ApplicationAnalyticsDataPointSessionsCount total(BigDecimal total) {
-
- this.total = total;
- return this;
- }
-
- /**
- * Get total
- * @return total
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "15.0", value = "")
-
- public BigDecimal getTotal() {
- return total;
- }
-
-
- public void setTotal(BigDecimal total) {
- this.total = total;
- }
-
-
- public ApplicationAnalyticsDataPointSessionsCount influenced(BigDecimal influenced) {
-
- this.influenced = influenced;
- return this;
- }
-
- /**
- * Get influenced
- * @return influenced
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "5.0", value = "")
-
- public BigDecimal getInfluenced() {
- return influenced;
- }
-
-
- public void setInfluenced(BigDecimal influenced) {
- this.influenced = influenced;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- ApplicationAnalyticsDataPointSessionsCount applicationAnalyticsDataPointSessionsCount = (ApplicationAnalyticsDataPointSessionsCount) o;
- return Objects.equals(this.total, applicationAnalyticsDataPointSessionsCount.total) &&
- Objects.equals(this.influenced, applicationAnalyticsDataPointSessionsCount.influenced);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(total, influenced);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class ApplicationAnalyticsDataPointSessionsCount {\n");
- sb.append(" total: ").append(toIndentedString(total)).append("\n");
- sb.append(" influenced: ").append(toIndentedString(influenced)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/ApplicationAnalyticsDataPointTotalRevenue.java b/src/main/java/one/talon/model/ApplicationAnalyticsDataPointTotalRevenue.java
deleted file mode 100644
index 0161d467..00000000
--- a/src/main/java/one/talon/model/ApplicationAnalyticsDataPointTotalRevenue.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-
-/**
- * The total, pre-discount value of all items purchased in a customer session.
- */
-@ApiModel(description = "The total, pre-discount value of all items purchased in a customer session.")
-
-public class ApplicationAnalyticsDataPointTotalRevenue {
- public static final String SERIALIZED_NAME_TOTAL = "total";
- @SerializedName(SERIALIZED_NAME_TOTAL)
- private BigDecimal total;
-
- public static final String SERIALIZED_NAME_INFLUENCED = "influenced";
- @SerializedName(SERIALIZED_NAME_INFLUENCED)
- private BigDecimal influenced;
-
-
- public ApplicationAnalyticsDataPointTotalRevenue total(BigDecimal total) {
-
- this.total = total;
- return this;
- }
-
- /**
- * Get total
- * @return total
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "1.25", value = "")
-
- public BigDecimal getTotal() {
- return total;
- }
-
-
- public void setTotal(BigDecimal total) {
- this.total = total;
- }
-
-
- public ApplicationAnalyticsDataPointTotalRevenue influenced(BigDecimal influenced) {
-
- this.influenced = influenced;
- return this;
- }
-
- /**
- * Get influenced
- * @return influenced
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "3.25", value = "")
-
- public BigDecimal getInfluenced() {
- return influenced;
- }
-
-
- public void setInfluenced(BigDecimal influenced) {
- this.influenced = influenced;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- ApplicationAnalyticsDataPointTotalRevenue applicationAnalyticsDataPointTotalRevenue = (ApplicationAnalyticsDataPointTotalRevenue) o;
- return Objects.equals(this.total, applicationAnalyticsDataPointTotalRevenue.total) &&
- Objects.equals(this.influenced, applicationAnalyticsDataPointTotalRevenue.influenced);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(total, influenced);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class ApplicationAnalyticsDataPointTotalRevenue {\n");
- sb.append(" total: ").append(toIndentedString(total)).append("\n");
- sb.append(" influenced: ").append(toIndentedString(influenced)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/ApplicationCIF.java b/src/main/java/one/talon/model/ApplicationCIF.java
index 5b1ceab6..d648e422 100644
--- a/src/main/java/one/talon/model/ApplicationCIF.java
+++ b/src/main/java/one/talon/model/ApplicationCIF.java
@@ -32,7 +32,7 @@
public class ApplicationCIF {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -67,7 +67,7 @@ public class ApplicationCIF {
private Integer applicationId;
- public ApplicationCIF id(Integer id) {
+ public ApplicationCIF id(Long id) {
this.id = id;
return this;
@@ -79,12 +79,12 @@ public ApplicationCIF id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/ApplicationCIFExpression.java b/src/main/java/one/talon/model/ApplicationCIFExpression.java
index 7e0e6621..ab31d1c8 100644
--- a/src/main/java/one/talon/model/ApplicationCIFExpression.java
+++ b/src/main/java/one/talon/model/ApplicationCIFExpression.java
@@ -34,7 +34,7 @@
public class ApplicationCIFExpression {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -57,7 +57,7 @@ public class ApplicationCIFExpression {
private Integer applicationId;
- public ApplicationCIFExpression id(Integer id) {
+ public ApplicationCIFExpression id(Long id) {
this.id = id;
return this;
@@ -69,12 +69,12 @@ public ApplicationCIFExpression id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/ApplicationCampaignAnalyticsAvgItemsPerSession.java b/src/main/java/one/talon/model/ApplicationCampaignAnalyticsAvgItemsPerSession.java
deleted file mode 100644
index 5af0af29..00000000
--- a/src/main/java/one/talon/model/ApplicationCampaignAnalyticsAvgItemsPerSession.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-
-/**
- * The number of items from sessions divided by the number of sessions. The `influenced` value includes only sessions with at least one applied effect.
- */
-@ApiModel(description = "The number of items from sessions divided by the number of sessions. The `influenced` value includes only sessions with at least one applied effect.")
-
-public class ApplicationCampaignAnalyticsAvgItemsPerSession {
- public static final String SERIALIZED_NAME_VALUE = "value";
- @SerializedName(SERIALIZED_NAME_VALUE)
- private BigDecimal value;
-
- public static final String SERIALIZED_NAME_UPLIFT = "uplift";
- @SerializedName(SERIALIZED_NAME_UPLIFT)
- private BigDecimal uplift;
-
- public static final String SERIALIZED_NAME_TREND = "trend";
- @SerializedName(SERIALIZED_NAME_TREND)
- private BigDecimal trend;
-
-
- public ApplicationCampaignAnalyticsAvgItemsPerSession value(BigDecimal value) {
-
- this.value = value;
- return this;
- }
-
- /**
- * Get value
- * @return value
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "12.0", value = "")
-
- public BigDecimal getValue() {
- return value;
- }
-
-
- public void setValue(BigDecimal value) {
- this.value = value;
- }
-
-
- public ApplicationCampaignAnalyticsAvgItemsPerSession uplift(BigDecimal uplift) {
-
- this.uplift = uplift;
- return this;
- }
-
- /**
- * Get uplift
- * @return uplift
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "3.25", value = "")
-
- public BigDecimal getUplift() {
- return uplift;
- }
-
-
- public void setUplift(BigDecimal uplift) {
- this.uplift = uplift;
- }
-
-
- public ApplicationCampaignAnalyticsAvgItemsPerSession trend(BigDecimal trend) {
-
- this.trend = trend;
- return this;
- }
-
- /**
- * Get trend
- * @return trend
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "3.25", value = "")
-
- public BigDecimal getTrend() {
- return trend;
- }
-
-
- public void setTrend(BigDecimal trend) {
- this.trend = trend;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- ApplicationCampaignAnalyticsAvgItemsPerSession applicationCampaignAnalyticsAvgItemsPerSession = (ApplicationCampaignAnalyticsAvgItemsPerSession) o;
- return Objects.equals(this.value, applicationCampaignAnalyticsAvgItemsPerSession.value) &&
- Objects.equals(this.uplift, applicationCampaignAnalyticsAvgItemsPerSession.uplift) &&
- Objects.equals(this.trend, applicationCampaignAnalyticsAvgItemsPerSession.trend);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(value, uplift, trend);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class ApplicationCampaignAnalyticsAvgItemsPerSession {\n");
- sb.append(" value: ").append(toIndentedString(value)).append("\n");
- sb.append(" uplift: ").append(toIndentedString(uplift)).append("\n");
- sb.append(" trend: ").append(toIndentedString(trend)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/ApplicationCampaignAnalyticsAvgSessionValue.java b/src/main/java/one/talon/model/ApplicationCampaignAnalyticsAvgSessionValue.java
deleted file mode 100644
index 27f80705..00000000
--- a/src/main/java/one/talon/model/ApplicationCampaignAnalyticsAvgSessionValue.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-
-/**
- * The average customer session value, calculated by dividing the revenue value by the number of sessions. The `influenced` value includes only sessions with at least one applied effect.
- */
-@ApiModel(description = "The average customer session value, calculated by dividing the revenue value by the number of sessions. The `influenced` value includes only sessions with at least one applied effect.")
-
-public class ApplicationCampaignAnalyticsAvgSessionValue {
- public static final String SERIALIZED_NAME_VALUE = "value";
- @SerializedName(SERIALIZED_NAME_VALUE)
- private BigDecimal value;
-
- public static final String SERIALIZED_NAME_UPLIFT = "uplift";
- @SerializedName(SERIALIZED_NAME_UPLIFT)
- private BigDecimal uplift;
-
- public static final String SERIALIZED_NAME_TREND = "trend";
- @SerializedName(SERIALIZED_NAME_TREND)
- private BigDecimal trend;
-
-
- public ApplicationCampaignAnalyticsAvgSessionValue value(BigDecimal value) {
-
- this.value = value;
- return this;
- }
-
- /**
- * Get value
- * @return value
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "12.0", value = "")
-
- public BigDecimal getValue() {
- return value;
- }
-
-
- public void setValue(BigDecimal value) {
- this.value = value;
- }
-
-
- public ApplicationCampaignAnalyticsAvgSessionValue uplift(BigDecimal uplift) {
-
- this.uplift = uplift;
- return this;
- }
-
- /**
- * Get uplift
- * @return uplift
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "3.25", value = "")
-
- public BigDecimal getUplift() {
- return uplift;
- }
-
-
- public void setUplift(BigDecimal uplift) {
- this.uplift = uplift;
- }
-
-
- public ApplicationCampaignAnalyticsAvgSessionValue trend(BigDecimal trend) {
-
- this.trend = trend;
- return this;
- }
-
- /**
- * Get trend
- * @return trend
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "3.25", value = "")
-
- public BigDecimal getTrend() {
- return trend;
- }
-
-
- public void setTrend(BigDecimal trend) {
- this.trend = trend;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- ApplicationCampaignAnalyticsAvgSessionValue applicationCampaignAnalyticsAvgSessionValue = (ApplicationCampaignAnalyticsAvgSessionValue) o;
- return Objects.equals(this.value, applicationCampaignAnalyticsAvgSessionValue.value) &&
- Objects.equals(this.uplift, applicationCampaignAnalyticsAvgSessionValue.uplift) &&
- Objects.equals(this.trend, applicationCampaignAnalyticsAvgSessionValue.trend);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(value, uplift, trend);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class ApplicationCampaignAnalyticsAvgSessionValue {\n");
- sb.append(" value: ").append(toIndentedString(value)).append("\n");
- sb.append(" uplift: ").append(toIndentedString(uplift)).append("\n");
- sb.append(" trend: ").append(toIndentedString(trend)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/ApplicationCampaignAnalyticsCouponsCount.java b/src/main/java/one/talon/model/ApplicationCampaignAnalyticsCouponsCount.java
deleted file mode 100644
index 3d17787e..00000000
--- a/src/main/java/one/talon/model/ApplicationCampaignAnalyticsCouponsCount.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-
-/**
- * The number of times a coupon was successfully redeemed in influenced sessions.
- */
-@ApiModel(description = "The number of times a coupon was successfully redeemed in influenced sessions.")
-
-public class ApplicationCampaignAnalyticsCouponsCount {
- public static final String SERIALIZED_NAME_VALUE = "value";
- @SerializedName(SERIALIZED_NAME_VALUE)
- private BigDecimal value;
-
- public static final String SERIALIZED_NAME_TREND = "trend";
- @SerializedName(SERIALIZED_NAME_TREND)
- private BigDecimal trend;
-
-
- public ApplicationCampaignAnalyticsCouponsCount value(BigDecimal value) {
-
- this.value = value;
- return this;
- }
-
- /**
- * Get value
- * @return value
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "10.0", value = "")
-
- public BigDecimal getValue() {
- return value;
- }
-
-
- public void setValue(BigDecimal value) {
- this.value = value;
- }
-
-
- public ApplicationCampaignAnalyticsCouponsCount trend(BigDecimal trend) {
-
- this.trend = trend;
- return this;
- }
-
- /**
- * Get trend
- * @return trend
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "3.25", value = "")
-
- public BigDecimal getTrend() {
- return trend;
- }
-
-
- public void setTrend(BigDecimal trend) {
- this.trend = trend;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- ApplicationCampaignAnalyticsCouponsCount applicationCampaignAnalyticsCouponsCount = (ApplicationCampaignAnalyticsCouponsCount) o;
- return Objects.equals(this.value, applicationCampaignAnalyticsCouponsCount.value) &&
- Objects.equals(this.trend, applicationCampaignAnalyticsCouponsCount.trend);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(value, trend);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class ApplicationCampaignAnalyticsCouponsCount {\n");
- sb.append(" value: ").append(toIndentedString(value)).append("\n");
- sb.append(" trend: ").append(toIndentedString(trend)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/ApplicationCampaignAnalyticsSessionsCount.java b/src/main/java/one/talon/model/ApplicationCampaignAnalyticsSessionsCount.java
deleted file mode 100644
index 817a0554..00000000
--- a/src/main/java/one/talon/model/ApplicationCampaignAnalyticsSessionsCount.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-
-/**
- * The number of all closed sessions. The `influenced` value includes only sessions with at least one applied effect.
- */
-@ApiModel(description = "The number of all closed sessions. The `influenced` value includes only sessions with at least one applied effect.")
-
-public class ApplicationCampaignAnalyticsSessionsCount {
- public static final String SERIALIZED_NAME_VALUE = "value";
- @SerializedName(SERIALIZED_NAME_VALUE)
- private BigDecimal value;
-
- public static final String SERIALIZED_NAME_INFLUENCE_RATE = "influence_rate";
- @SerializedName(SERIALIZED_NAME_INFLUENCE_RATE)
- private BigDecimal influenceRate;
-
- public static final String SERIALIZED_NAME_TREND = "trend";
- @SerializedName(SERIALIZED_NAME_TREND)
- private BigDecimal trend;
-
-
- public ApplicationCampaignAnalyticsSessionsCount value(BigDecimal value) {
-
- this.value = value;
- return this;
- }
-
- /**
- * Get value
- * @return value
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "12.0", value = "")
-
- public BigDecimal getValue() {
- return value;
- }
-
-
- public void setValue(BigDecimal value) {
- this.value = value;
- }
-
-
- public ApplicationCampaignAnalyticsSessionsCount influenceRate(BigDecimal influenceRate) {
-
- this.influenceRate = influenceRate;
- return this;
- }
-
- /**
- * Get influenceRate
- * @return influenceRate
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "3.25", value = "")
-
- public BigDecimal getInfluenceRate() {
- return influenceRate;
- }
-
-
- public void setInfluenceRate(BigDecimal influenceRate) {
- this.influenceRate = influenceRate;
- }
-
-
- public ApplicationCampaignAnalyticsSessionsCount trend(BigDecimal trend) {
-
- this.trend = trend;
- return this;
- }
-
- /**
- * Get trend
- * @return trend
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "3.25", value = "")
-
- public BigDecimal getTrend() {
- return trend;
- }
-
-
- public void setTrend(BigDecimal trend) {
- this.trend = trend;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- ApplicationCampaignAnalyticsSessionsCount applicationCampaignAnalyticsSessionsCount = (ApplicationCampaignAnalyticsSessionsCount) o;
- return Objects.equals(this.value, applicationCampaignAnalyticsSessionsCount.value) &&
- Objects.equals(this.influenceRate, applicationCampaignAnalyticsSessionsCount.influenceRate) &&
- Objects.equals(this.trend, applicationCampaignAnalyticsSessionsCount.trend);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(value, influenceRate, trend);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class ApplicationCampaignAnalyticsSessionsCount {\n");
- sb.append(" value: ").append(toIndentedString(value)).append("\n");
- sb.append(" influenceRate: ").append(toIndentedString(influenceRate)).append("\n");
- sb.append(" trend: ").append(toIndentedString(trend)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/ApplicationCampaignAnalyticsTotalDiscounts.java b/src/main/java/one/talon/model/ApplicationCampaignAnalyticsTotalDiscounts.java
deleted file mode 100644
index 59755bfe..00000000
--- a/src/main/java/one/talon/model/ApplicationCampaignAnalyticsTotalDiscounts.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-
-/**
- * The total value of discounts given for cart items in influenced sessions.
- */
-@ApiModel(description = "The total value of discounts given for cart items in influenced sessions.")
-
-public class ApplicationCampaignAnalyticsTotalDiscounts {
- public static final String SERIALIZED_NAME_VALUE = "value";
- @SerializedName(SERIALIZED_NAME_VALUE)
- private BigDecimal value;
-
- public static final String SERIALIZED_NAME_TREND = "trend";
- @SerializedName(SERIALIZED_NAME_TREND)
- private BigDecimal trend;
-
-
- public ApplicationCampaignAnalyticsTotalDiscounts value(BigDecimal value) {
-
- this.value = value;
- return this;
- }
-
- /**
- * Get value
- * @return value
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "10.0", value = "")
-
- public BigDecimal getValue() {
- return value;
- }
-
-
- public void setValue(BigDecimal value) {
- this.value = value;
- }
-
-
- public ApplicationCampaignAnalyticsTotalDiscounts trend(BigDecimal trend) {
-
- this.trend = trend;
- return this;
- }
-
- /**
- * Get trend
- * @return trend
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "3.25", value = "")
-
- public BigDecimal getTrend() {
- return trend;
- }
-
-
- public void setTrend(BigDecimal trend) {
- this.trend = trend;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- ApplicationCampaignAnalyticsTotalDiscounts applicationCampaignAnalyticsTotalDiscounts = (ApplicationCampaignAnalyticsTotalDiscounts) o;
- return Objects.equals(this.value, applicationCampaignAnalyticsTotalDiscounts.value) &&
- Objects.equals(this.trend, applicationCampaignAnalyticsTotalDiscounts.trend);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(value, trend);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class ApplicationCampaignAnalyticsTotalDiscounts {\n");
- sb.append(" value: ").append(toIndentedString(value)).append("\n");
- sb.append(" trend: ").append(toIndentedString(trend)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/ApplicationCampaignAnalyticsTotalRevenue.java b/src/main/java/one/talon/model/ApplicationCampaignAnalyticsTotalRevenue.java
deleted file mode 100644
index c4c073b2..00000000
--- a/src/main/java/one/talon/model/ApplicationCampaignAnalyticsTotalRevenue.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-
-/**
- * The total, pre-discount value of all items purchased in a customer session.
- */
-@ApiModel(description = "The total, pre-discount value of all items purchased in a customer session.")
-
-public class ApplicationCampaignAnalyticsTotalRevenue {
- public static final String SERIALIZED_NAME_VALUE = "value";
- @SerializedName(SERIALIZED_NAME_VALUE)
- private BigDecimal value;
-
- public static final String SERIALIZED_NAME_INFLUENCE_RATE = "influence_rate";
- @SerializedName(SERIALIZED_NAME_INFLUENCE_RATE)
- private BigDecimal influenceRate;
-
- public static final String SERIALIZED_NAME_TREND = "trend";
- @SerializedName(SERIALIZED_NAME_TREND)
- private BigDecimal trend;
-
-
- public ApplicationCampaignAnalyticsTotalRevenue value(BigDecimal value) {
-
- this.value = value;
- return this;
- }
-
- /**
- * Get value
- * @return value
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "1.25", value = "")
-
- public BigDecimal getValue() {
- return value;
- }
-
-
- public void setValue(BigDecimal value) {
- this.value = value;
- }
-
-
- public ApplicationCampaignAnalyticsTotalRevenue influenceRate(BigDecimal influenceRate) {
-
- this.influenceRate = influenceRate;
- return this;
- }
-
- /**
- * Get influenceRate
- * @return influenceRate
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "3.25", value = "")
-
- public BigDecimal getInfluenceRate() {
- return influenceRate;
- }
-
-
- public void setInfluenceRate(BigDecimal influenceRate) {
- this.influenceRate = influenceRate;
- }
-
-
- public ApplicationCampaignAnalyticsTotalRevenue trend(BigDecimal trend) {
-
- this.trend = trend;
- return this;
- }
-
- /**
- * Get trend
- * @return trend
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "3.25", value = "")
-
- public BigDecimal getTrend() {
- return trend;
- }
-
-
- public void setTrend(BigDecimal trend) {
- this.trend = trend;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- ApplicationCampaignAnalyticsTotalRevenue applicationCampaignAnalyticsTotalRevenue = (ApplicationCampaignAnalyticsTotalRevenue) o;
- return Objects.equals(this.value, applicationCampaignAnalyticsTotalRevenue.value) &&
- Objects.equals(this.influenceRate, applicationCampaignAnalyticsTotalRevenue.influenceRate) &&
- Objects.equals(this.trend, applicationCampaignAnalyticsTotalRevenue.trend);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(value, influenceRate, trend);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class ApplicationCampaignAnalyticsTotalRevenue {\n");
- sb.append(" value: ").append(toIndentedString(value)).append("\n");
- sb.append(" influenceRate: ").append(toIndentedString(influenceRate)).append("\n");
- sb.append(" trend: ").append(toIndentedString(trend)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/ApplicationCustomer.java b/src/main/java/one/talon/model/ApplicationCustomer.java
index 7c44e8a9..d2934578 100644
--- a/src/main/java/one/talon/model/ApplicationCustomer.java
+++ b/src/main/java/one/talon/model/ApplicationCustomer.java
@@ -37,7 +37,7 @@
public class ApplicationCustomer {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -84,7 +84,7 @@ public class ApplicationCustomer {
private String advocateIntegrationId;
- public ApplicationCustomer id(Integer id) {
+ public ApplicationCustomer id(Long id) {
this.id = id;
return this;
@@ -96,12 +96,12 @@ public ApplicationCustomer id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/ApplicationEvent.java b/src/main/java/one/talon/model/ApplicationEvent.java
index d38977bd..1401f13a 100644
--- a/src/main/java/one/talon/model/ApplicationEvent.java
+++ b/src/main/java/one/talon/model/ApplicationEvent.java
@@ -36,7 +36,7 @@
public class ApplicationEvent {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -79,7 +79,7 @@ public class ApplicationEvent {
private List ruleFailureReasons = null;
- public ApplicationEvent id(Integer id) {
+ public ApplicationEvent id(Long id) {
this.id = id;
return this;
@@ -91,12 +91,12 @@ public ApplicationEvent id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/ApplicationSession.java b/src/main/java/one/talon/model/ApplicationSession.java
index 9d502a6c..606e9aff 100644
--- a/src/main/java/one/talon/model/ApplicationSession.java
+++ b/src/main/java/one/talon/model/ApplicationSession.java
@@ -38,7 +38,7 @@
public class ApplicationSession {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -148,7 +148,7 @@ public StateEnum read(final JsonReader jsonReader) throws IOException {
private Object attributes;
- public ApplicationSession id(Integer id) {
+ public ApplicationSession id(Long id) {
this.id = id;
return this;
@@ -160,12 +160,12 @@ public ApplicationSession id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/Attribute.java b/src/main/java/one/talon/model/Attribute.java
index 69a2a65e..c72b5f32 100644
--- a/src/main/java/one/talon/model/Attribute.java
+++ b/src/main/java/one/talon/model/Attribute.java
@@ -34,7 +34,7 @@
public class Attribute {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -272,7 +272,7 @@ public AllowedSubscriptionsEnum read(final JsonReader jsonReader) throws IOExcep
private Integer eventTypeId;
- public Attribute id(Integer id) {
+ public Attribute id(Long id) {
this.id = id;
return this;
@@ -284,12 +284,12 @@ public Attribute id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/Audience.java b/src/main/java/one/talon/model/Audience.java
index 52fde4a9..c8f1de68 100644
--- a/src/main/java/one/talon/model/Audience.java
+++ b/src/main/java/one/talon/model/Audience.java
@@ -36,7 +36,7 @@ public class Audience {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -93,7 +93,7 @@ public void setAccountId(Integer accountId) {
}
- public Audience id(Integer id) {
+ public Audience id(Long id) {
this.id = id;
return this;
@@ -105,12 +105,12 @@ public Audience id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/AudienceCustomer.java b/src/main/java/one/talon/model/AudienceCustomer.java
index 6bcea89a..12ff4b98 100644
--- a/src/main/java/one/talon/model/AudienceCustomer.java
+++ b/src/main/java/one/talon/model/AudienceCustomer.java
@@ -37,7 +37,7 @@
public class AudienceCustomer {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -88,7 +88,7 @@ public class AudienceCustomer {
private List connectedAudiences = null;
- public AudienceCustomer id(Integer id) {
+ public AudienceCustomer id(Long id) {
this.id = id;
return this;
@@ -100,12 +100,12 @@ public AudienceCustomer id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/BaseCampaignForNotification.java b/src/main/java/one/talon/model/BaseCampaignForNotification.java
deleted file mode 100644
index 3f314c58..00000000
--- a/src/main/java/one/talon/model/BaseCampaignForNotification.java
+++ /dev/null
@@ -1,722 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-import one.talon.model.CodeGeneratorSettings;
-import one.talon.model.LimitConfig;
-import org.threeten.bp.OffsetDateTime;
-
-/**
- * BaseCampaignForNotification
- */
-
-public class BaseCampaignForNotification {
- public static final String SERIALIZED_NAME_NAME = "name";
- @SerializedName(SERIALIZED_NAME_NAME)
- private String name;
-
- public static final String SERIALIZED_NAME_DESCRIPTION = "description";
- @SerializedName(SERIALIZED_NAME_DESCRIPTION)
- private String description;
-
- public static final String SERIALIZED_NAME_START_TIME = "startTime";
- @SerializedName(SERIALIZED_NAME_START_TIME)
- private OffsetDateTime startTime;
-
- public static final String SERIALIZED_NAME_END_TIME = "endTime";
- @SerializedName(SERIALIZED_NAME_END_TIME)
- private OffsetDateTime endTime;
-
- public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
- @SerializedName(SERIALIZED_NAME_ATTRIBUTES)
- private Object attributes;
-
- /**
- * A disabled or archived campaign is not evaluated for rules or coupons.
- */
- @JsonAdapter(StateEnum.Adapter.class)
- public enum StateEnum {
- ENABLED("enabled"),
-
- DISABLED("disabled"),
-
- ARCHIVED("archived"),
-
- DRAFT("draft"),
-
- SCHEDULED("scheduled"),
-
- RUNNING("running"),
-
- EXPIRED("expired");
-
- private String value;
-
- StateEnum(String value) {
- this.value = value;
- }
-
- public String getValue() {
- return value;
- }
-
- @Override
- public String toString() {
- return String.valueOf(value);
- }
-
- public static StateEnum fromValue(String value) {
- for (StateEnum b : StateEnum.values()) {
- if (b.value.equals(value)) {
- return b;
- }
- }
- throw new IllegalArgumentException("Unexpected value '" + value + "'");
- }
-
- public static class Adapter extends TypeAdapter {
- @Override
- public void write(final JsonWriter jsonWriter, final StateEnum enumeration) throws IOException {
- jsonWriter.value(enumeration.getValue());
- }
-
- @Override
- public StateEnum read(final JsonReader jsonReader) throws IOException {
- String value = jsonReader.nextString();
- return StateEnum.fromValue(value);
- }
- }
- }
-
- public static final String SERIALIZED_NAME_STATE = "state";
- @SerializedName(SERIALIZED_NAME_STATE)
- private StateEnum state = StateEnum.ENABLED;
-
- public static final String SERIALIZED_NAME_ACTIVE_RULESET_ID = "activeRulesetId";
- @SerializedName(SERIALIZED_NAME_ACTIVE_RULESET_ID)
- private Integer activeRulesetId;
-
- public static final String SERIALIZED_NAME_TAGS = "tags";
- @SerializedName(SERIALIZED_NAME_TAGS)
- private List tags = new ArrayList();
-
- /**
- * Gets or Sets features
- */
- @JsonAdapter(FeaturesEnum.Adapter.class)
- public enum FeaturesEnum {
- COUPONS("coupons"),
-
- REFERRALS("referrals"),
-
- LOYALTY("loyalty"),
-
- GIVEAWAYS("giveaways"),
-
- STRIKETHROUGH("strikethrough");
-
- private String value;
-
- FeaturesEnum(String value) {
- this.value = value;
- }
-
- public String getValue() {
- return value;
- }
-
- @Override
- public String toString() {
- return String.valueOf(value);
- }
-
- public static FeaturesEnum fromValue(String value) {
- for (FeaturesEnum b : FeaturesEnum.values()) {
- if (b.value.equals(value)) {
- return b;
- }
- }
- throw new IllegalArgumentException("Unexpected value '" + value + "'");
- }
-
- public static class Adapter extends TypeAdapter {
- @Override
- public void write(final JsonWriter jsonWriter, final FeaturesEnum enumeration) throws IOException {
- jsonWriter.value(enumeration.getValue());
- }
-
- @Override
- public FeaturesEnum read(final JsonReader jsonReader) throws IOException {
- String value = jsonReader.nextString();
- return FeaturesEnum.fromValue(value);
- }
- }
- }
-
- public static final String SERIALIZED_NAME_FEATURES = "features";
- @SerializedName(SERIALIZED_NAME_FEATURES)
- private List features = new ArrayList();
-
- public static final String SERIALIZED_NAME_COUPON_SETTINGS = "couponSettings";
- @SerializedName(SERIALIZED_NAME_COUPON_SETTINGS)
- private CodeGeneratorSettings couponSettings;
-
- public static final String SERIALIZED_NAME_REFERRAL_SETTINGS = "referralSettings";
- @SerializedName(SERIALIZED_NAME_REFERRAL_SETTINGS)
- private CodeGeneratorSettings referralSettings;
-
- public static final String SERIALIZED_NAME_LIMITS = "limits";
- @SerializedName(SERIALIZED_NAME_LIMITS)
- private List limits = new ArrayList();
-
- public static final String SERIALIZED_NAME_CAMPAIGN_GROUPS = "campaignGroups";
- @SerializedName(SERIALIZED_NAME_CAMPAIGN_GROUPS)
- private List campaignGroups = null;
-
- public static final String SERIALIZED_NAME_EVALUATION_GROUP_ID = "evaluationGroupId";
- @SerializedName(SERIALIZED_NAME_EVALUATION_GROUP_ID)
- private Integer evaluationGroupId;
-
- /**
- * The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items.
- */
- @JsonAdapter(TypeEnum.Adapter.class)
- public enum TypeEnum {
- CARTITEM("cartItem"),
-
- ADVANCED("advanced");
-
- private String value;
-
- TypeEnum(String value) {
- this.value = value;
- }
-
- public String getValue() {
- return value;
- }
-
- @Override
- public String toString() {
- return String.valueOf(value);
- }
-
- public static TypeEnum fromValue(String value) {
- for (TypeEnum b : TypeEnum.values()) {
- if (b.value.equals(value)) {
- return b;
- }
- }
- throw new IllegalArgumentException("Unexpected value '" + value + "'");
- }
-
- public static class Adapter extends TypeAdapter {
- @Override
- public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException {
- jsonWriter.value(enumeration.getValue());
- }
-
- @Override
- public TypeEnum read(final JsonReader jsonReader) throws IOException {
- String value = jsonReader.nextString();
- return TypeEnum.fromValue(value);
- }
- }
- }
-
- public static final String SERIALIZED_NAME_TYPE = "type";
- @SerializedName(SERIALIZED_NAME_TYPE)
- private TypeEnum type = TypeEnum.ADVANCED;
-
- public static final String SERIALIZED_NAME_LINKED_STORE_IDS = "linkedStoreIds";
- @SerializedName(SERIALIZED_NAME_LINKED_STORE_IDS)
- private List linkedStoreIds = null;
-
-
- public BaseCampaignForNotification name(String name) {
-
- this.name = name;
- return this;
- }
-
- /**
- * A user-facing name for this campaign.
- * @return name
- **/
- @ApiModelProperty(example = "Summer promotions", required = true, value = "A user-facing name for this campaign.")
-
- public String getName() {
- return name;
- }
-
-
- public void setName(String name) {
- this.name = name;
- }
-
-
- public BaseCampaignForNotification description(String description) {
-
- this.description = description;
- return this;
- }
-
- /**
- * A detailed description of the campaign.
- * @return description
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "Campaign for all summer 2021 promotions", value = "A detailed description of the campaign.")
-
- public String getDescription() {
- return description;
- }
-
-
- public void setDescription(String description) {
- this.description = description;
- }
-
-
- public BaseCampaignForNotification startTime(OffsetDateTime startTime) {
-
- this.startTime = startTime;
- return this;
- }
-
- /**
- * Timestamp when the campaign will become active.
- * @return startTime
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "2021-07-20T22:00Z", value = "Timestamp when the campaign will become active.")
-
- public OffsetDateTime getStartTime() {
- return startTime;
- }
-
-
- public void setStartTime(OffsetDateTime startTime) {
- this.startTime = startTime;
- }
-
-
- public BaseCampaignForNotification endTime(OffsetDateTime endTime) {
-
- this.endTime = endTime;
- return this;
- }
-
- /**
- * Timestamp when the campaign will become inactive.
- * @return endTime
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "2021-09-22T22:00Z", value = "Timestamp when the campaign will become inactive.")
-
- public OffsetDateTime getEndTime() {
- return endTime;
- }
-
-
- public void setEndTime(OffsetDateTime endTime) {
- this.endTime = endTime;
- }
-
-
- public BaseCampaignForNotification attributes(Object attributes) {
-
- this.attributes = attributes;
- return this;
- }
-
- /**
- * Arbitrary properties associated with this campaign.
- * @return attributes
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "Arbitrary properties associated with this campaign.")
-
- public Object getAttributes() {
- return attributes;
- }
-
-
- public void setAttributes(Object attributes) {
- this.attributes = attributes;
- }
-
-
- public BaseCampaignForNotification state(StateEnum state) {
-
- this.state = state;
- return this;
- }
-
- /**
- * A disabled or archived campaign is not evaluated for rules or coupons.
- * @return state
- **/
- @ApiModelProperty(example = "enabled", required = true, value = "A disabled or archived campaign is not evaluated for rules or coupons. ")
-
- public StateEnum getState() {
- return state;
- }
-
-
- public void setState(StateEnum state) {
- this.state = state;
- }
-
-
- public BaseCampaignForNotification activeRulesetId(Integer activeRulesetId) {
-
- this.activeRulesetId = activeRulesetId;
- return this;
- }
-
- /**
- * [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation.
- * @return activeRulesetId
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "6", value = "[ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. ")
-
- public Integer getActiveRulesetId() {
- return activeRulesetId;
- }
-
-
- public void setActiveRulesetId(Integer activeRulesetId) {
- this.activeRulesetId = activeRulesetId;
- }
-
-
- public BaseCampaignForNotification tags(List tags) {
-
- this.tags = tags;
- return this;
- }
-
- public BaseCampaignForNotification addTagsItem(String tagsItem) {
- this.tags.add(tagsItem);
- return this;
- }
-
- /**
- * A list of tags for the campaign.
- * @return tags
- **/
- @ApiModelProperty(example = "[summer]", required = true, value = "A list of tags for the campaign.")
-
- public List getTags() {
- return tags;
- }
-
-
- public void setTags(List tags) {
- this.tags = tags;
- }
-
-
- public BaseCampaignForNotification features(List features) {
-
- this.features = features;
- return this;
- }
-
- public BaseCampaignForNotification addFeaturesItem(FeaturesEnum featuresItem) {
- this.features.add(featuresItem);
- return this;
- }
-
- /**
- * The features enabled in this campaign.
- * @return features
- **/
- @ApiModelProperty(example = "[coupons, referrals]", required = true, value = "The features enabled in this campaign.")
-
- public List getFeatures() {
- return features;
- }
-
-
- public void setFeatures(List features) {
- this.features = features;
- }
-
-
- public BaseCampaignForNotification couponSettings(CodeGeneratorSettings couponSettings) {
-
- this.couponSettings = couponSettings;
- return this;
- }
-
- /**
- * Get couponSettings
- * @return couponSettings
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "")
-
- public CodeGeneratorSettings getCouponSettings() {
- return couponSettings;
- }
-
-
- public void setCouponSettings(CodeGeneratorSettings couponSettings) {
- this.couponSettings = couponSettings;
- }
-
-
- public BaseCampaignForNotification referralSettings(CodeGeneratorSettings referralSettings) {
-
- this.referralSettings = referralSettings;
- return this;
- }
-
- /**
- * Get referralSettings
- * @return referralSettings
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "")
-
- public CodeGeneratorSettings getReferralSettings() {
- return referralSettings;
- }
-
-
- public void setReferralSettings(CodeGeneratorSettings referralSettings) {
- this.referralSettings = referralSettings;
- }
-
-
- public BaseCampaignForNotification limits(List limits) {
-
- this.limits = limits;
- return this;
- }
-
- public BaseCampaignForNotification addLimitsItem(LimitConfig limitsItem) {
- this.limits.add(limitsItem);
- return this;
- }
-
- /**
- * The set of [budget limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets) for this campaign.
- * @return limits
- **/
- @ApiModelProperty(required = true, value = "The set of [budget limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets) for this campaign. ")
-
- public List getLimits() {
- return limits;
- }
-
-
- public void setLimits(List limits) {
- this.limits = limits;
- }
-
-
- public BaseCampaignForNotification campaignGroups(List campaignGroups) {
-
- this.campaignGroups = campaignGroups;
- return this;
- }
-
- public BaseCampaignForNotification addCampaignGroupsItem(Integer campaignGroupsItem) {
- if (this.campaignGroups == null) {
- this.campaignGroups = new ArrayList();
- }
- this.campaignGroups.add(campaignGroupsItem);
- return this;
- }
-
- /**
- * The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to.
- * @return campaignGroups
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "[1, 3]", value = "The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. ")
-
- public List getCampaignGroups() {
- return campaignGroups;
- }
-
-
- public void setCampaignGroups(List campaignGroups) {
- this.campaignGroups = campaignGroups;
- }
-
-
- public BaseCampaignForNotification evaluationGroupId(Integer evaluationGroupId) {
-
- this.evaluationGroupId = evaluationGroupId;
- return this;
- }
-
- /**
- * The ID of the campaign evaluation group the campaign belongs to.
- * @return evaluationGroupId
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "2", value = "The ID of the campaign evaluation group the campaign belongs to.")
-
- public Integer getEvaluationGroupId() {
- return evaluationGroupId;
- }
-
-
- public void setEvaluationGroupId(Integer evaluationGroupId) {
- this.evaluationGroupId = evaluationGroupId;
- }
-
-
- public BaseCampaignForNotification type(TypeEnum type) {
-
- this.type = type;
- return this;
- }
-
- /**
- * The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items.
- * @return type
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "advanced", value = "The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. ")
-
- public TypeEnum getType() {
- return type;
- }
-
-
- public void setType(TypeEnum type) {
- this.type = type;
- }
-
-
- public BaseCampaignForNotification linkedStoreIds(List linkedStoreIds) {
-
- this.linkedStoreIds = linkedStoreIds;
- return this;
- }
-
- public BaseCampaignForNotification addLinkedStoreIdsItem(Integer linkedStoreIdsItem) {
- if (this.linkedStoreIds == null) {
- this.linkedStoreIds = new ArrayList();
- }
- this.linkedStoreIds.add(linkedStoreIdsItem);
- return this;
- }
-
- /**
- * A list of store IDs that are linked to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store.
- * @return linkedStoreIds
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "[1, 2, 3]", value = "A list of store IDs that are linked to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. ")
-
- public List getLinkedStoreIds() {
- return linkedStoreIds;
- }
-
-
- public void setLinkedStoreIds(List linkedStoreIds) {
- this.linkedStoreIds = linkedStoreIds;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- BaseCampaignForNotification baseCampaignForNotification = (BaseCampaignForNotification) o;
- return Objects.equals(this.name, baseCampaignForNotification.name) &&
- Objects.equals(this.description, baseCampaignForNotification.description) &&
- Objects.equals(this.startTime, baseCampaignForNotification.startTime) &&
- Objects.equals(this.endTime, baseCampaignForNotification.endTime) &&
- Objects.equals(this.attributes, baseCampaignForNotification.attributes) &&
- Objects.equals(this.state, baseCampaignForNotification.state) &&
- Objects.equals(this.activeRulesetId, baseCampaignForNotification.activeRulesetId) &&
- Objects.equals(this.tags, baseCampaignForNotification.tags) &&
- Objects.equals(this.features, baseCampaignForNotification.features) &&
- Objects.equals(this.couponSettings, baseCampaignForNotification.couponSettings) &&
- Objects.equals(this.referralSettings, baseCampaignForNotification.referralSettings) &&
- Objects.equals(this.limits, baseCampaignForNotification.limits) &&
- Objects.equals(this.campaignGroups, baseCampaignForNotification.campaignGroups) &&
- Objects.equals(this.evaluationGroupId, baseCampaignForNotification.evaluationGroupId) &&
- Objects.equals(this.type, baseCampaignForNotification.type) &&
- Objects.equals(this.linkedStoreIds, baseCampaignForNotification.linkedStoreIds);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(name, description, startTime, endTime, attributes, state, activeRulesetId, tags, features, couponSettings, referralSettings, limits, campaignGroups, evaluationGroupId, type, linkedStoreIds);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class BaseCampaignForNotification {\n");
- sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" description: ").append(toIndentedString(description)).append("\n");
- sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n");
- sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n");
- sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" activeRulesetId: ").append(toIndentedString(activeRulesetId)).append("\n");
- sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
- sb.append(" features: ").append(toIndentedString(features)).append("\n");
- sb.append(" couponSettings: ").append(toIndentedString(couponSettings)).append("\n");
- sb.append(" referralSettings: ").append(toIndentedString(referralSettings)).append("\n");
- sb.append(" limits: ").append(toIndentedString(limits)).append("\n");
- sb.append(" campaignGroups: ").append(toIndentedString(campaignGroups)).append("\n");
- sb.append(" evaluationGroupId: ").append(toIndentedString(evaluationGroupId)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
- sb.append(" linkedStoreIds: ").append(toIndentedString(linkedStoreIds)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/BaseNotificationWebhook.java b/src/main/java/one/talon/model/BaseNotificationWebhook.java
index 1c1ef0c1..25ab6375 100644
--- a/src/main/java/one/talon/model/BaseNotificationWebhook.java
+++ b/src/main/java/one/talon/model/BaseNotificationWebhook.java
@@ -34,7 +34,7 @@
public class BaseNotificationWebhook {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -57,7 +57,7 @@ public class BaseNotificationWebhook {
private Boolean enabled = true;
- public BaseNotificationWebhook id(Integer id) {
+ public BaseNotificationWebhook id(Long id) {
this.id = id;
return this;
@@ -69,12 +69,12 @@ public BaseNotificationWebhook id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/CampaignCollection.java b/src/main/java/one/talon/model/CampaignCollection.java
index 80cdce71..7f4878d2 100644
--- a/src/main/java/one/talon/model/CampaignCollection.java
+++ b/src/main/java/one/talon/model/CampaignCollection.java
@@ -34,7 +34,7 @@
public class CampaignCollection {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -77,7 +77,7 @@ public class CampaignCollection {
private List payload = null;
- public CampaignCollection id(Integer id) {
+ public CampaignCollection id(Long id) {
this.id = id;
return this;
@@ -89,12 +89,12 @@ public CampaignCollection id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/CampaignCollectionWithoutPayload.java b/src/main/java/one/talon/model/CampaignCollectionWithoutPayload.java
index b27607c7..b0efadc9 100644
--- a/src/main/java/one/talon/model/CampaignCollectionWithoutPayload.java
+++ b/src/main/java/one/talon/model/CampaignCollectionWithoutPayload.java
@@ -32,7 +32,7 @@
public class CampaignCollectionWithoutPayload {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -71,7 +71,7 @@ public class CampaignCollectionWithoutPayload {
private Integer campaignId;
- public CampaignCollectionWithoutPayload id(Integer id) {
+ public CampaignCollectionWithoutPayload id(Long id) {
this.id = id;
return this;
@@ -83,12 +83,12 @@ public CampaignCollectionWithoutPayload id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/CampaignForNotification.java b/src/main/java/one/talon/model/CampaignForNotification.java
deleted file mode 100644
index fb3ffb10..00000000
--- a/src/main/java/one/talon/model/CampaignForNotification.java
+++ /dev/null
@@ -1,1448 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-import java.util.ArrayList;
-import java.util.List;
-import one.talon.model.CampaignBudget;
-import one.talon.model.CodeGeneratorSettings;
-import one.talon.model.LimitConfig;
-import org.threeten.bp.OffsetDateTime;
-
-/**
- *
- */
-@ApiModel(description = "")
-
-public class CampaignForNotification {
- public static final String SERIALIZED_NAME_ID = "id";
- @SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
-
- public static final String SERIALIZED_NAME_CREATED = "created";
- @SerializedName(SERIALIZED_NAME_CREATED)
- private OffsetDateTime created;
-
- public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId";
- @SerializedName(SERIALIZED_NAME_APPLICATION_ID)
- private Integer applicationId;
-
- public static final String SERIALIZED_NAME_USER_ID = "userId";
- @SerializedName(SERIALIZED_NAME_USER_ID)
- private Integer userId;
-
- public static final String SERIALIZED_NAME_NAME = "name";
- @SerializedName(SERIALIZED_NAME_NAME)
- private String name;
-
- public static final String SERIALIZED_NAME_DESCRIPTION = "description";
- @SerializedName(SERIALIZED_NAME_DESCRIPTION)
- private String description;
-
- public static final String SERIALIZED_NAME_START_TIME = "startTime";
- @SerializedName(SERIALIZED_NAME_START_TIME)
- private OffsetDateTime startTime;
-
- public static final String SERIALIZED_NAME_END_TIME = "endTime";
- @SerializedName(SERIALIZED_NAME_END_TIME)
- private OffsetDateTime endTime;
-
- public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
- @SerializedName(SERIALIZED_NAME_ATTRIBUTES)
- private Object attributes;
-
- /**
- * A disabled or archived campaign is not evaluated for rules or coupons.
- */
- @JsonAdapter(StateEnum.Adapter.class)
- public enum StateEnum {
- ENABLED("enabled"),
-
- DISABLED("disabled"),
-
- ARCHIVED("archived"),
-
- DRAFT("draft"),
-
- SCHEDULED("scheduled"),
-
- RUNNING("running"),
-
- EXPIRED("expired");
-
- private String value;
-
- StateEnum(String value) {
- this.value = value;
- }
-
- public String getValue() {
- return value;
- }
-
- @Override
- public String toString() {
- return String.valueOf(value);
- }
-
- public static StateEnum fromValue(String value) {
- for (StateEnum b : StateEnum.values()) {
- if (b.value.equals(value)) {
- return b;
- }
- }
- throw new IllegalArgumentException("Unexpected value '" + value + "'");
- }
-
- public static class Adapter extends TypeAdapter {
- @Override
- public void write(final JsonWriter jsonWriter, final StateEnum enumeration) throws IOException {
- jsonWriter.value(enumeration.getValue());
- }
-
- @Override
- public StateEnum read(final JsonReader jsonReader) throws IOException {
- String value = jsonReader.nextString();
- return StateEnum.fromValue(value);
- }
- }
- }
-
- public static final String SERIALIZED_NAME_STATE = "state";
- @SerializedName(SERIALIZED_NAME_STATE)
- private StateEnum state = StateEnum.ENABLED;
-
- public static final String SERIALIZED_NAME_ACTIVE_RULESET_ID = "activeRulesetId";
- @SerializedName(SERIALIZED_NAME_ACTIVE_RULESET_ID)
- private Integer activeRulesetId;
-
- public static final String SERIALIZED_NAME_TAGS = "tags";
- @SerializedName(SERIALIZED_NAME_TAGS)
- private List tags = new ArrayList();
-
- /**
- * Gets or Sets features
- */
- @JsonAdapter(FeaturesEnum.Adapter.class)
- public enum FeaturesEnum {
- COUPONS("coupons"),
-
- REFERRALS("referrals"),
-
- LOYALTY("loyalty"),
-
- GIVEAWAYS("giveaways"),
-
- STRIKETHROUGH("strikethrough");
-
- private String value;
-
- FeaturesEnum(String value) {
- this.value = value;
- }
-
- public String getValue() {
- return value;
- }
-
- @Override
- public String toString() {
- return String.valueOf(value);
- }
-
- public static FeaturesEnum fromValue(String value) {
- for (FeaturesEnum b : FeaturesEnum.values()) {
- if (b.value.equals(value)) {
- return b;
- }
- }
- throw new IllegalArgumentException("Unexpected value '" + value + "'");
- }
-
- public static class Adapter extends TypeAdapter {
- @Override
- public void write(final JsonWriter jsonWriter, final FeaturesEnum enumeration) throws IOException {
- jsonWriter.value(enumeration.getValue());
- }
-
- @Override
- public FeaturesEnum read(final JsonReader jsonReader) throws IOException {
- String value = jsonReader.nextString();
- return FeaturesEnum.fromValue(value);
- }
- }
- }
-
- public static final String SERIALIZED_NAME_FEATURES = "features";
- @SerializedName(SERIALIZED_NAME_FEATURES)
- private List features = new ArrayList();
-
- public static final String SERIALIZED_NAME_COUPON_SETTINGS = "couponSettings";
- @SerializedName(SERIALIZED_NAME_COUPON_SETTINGS)
- private CodeGeneratorSettings couponSettings;
-
- public static final String SERIALIZED_NAME_REFERRAL_SETTINGS = "referralSettings";
- @SerializedName(SERIALIZED_NAME_REFERRAL_SETTINGS)
- private CodeGeneratorSettings referralSettings;
-
- public static final String SERIALIZED_NAME_LIMITS = "limits";
- @SerializedName(SERIALIZED_NAME_LIMITS)
- private List limits = new ArrayList();
-
- public static final String SERIALIZED_NAME_CAMPAIGN_GROUPS = "campaignGroups";
- @SerializedName(SERIALIZED_NAME_CAMPAIGN_GROUPS)
- private List campaignGroups = null;
-
- public static final String SERIALIZED_NAME_EVALUATION_GROUP_ID = "evaluationGroupId";
- @SerializedName(SERIALIZED_NAME_EVALUATION_GROUP_ID)
- private Integer evaluationGroupId;
-
- /**
- * The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items.
- */
- @JsonAdapter(TypeEnum.Adapter.class)
- public enum TypeEnum {
- CARTITEM("cartItem"),
-
- ADVANCED("advanced");
-
- private String value;
-
- TypeEnum(String value) {
- this.value = value;
- }
-
- public String getValue() {
- return value;
- }
-
- @Override
- public String toString() {
- return String.valueOf(value);
- }
-
- public static TypeEnum fromValue(String value) {
- for (TypeEnum b : TypeEnum.values()) {
- if (b.value.equals(value)) {
- return b;
- }
- }
- throw new IllegalArgumentException("Unexpected value '" + value + "'");
- }
-
- public static class Adapter extends TypeAdapter {
- @Override
- public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException {
- jsonWriter.value(enumeration.getValue());
- }
-
- @Override
- public TypeEnum read(final JsonReader jsonReader) throws IOException {
- String value = jsonReader.nextString();
- return TypeEnum.fromValue(value);
- }
- }
- }
-
- public static final String SERIALIZED_NAME_TYPE = "type";
- @SerializedName(SERIALIZED_NAME_TYPE)
- private TypeEnum type = TypeEnum.ADVANCED;
-
- public static final String SERIALIZED_NAME_LINKED_STORE_IDS = "linkedStoreIds";
- @SerializedName(SERIALIZED_NAME_LINKED_STORE_IDS)
- private List linkedStoreIds = null;
-
- public static final String SERIALIZED_NAME_BUDGETS = "budgets";
- @SerializedName(SERIALIZED_NAME_BUDGETS)
- private List budgets = new ArrayList();
-
- public static final String SERIALIZED_NAME_COUPON_REDEMPTION_COUNT = "couponRedemptionCount";
- @SerializedName(SERIALIZED_NAME_COUPON_REDEMPTION_COUNT)
- private Integer couponRedemptionCount;
-
- public static final String SERIALIZED_NAME_REFERRAL_REDEMPTION_COUNT = "referralRedemptionCount";
- @SerializedName(SERIALIZED_NAME_REFERRAL_REDEMPTION_COUNT)
- private Integer referralRedemptionCount;
-
- public static final String SERIALIZED_NAME_DISCOUNT_COUNT = "discountCount";
- @SerializedName(SERIALIZED_NAME_DISCOUNT_COUNT)
- private BigDecimal discountCount;
-
- public static final String SERIALIZED_NAME_DISCOUNT_EFFECT_COUNT = "discountEffectCount";
- @SerializedName(SERIALIZED_NAME_DISCOUNT_EFFECT_COUNT)
- private Integer discountEffectCount;
-
- public static final String SERIALIZED_NAME_COUPON_CREATION_COUNT = "couponCreationCount";
- @SerializedName(SERIALIZED_NAME_COUPON_CREATION_COUNT)
- private Integer couponCreationCount;
-
- public static final String SERIALIZED_NAME_CUSTOM_EFFECT_COUNT = "customEffectCount";
- @SerializedName(SERIALIZED_NAME_CUSTOM_EFFECT_COUNT)
- private Integer customEffectCount;
-
- public static final String SERIALIZED_NAME_REFERRAL_CREATION_COUNT = "referralCreationCount";
- @SerializedName(SERIALIZED_NAME_REFERRAL_CREATION_COUNT)
- private Integer referralCreationCount;
-
- public static final String SERIALIZED_NAME_ADD_FREE_ITEM_EFFECT_COUNT = "addFreeItemEffectCount";
- @SerializedName(SERIALIZED_NAME_ADD_FREE_ITEM_EFFECT_COUNT)
- private Integer addFreeItemEffectCount;
-
- public static final String SERIALIZED_NAME_AWARDED_GIVEAWAYS_COUNT = "awardedGiveawaysCount";
- @SerializedName(SERIALIZED_NAME_AWARDED_GIVEAWAYS_COUNT)
- private Integer awardedGiveawaysCount;
-
- public static final String SERIALIZED_NAME_CREATED_LOYALTY_POINTS_COUNT = "createdLoyaltyPointsCount";
- @SerializedName(SERIALIZED_NAME_CREATED_LOYALTY_POINTS_COUNT)
- private BigDecimal createdLoyaltyPointsCount;
-
- public static final String SERIALIZED_NAME_CREATED_LOYALTY_POINTS_EFFECT_COUNT = "createdLoyaltyPointsEffectCount";
- @SerializedName(SERIALIZED_NAME_CREATED_LOYALTY_POINTS_EFFECT_COUNT)
- private Integer createdLoyaltyPointsEffectCount;
-
- public static final String SERIALIZED_NAME_REDEEMED_LOYALTY_POINTS_COUNT = "redeemedLoyaltyPointsCount";
- @SerializedName(SERIALIZED_NAME_REDEEMED_LOYALTY_POINTS_COUNT)
- private BigDecimal redeemedLoyaltyPointsCount;
-
- public static final String SERIALIZED_NAME_REDEEMED_LOYALTY_POINTS_EFFECT_COUNT = "redeemedLoyaltyPointsEffectCount";
- @SerializedName(SERIALIZED_NAME_REDEEMED_LOYALTY_POINTS_EFFECT_COUNT)
- private Integer redeemedLoyaltyPointsEffectCount;
-
- public static final String SERIALIZED_NAME_CALL_API_EFFECT_COUNT = "callApiEffectCount";
- @SerializedName(SERIALIZED_NAME_CALL_API_EFFECT_COUNT)
- private Integer callApiEffectCount;
-
- public static final String SERIALIZED_NAME_RESERVECOUPON_EFFECT_COUNT = "reservecouponEffectCount";
- @SerializedName(SERIALIZED_NAME_RESERVECOUPON_EFFECT_COUNT)
- private Integer reservecouponEffectCount;
-
- public static final String SERIALIZED_NAME_LAST_ACTIVITY = "lastActivity";
- @SerializedName(SERIALIZED_NAME_LAST_ACTIVITY)
- private OffsetDateTime lastActivity;
-
- public static final String SERIALIZED_NAME_UPDATED = "updated";
- @SerializedName(SERIALIZED_NAME_UPDATED)
- private OffsetDateTime updated;
-
- public static final String SERIALIZED_NAME_CREATED_BY = "createdBy";
- @SerializedName(SERIALIZED_NAME_CREATED_BY)
- private String createdBy;
-
- public static final String SERIALIZED_NAME_UPDATED_BY = "updatedBy";
- @SerializedName(SERIALIZED_NAME_UPDATED_BY)
- private String updatedBy;
-
- public static final String SERIALIZED_NAME_TEMPLATE_ID = "templateId";
- @SerializedName(SERIALIZED_NAME_TEMPLATE_ID)
- private Integer templateId;
-
-
- public CampaignForNotification id(Integer id) {
-
- this.id = id;
- return this;
- }
-
- /**
- * Unique ID for this entity.
- * @return id
- **/
- @ApiModelProperty(example = "4", required = true, value = "Unique ID for this entity.")
-
- public Integer getId() {
- return id;
- }
-
-
- public void setId(Integer id) {
- this.id = id;
- }
-
-
- public CampaignForNotification created(OffsetDateTime created) {
-
- this.created = created;
- return this;
- }
-
- /**
- * The exact moment this entity was created.
- * @return created
- **/
- @ApiModelProperty(example = "2020-06-10T09:05:27.993483Z", required = true, value = "The exact moment this entity was created.")
-
- public OffsetDateTime getCreated() {
- return created;
- }
-
-
- public void setCreated(OffsetDateTime created) {
- this.created = created;
- }
-
-
- public CampaignForNotification applicationId(Integer applicationId) {
-
- this.applicationId = applicationId;
- return this;
- }
-
- /**
- * The ID of the application that owns this entity.
- * @return applicationId
- **/
- @ApiModelProperty(example = "322", required = true, value = "The ID of the application that owns this entity.")
-
- public Integer getApplicationId() {
- return applicationId;
- }
-
-
- public void setApplicationId(Integer applicationId) {
- this.applicationId = applicationId;
- }
-
-
- public CampaignForNotification userId(Integer userId) {
-
- this.userId = userId;
- return this;
- }
-
- /**
- * The ID of the user associated with this entity.
- * @return userId
- **/
- @ApiModelProperty(example = "388", required = true, value = "The ID of the user associated with this entity.")
-
- public Integer getUserId() {
- return userId;
- }
-
-
- public void setUserId(Integer userId) {
- this.userId = userId;
- }
-
-
- public CampaignForNotification name(String name) {
-
- this.name = name;
- return this;
- }
-
- /**
- * A user-facing name for this campaign.
- * @return name
- **/
- @ApiModelProperty(example = "Summer promotions", required = true, value = "A user-facing name for this campaign.")
-
- public String getName() {
- return name;
- }
-
-
- public void setName(String name) {
- this.name = name;
- }
-
-
- public CampaignForNotification description(String description) {
-
- this.description = description;
- return this;
- }
-
- /**
- * A detailed description of the campaign.
- * @return description
- **/
- @ApiModelProperty(example = "Campaign for all summer 2021 promotions", required = true, value = "A detailed description of the campaign.")
-
- public String getDescription() {
- return description;
- }
-
-
- public void setDescription(String description) {
- this.description = description;
- }
-
-
- public CampaignForNotification startTime(OffsetDateTime startTime) {
-
- this.startTime = startTime;
- return this;
- }
-
- /**
- * Timestamp when the campaign will become active.
- * @return startTime
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "2021-07-20T22:00Z", value = "Timestamp when the campaign will become active.")
-
- public OffsetDateTime getStartTime() {
- return startTime;
- }
-
-
- public void setStartTime(OffsetDateTime startTime) {
- this.startTime = startTime;
- }
-
-
- public CampaignForNotification endTime(OffsetDateTime endTime) {
-
- this.endTime = endTime;
- return this;
- }
-
- /**
- * Timestamp when the campaign will become inactive.
- * @return endTime
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "2021-09-22T22:00Z", value = "Timestamp when the campaign will become inactive.")
-
- public OffsetDateTime getEndTime() {
- return endTime;
- }
-
-
- public void setEndTime(OffsetDateTime endTime) {
- this.endTime = endTime;
- }
-
-
- public CampaignForNotification attributes(Object attributes) {
-
- this.attributes = attributes;
- return this;
- }
-
- /**
- * Arbitrary properties associated with this campaign.
- * @return attributes
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "Arbitrary properties associated with this campaign.")
-
- public Object getAttributes() {
- return attributes;
- }
-
-
- public void setAttributes(Object attributes) {
- this.attributes = attributes;
- }
-
-
- public CampaignForNotification state(StateEnum state) {
-
- this.state = state;
- return this;
- }
-
- /**
- * A disabled or archived campaign is not evaluated for rules or coupons.
- * @return state
- **/
- @ApiModelProperty(example = "enabled", required = true, value = "A disabled or archived campaign is not evaluated for rules or coupons. ")
-
- public StateEnum getState() {
- return state;
- }
-
-
- public void setState(StateEnum state) {
- this.state = state;
- }
-
-
- public CampaignForNotification activeRulesetId(Integer activeRulesetId) {
-
- this.activeRulesetId = activeRulesetId;
- return this;
- }
-
- /**
- * [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation.
- * @return activeRulesetId
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "6", value = "[ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. ")
-
- public Integer getActiveRulesetId() {
- return activeRulesetId;
- }
-
-
- public void setActiveRulesetId(Integer activeRulesetId) {
- this.activeRulesetId = activeRulesetId;
- }
-
-
- public CampaignForNotification tags(List tags) {
-
- this.tags = tags;
- return this;
- }
-
- public CampaignForNotification addTagsItem(String tagsItem) {
- this.tags.add(tagsItem);
- return this;
- }
-
- /**
- * A list of tags for the campaign.
- * @return tags
- **/
- @ApiModelProperty(example = "[summer]", required = true, value = "A list of tags for the campaign.")
-
- public List getTags() {
- return tags;
- }
-
-
- public void setTags(List tags) {
- this.tags = tags;
- }
-
-
- public CampaignForNotification features(List features) {
-
- this.features = features;
- return this;
- }
-
- public CampaignForNotification addFeaturesItem(FeaturesEnum featuresItem) {
- this.features.add(featuresItem);
- return this;
- }
-
- /**
- * The features enabled in this campaign.
- * @return features
- **/
- @ApiModelProperty(example = "[coupons, referrals]", required = true, value = "The features enabled in this campaign.")
-
- public List getFeatures() {
- return features;
- }
-
-
- public void setFeatures(List features) {
- this.features = features;
- }
-
-
- public CampaignForNotification couponSettings(CodeGeneratorSettings couponSettings) {
-
- this.couponSettings = couponSettings;
- return this;
- }
-
- /**
- * Get couponSettings
- * @return couponSettings
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "")
-
- public CodeGeneratorSettings getCouponSettings() {
- return couponSettings;
- }
-
-
- public void setCouponSettings(CodeGeneratorSettings couponSettings) {
- this.couponSettings = couponSettings;
- }
-
-
- public CampaignForNotification referralSettings(CodeGeneratorSettings referralSettings) {
-
- this.referralSettings = referralSettings;
- return this;
- }
-
- /**
- * Get referralSettings
- * @return referralSettings
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "")
-
- public CodeGeneratorSettings getReferralSettings() {
- return referralSettings;
- }
-
-
- public void setReferralSettings(CodeGeneratorSettings referralSettings) {
- this.referralSettings = referralSettings;
- }
-
-
- public CampaignForNotification limits(List limits) {
-
- this.limits = limits;
- return this;
- }
-
- public CampaignForNotification addLimitsItem(LimitConfig limitsItem) {
- this.limits.add(limitsItem);
- return this;
- }
-
- /**
- * The set of [budget limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets) for this campaign.
- * @return limits
- **/
- @ApiModelProperty(required = true, value = "The set of [budget limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets) for this campaign. ")
-
- public List getLimits() {
- return limits;
- }
-
-
- public void setLimits(List limits) {
- this.limits = limits;
- }
-
-
- public CampaignForNotification campaignGroups(List campaignGroups) {
-
- this.campaignGroups = campaignGroups;
- return this;
- }
-
- public CampaignForNotification addCampaignGroupsItem(Integer campaignGroupsItem) {
- if (this.campaignGroups == null) {
- this.campaignGroups = new ArrayList();
- }
- this.campaignGroups.add(campaignGroupsItem);
- return this;
- }
-
- /**
- * The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to.
- * @return campaignGroups
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "[1, 3]", value = "The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. ")
-
- public List getCampaignGroups() {
- return campaignGroups;
- }
-
-
- public void setCampaignGroups(List campaignGroups) {
- this.campaignGroups = campaignGroups;
- }
-
-
- public CampaignForNotification evaluationGroupId(Integer evaluationGroupId) {
-
- this.evaluationGroupId = evaluationGroupId;
- return this;
- }
-
- /**
- * The ID of the campaign evaluation group the campaign belongs to.
- * @return evaluationGroupId
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "2", value = "The ID of the campaign evaluation group the campaign belongs to.")
-
- public Integer getEvaluationGroupId() {
- return evaluationGroupId;
- }
-
-
- public void setEvaluationGroupId(Integer evaluationGroupId) {
- this.evaluationGroupId = evaluationGroupId;
- }
-
-
- public CampaignForNotification type(TypeEnum type) {
-
- this.type = type;
- return this;
- }
-
- /**
- * The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items.
- * @return type
- **/
- @ApiModelProperty(example = "advanced", required = true, value = "The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. ")
-
- public TypeEnum getType() {
- return type;
- }
-
-
- public void setType(TypeEnum type) {
- this.type = type;
- }
-
-
- public CampaignForNotification linkedStoreIds(List linkedStoreIds) {
-
- this.linkedStoreIds = linkedStoreIds;
- return this;
- }
-
- public CampaignForNotification addLinkedStoreIdsItem(Integer linkedStoreIdsItem) {
- if (this.linkedStoreIds == null) {
- this.linkedStoreIds = new ArrayList();
- }
- this.linkedStoreIds.add(linkedStoreIdsItem);
- return this;
- }
-
- /**
- * A list of store IDs that are linked to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store.
- * @return linkedStoreIds
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "[1, 2, 3]", value = "A list of store IDs that are linked to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. ")
-
- public List getLinkedStoreIds() {
- return linkedStoreIds;
- }
-
-
- public void setLinkedStoreIds(List linkedStoreIds) {
- this.linkedStoreIds = linkedStoreIds;
- }
-
-
- public CampaignForNotification budgets(List budgets) {
-
- this.budgets = budgets;
- return this;
- }
-
- public CampaignForNotification addBudgetsItem(CampaignBudget budgetsItem) {
- this.budgets.add(budgetsItem);
- return this;
- }
-
- /**
- * A list of all the budgets that are defined by this campaign and their usage. **Note:** Budgets that are not defined do not appear in this list and their usage is not counted until they are defined.
- * @return budgets
- **/
- @ApiModelProperty(required = true, value = "A list of all the budgets that are defined by this campaign and their usage. **Note:** Budgets that are not defined do not appear in this list and their usage is not counted until they are defined. ")
-
- public List getBudgets() {
- return budgets;
- }
-
-
- public void setBudgets(List budgets) {
- this.budgets = budgets;
- }
-
-
- public CampaignForNotification couponRedemptionCount(Integer couponRedemptionCount) {
-
- this.couponRedemptionCount = couponRedemptionCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Number of coupons redeemed in the campaign.
- * @return couponRedemptionCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "163", value = "This property is **deprecated**. The count should be available under *budgets* property. Number of coupons redeemed in the campaign. ")
-
- public Integer getCouponRedemptionCount() {
- return couponRedemptionCount;
- }
-
-
- public void setCouponRedemptionCount(Integer couponRedemptionCount) {
- this.couponRedemptionCount = couponRedemptionCount;
- }
-
-
- public CampaignForNotification referralRedemptionCount(Integer referralRedemptionCount) {
-
- this.referralRedemptionCount = referralRedemptionCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Number of referral codes redeemed in the campaign.
- * @return referralRedemptionCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "3", value = "This property is **deprecated**. The count should be available under *budgets* property. Number of referral codes redeemed in the campaign. ")
-
- public Integer getReferralRedemptionCount() {
- return referralRedemptionCount;
- }
-
-
- public void setReferralRedemptionCount(Integer referralRedemptionCount) {
- this.referralRedemptionCount = referralRedemptionCount;
- }
-
-
- public CampaignForNotification discountCount(BigDecimal discountCount) {
-
- this.discountCount = discountCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total amount of discounts redeemed in the campaign.
- * @return discountCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "288.0", value = "This property is **deprecated**. The count should be available under *budgets* property. Total amount of discounts redeemed in the campaign. ")
-
- public BigDecimal getDiscountCount() {
- return discountCount;
- }
-
-
- public void setDiscountCount(BigDecimal discountCount) {
- this.discountCount = discountCount;
- }
-
-
- public CampaignForNotification discountEffectCount(Integer discountEffectCount) {
-
- this.discountEffectCount = discountEffectCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of times discounts were redeemed in this campaign.
- * @return discountEffectCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "343", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of times discounts were redeemed in this campaign. ")
-
- public Integer getDiscountEffectCount() {
- return discountEffectCount;
- }
-
-
- public void setDiscountEffectCount(Integer discountEffectCount) {
- this.discountEffectCount = discountEffectCount;
- }
-
-
- public CampaignForNotification couponCreationCount(Integer couponCreationCount) {
-
- this.couponCreationCount = couponCreationCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of coupons created by rules in this campaign.
- * @return couponCreationCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "16", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of coupons created by rules in this campaign. ")
-
- public Integer getCouponCreationCount() {
- return couponCreationCount;
- }
-
-
- public void setCouponCreationCount(Integer couponCreationCount) {
- this.couponCreationCount = couponCreationCount;
- }
-
-
- public CampaignForNotification customEffectCount(Integer customEffectCount) {
-
- this.customEffectCount = customEffectCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of custom effects triggered by rules in this campaign.
- * @return customEffectCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "0", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of custom effects triggered by rules in this campaign. ")
-
- public Integer getCustomEffectCount() {
- return customEffectCount;
- }
-
-
- public void setCustomEffectCount(Integer customEffectCount) {
- this.customEffectCount = customEffectCount;
- }
-
-
- public CampaignForNotification referralCreationCount(Integer referralCreationCount) {
-
- this.referralCreationCount = referralCreationCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of referrals created by rules in this campaign.
- * @return referralCreationCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "8", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of referrals created by rules in this campaign. ")
-
- public Integer getReferralCreationCount() {
- return referralCreationCount;
- }
-
-
- public void setReferralCreationCount(Integer referralCreationCount) {
- this.referralCreationCount = referralCreationCount;
- }
-
-
- public CampaignForNotification addFreeItemEffectCount(Integer addFreeItemEffectCount) {
-
- this.addFreeItemEffectCount = addFreeItemEffectCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of times the [add free item effect](https://docs.talon.one/docs/dev/integration-api/api-effects#addfreeitem) can be triggered in this campaign.
- * @return addFreeItemEffectCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "0", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of times the [add free item effect](https://docs.talon.one/docs/dev/integration-api/api-effects#addfreeitem) can be triggered in this campaign. ")
-
- public Integer getAddFreeItemEffectCount() {
- return addFreeItemEffectCount;
- }
-
-
- public void setAddFreeItemEffectCount(Integer addFreeItemEffectCount) {
- this.addFreeItemEffectCount = addFreeItemEffectCount;
- }
-
-
- public CampaignForNotification awardedGiveawaysCount(Integer awardedGiveawaysCount) {
-
- this.awardedGiveawaysCount = awardedGiveawaysCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of giveaways awarded by rules in this campaign.
- * @return awardedGiveawaysCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "9", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of giveaways awarded by rules in this campaign. ")
-
- public Integer getAwardedGiveawaysCount() {
- return awardedGiveawaysCount;
- }
-
-
- public void setAwardedGiveawaysCount(Integer awardedGiveawaysCount) {
- this.awardedGiveawaysCount = awardedGiveawaysCount;
- }
-
-
- public CampaignForNotification createdLoyaltyPointsCount(BigDecimal createdLoyaltyPointsCount) {
-
- this.createdLoyaltyPointsCount = createdLoyaltyPointsCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty points created by rules in this campaign.
- * @return createdLoyaltyPointsCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "9.0", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty points created by rules in this campaign. ")
-
- public BigDecimal getCreatedLoyaltyPointsCount() {
- return createdLoyaltyPointsCount;
- }
-
-
- public void setCreatedLoyaltyPointsCount(BigDecimal createdLoyaltyPointsCount) {
- this.createdLoyaltyPointsCount = createdLoyaltyPointsCount;
- }
-
-
- public CampaignForNotification createdLoyaltyPointsEffectCount(Integer createdLoyaltyPointsEffectCount) {
-
- this.createdLoyaltyPointsEffectCount = createdLoyaltyPointsEffectCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point creation effects triggered by rules in this campaign.
- * @return createdLoyaltyPointsEffectCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "2", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point creation effects triggered by rules in this campaign. ")
-
- public Integer getCreatedLoyaltyPointsEffectCount() {
- return createdLoyaltyPointsEffectCount;
- }
-
-
- public void setCreatedLoyaltyPointsEffectCount(Integer createdLoyaltyPointsEffectCount) {
- this.createdLoyaltyPointsEffectCount = createdLoyaltyPointsEffectCount;
- }
-
-
- public CampaignForNotification redeemedLoyaltyPointsCount(BigDecimal redeemedLoyaltyPointsCount) {
-
- this.redeemedLoyaltyPointsCount = redeemedLoyaltyPointsCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty points redeemed by rules in this campaign.
- * @return redeemedLoyaltyPointsCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "8.0", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty points redeemed by rules in this campaign. ")
-
- public BigDecimal getRedeemedLoyaltyPointsCount() {
- return redeemedLoyaltyPointsCount;
- }
-
-
- public void setRedeemedLoyaltyPointsCount(BigDecimal redeemedLoyaltyPointsCount) {
- this.redeemedLoyaltyPointsCount = redeemedLoyaltyPointsCount;
- }
-
-
- public CampaignForNotification redeemedLoyaltyPointsEffectCount(Integer redeemedLoyaltyPointsEffectCount) {
-
- this.redeemedLoyaltyPointsEffectCount = redeemedLoyaltyPointsEffectCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point redemption effects triggered by rules in this campaign.
- * @return redeemedLoyaltyPointsEffectCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "9", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point redemption effects triggered by rules in this campaign. ")
-
- public Integer getRedeemedLoyaltyPointsEffectCount() {
- return redeemedLoyaltyPointsEffectCount;
- }
-
-
- public void setRedeemedLoyaltyPointsEffectCount(Integer redeemedLoyaltyPointsEffectCount) {
- this.redeemedLoyaltyPointsEffectCount = redeemedLoyaltyPointsEffectCount;
- }
-
-
- public CampaignForNotification callApiEffectCount(Integer callApiEffectCount) {
-
- this.callApiEffectCount = callApiEffectCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of webhooks triggered by rules in this campaign.
- * @return callApiEffectCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "0", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of webhooks triggered by rules in this campaign. ")
-
- public Integer getCallApiEffectCount() {
- return callApiEffectCount;
- }
-
-
- public void setCallApiEffectCount(Integer callApiEffectCount) {
- this.callApiEffectCount = callApiEffectCount;
- }
-
-
- public CampaignForNotification reservecouponEffectCount(Integer reservecouponEffectCount) {
-
- this.reservecouponEffectCount = reservecouponEffectCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of reserve coupon effects triggered by rules in this campaign.
- * @return reservecouponEffectCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "9", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of reserve coupon effects triggered by rules in this campaign. ")
-
- public Integer getReservecouponEffectCount() {
- return reservecouponEffectCount;
- }
-
-
- public void setReservecouponEffectCount(Integer reservecouponEffectCount) {
- this.reservecouponEffectCount = reservecouponEffectCount;
- }
-
-
- public CampaignForNotification lastActivity(OffsetDateTime lastActivity) {
-
- this.lastActivity = lastActivity;
- return this;
- }
-
- /**
- * Timestamp of the most recent event received by this campaign.
- * @return lastActivity
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "2022-11-10T23:00Z", value = "Timestamp of the most recent event received by this campaign.")
-
- public OffsetDateTime getLastActivity() {
- return lastActivity;
- }
-
-
- public void setLastActivity(OffsetDateTime lastActivity) {
- this.lastActivity = lastActivity;
- }
-
-
- public CampaignForNotification updated(OffsetDateTime updated) {
-
- this.updated = updated;
- return this;
- }
-
- /**
- * Timestamp of the most recent update to the campaign's property. Updates to external entities used in this campaign are **not** registered by this property, such as collection or coupon updates.
- * @return updated
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "Timestamp of the most recent update to the campaign's property. Updates to external entities used in this campaign are **not** registered by this property, such as collection or coupon updates. ")
-
- public OffsetDateTime getUpdated() {
- return updated;
- }
-
-
- public void setUpdated(OffsetDateTime updated) {
- this.updated = updated;
- }
-
-
- public CampaignForNotification createdBy(String createdBy) {
-
- this.createdBy = createdBy;
- return this;
- }
-
- /**
- * Name of the user who created this campaign if available.
- * @return createdBy
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "John Doe", value = "Name of the user who created this campaign if available.")
-
- public String getCreatedBy() {
- return createdBy;
- }
-
-
- public void setCreatedBy(String createdBy) {
- this.createdBy = createdBy;
- }
-
-
- public CampaignForNotification updatedBy(String updatedBy) {
-
- this.updatedBy = updatedBy;
- return this;
- }
-
- /**
- * Name of the user who last updated this campaign if available.
- * @return updatedBy
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "Jane Doe", value = "Name of the user who last updated this campaign if available.")
-
- public String getUpdatedBy() {
- return updatedBy;
- }
-
-
- public void setUpdatedBy(String updatedBy) {
- this.updatedBy = updatedBy;
- }
-
-
- public CampaignForNotification templateId(Integer templateId) {
-
- this.templateId = templateId;
- return this;
- }
-
- /**
- * The ID of the Campaign Template this Campaign was created from.
- * @return templateId
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "3", value = "The ID of the Campaign Template this Campaign was created from.")
-
- public Integer getTemplateId() {
- return templateId;
- }
-
-
- public void setTemplateId(Integer templateId) {
- this.templateId = templateId;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- CampaignForNotification campaignForNotification = (CampaignForNotification) o;
- return Objects.equals(this.id, campaignForNotification.id) &&
- Objects.equals(this.created, campaignForNotification.created) &&
- Objects.equals(this.applicationId, campaignForNotification.applicationId) &&
- Objects.equals(this.userId, campaignForNotification.userId) &&
- Objects.equals(this.name, campaignForNotification.name) &&
- Objects.equals(this.description, campaignForNotification.description) &&
- Objects.equals(this.startTime, campaignForNotification.startTime) &&
- Objects.equals(this.endTime, campaignForNotification.endTime) &&
- Objects.equals(this.attributes, campaignForNotification.attributes) &&
- Objects.equals(this.state, campaignForNotification.state) &&
- Objects.equals(this.activeRulesetId, campaignForNotification.activeRulesetId) &&
- Objects.equals(this.tags, campaignForNotification.tags) &&
- Objects.equals(this.features, campaignForNotification.features) &&
- Objects.equals(this.couponSettings, campaignForNotification.couponSettings) &&
- Objects.equals(this.referralSettings, campaignForNotification.referralSettings) &&
- Objects.equals(this.limits, campaignForNotification.limits) &&
- Objects.equals(this.campaignGroups, campaignForNotification.campaignGroups) &&
- Objects.equals(this.evaluationGroupId, campaignForNotification.evaluationGroupId) &&
- Objects.equals(this.type, campaignForNotification.type) &&
- Objects.equals(this.linkedStoreIds, campaignForNotification.linkedStoreIds) &&
- Objects.equals(this.budgets, campaignForNotification.budgets) &&
- Objects.equals(this.couponRedemptionCount, campaignForNotification.couponRedemptionCount) &&
- Objects.equals(this.referralRedemptionCount, campaignForNotification.referralRedemptionCount) &&
- Objects.equals(this.discountCount, campaignForNotification.discountCount) &&
- Objects.equals(this.discountEffectCount, campaignForNotification.discountEffectCount) &&
- Objects.equals(this.couponCreationCount, campaignForNotification.couponCreationCount) &&
- Objects.equals(this.customEffectCount, campaignForNotification.customEffectCount) &&
- Objects.equals(this.referralCreationCount, campaignForNotification.referralCreationCount) &&
- Objects.equals(this.addFreeItemEffectCount, campaignForNotification.addFreeItemEffectCount) &&
- Objects.equals(this.awardedGiveawaysCount, campaignForNotification.awardedGiveawaysCount) &&
- Objects.equals(this.createdLoyaltyPointsCount, campaignForNotification.createdLoyaltyPointsCount) &&
- Objects.equals(this.createdLoyaltyPointsEffectCount, campaignForNotification.createdLoyaltyPointsEffectCount) &&
- Objects.equals(this.redeemedLoyaltyPointsCount, campaignForNotification.redeemedLoyaltyPointsCount) &&
- Objects.equals(this.redeemedLoyaltyPointsEffectCount, campaignForNotification.redeemedLoyaltyPointsEffectCount) &&
- Objects.equals(this.callApiEffectCount, campaignForNotification.callApiEffectCount) &&
- Objects.equals(this.reservecouponEffectCount, campaignForNotification.reservecouponEffectCount) &&
- Objects.equals(this.lastActivity, campaignForNotification.lastActivity) &&
- Objects.equals(this.updated, campaignForNotification.updated) &&
- Objects.equals(this.createdBy, campaignForNotification.createdBy) &&
- Objects.equals(this.updatedBy, campaignForNotification.updatedBy) &&
- Objects.equals(this.templateId, campaignForNotification.templateId);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, created, applicationId, userId, name, description, startTime, endTime, attributes, state, activeRulesetId, tags, features, couponSettings, referralSettings, limits, campaignGroups, evaluationGroupId, type, linkedStoreIds, budgets, couponRedemptionCount, referralRedemptionCount, discountCount, discountEffectCount, couponCreationCount, customEffectCount, referralCreationCount, addFreeItemEffectCount, awardedGiveawaysCount, createdLoyaltyPointsCount, createdLoyaltyPointsEffectCount, redeemedLoyaltyPointsCount, redeemedLoyaltyPointsEffectCount, callApiEffectCount, reservecouponEffectCount, lastActivity, updated, createdBy, updatedBy, templateId);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class CampaignForNotification {\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" created: ").append(toIndentedString(created)).append("\n");
- sb.append(" applicationId: ").append(toIndentedString(applicationId)).append("\n");
- sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
- sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" description: ").append(toIndentedString(description)).append("\n");
- sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n");
- sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n");
- sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" activeRulesetId: ").append(toIndentedString(activeRulesetId)).append("\n");
- sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
- sb.append(" features: ").append(toIndentedString(features)).append("\n");
- sb.append(" couponSettings: ").append(toIndentedString(couponSettings)).append("\n");
- sb.append(" referralSettings: ").append(toIndentedString(referralSettings)).append("\n");
- sb.append(" limits: ").append(toIndentedString(limits)).append("\n");
- sb.append(" campaignGroups: ").append(toIndentedString(campaignGroups)).append("\n");
- sb.append(" evaluationGroupId: ").append(toIndentedString(evaluationGroupId)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
- sb.append(" linkedStoreIds: ").append(toIndentedString(linkedStoreIds)).append("\n");
- sb.append(" budgets: ").append(toIndentedString(budgets)).append("\n");
- sb.append(" couponRedemptionCount: ").append(toIndentedString(couponRedemptionCount)).append("\n");
- sb.append(" referralRedemptionCount: ").append(toIndentedString(referralRedemptionCount)).append("\n");
- sb.append(" discountCount: ").append(toIndentedString(discountCount)).append("\n");
- sb.append(" discountEffectCount: ").append(toIndentedString(discountEffectCount)).append("\n");
- sb.append(" couponCreationCount: ").append(toIndentedString(couponCreationCount)).append("\n");
- sb.append(" customEffectCount: ").append(toIndentedString(customEffectCount)).append("\n");
- sb.append(" referralCreationCount: ").append(toIndentedString(referralCreationCount)).append("\n");
- sb.append(" addFreeItemEffectCount: ").append(toIndentedString(addFreeItemEffectCount)).append("\n");
- sb.append(" awardedGiveawaysCount: ").append(toIndentedString(awardedGiveawaysCount)).append("\n");
- sb.append(" createdLoyaltyPointsCount: ").append(toIndentedString(createdLoyaltyPointsCount)).append("\n");
- sb.append(" createdLoyaltyPointsEffectCount: ").append(toIndentedString(createdLoyaltyPointsEffectCount)).append("\n");
- sb.append(" redeemedLoyaltyPointsCount: ").append(toIndentedString(redeemedLoyaltyPointsCount)).append("\n");
- sb.append(" redeemedLoyaltyPointsEffectCount: ").append(toIndentedString(redeemedLoyaltyPointsEffectCount)).append("\n");
- sb.append(" callApiEffectCount: ").append(toIndentedString(callApiEffectCount)).append("\n");
- sb.append(" reservecouponEffectCount: ").append(toIndentedString(reservecouponEffectCount)).append("\n");
- sb.append(" lastActivity: ").append(toIndentedString(lastActivity)).append("\n");
- sb.append(" updated: ").append(toIndentedString(updated)).append("\n");
- sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n");
- sb.append(" updatedBy: ").append(toIndentedString(updatedBy)).append("\n");
- sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/CampaignGroup.java b/src/main/java/one/talon/model/CampaignGroup.java
index c0465148..f5e323db 100644
--- a/src/main/java/one/talon/model/CampaignGroup.java
+++ b/src/main/java/one/talon/model/CampaignGroup.java
@@ -34,7 +34,7 @@
public class CampaignGroup {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -65,7 +65,7 @@ public class CampaignGroup {
private List campaignIds = null;
- public CampaignGroup id(Integer id) {
+ public CampaignGroup id(Long id) {
this.id = id;
return this;
@@ -77,12 +77,12 @@ public CampaignGroup id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/CampaignPrioritiesChangedNotification.java b/src/main/java/one/talon/model/CampaignPrioritiesChangedNotification.java
deleted file mode 100644
index 9256f252..00000000
--- a/src/main/java/one/talon/model/CampaignPrioritiesChangedNotification.java
+++ /dev/null
@@ -1,157 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import one.talon.model.CampaignSet;
-
-/**
- * Notification about an Application whose campaigns' priorities changed.
- */
-@ApiModel(description = "Notification about an Application whose campaigns' priorities changed.")
-
-public class CampaignPrioritiesChangedNotification {
- public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId";
- @SerializedName(SERIALIZED_NAME_APPLICATION_ID)
- private Integer applicationId;
-
- public static final String SERIALIZED_NAME_OLD_PRIORITIES = "oldPriorities";
- @SerializedName(SERIALIZED_NAME_OLD_PRIORITIES)
- private CampaignSet oldPriorities;
-
- public static final String SERIALIZED_NAME_PRIORITIES = "priorities";
- @SerializedName(SERIALIZED_NAME_PRIORITIES)
- private CampaignSet priorities;
-
-
- public CampaignPrioritiesChangedNotification applicationId(Integer applicationId) {
-
- this.applicationId = applicationId;
- return this;
- }
-
- /**
- * The ID of the Application whose campaigns' priorities changed.
- * @return applicationId
- **/
- @ApiModelProperty(example = "78", required = true, value = "The ID of the Application whose campaigns' priorities changed.")
-
- public Integer getApplicationId() {
- return applicationId;
- }
-
-
- public void setApplicationId(Integer applicationId) {
- this.applicationId = applicationId;
- }
-
-
- public CampaignPrioritiesChangedNotification oldPriorities(CampaignSet oldPriorities) {
-
- this.oldPriorities = oldPriorities;
- return this;
- }
-
- /**
- * Get oldPriorities
- * @return oldPriorities
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "")
-
- public CampaignSet getOldPriorities() {
- return oldPriorities;
- }
-
-
- public void setOldPriorities(CampaignSet oldPriorities) {
- this.oldPriorities = oldPriorities;
- }
-
-
- public CampaignPrioritiesChangedNotification priorities(CampaignSet priorities) {
-
- this.priorities = priorities;
- return this;
- }
-
- /**
- * Get priorities
- * @return priorities
- **/
- @ApiModelProperty(required = true, value = "")
-
- public CampaignSet getPriorities() {
- return priorities;
- }
-
-
- public void setPriorities(CampaignSet priorities) {
- this.priorities = priorities;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- CampaignPrioritiesChangedNotification campaignPrioritiesChangedNotification = (CampaignPrioritiesChangedNotification) o;
- return Objects.equals(this.applicationId, campaignPrioritiesChangedNotification.applicationId) &&
- Objects.equals(this.oldPriorities, campaignPrioritiesChangedNotification.oldPriorities) &&
- Objects.equals(this.priorities, campaignPrioritiesChangedNotification.priorities);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(applicationId, oldPriorities, priorities);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class CampaignPrioritiesChangedNotification {\n");
- sb.append(" applicationId: ").append(toIndentedString(applicationId)).append("\n");
- sb.append(" oldPriorities: ").append(toIndentedString(oldPriorities)).append("\n");
- sb.append(" priorities: ").append(toIndentedString(priorities)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/CampaignPrioritiesV2.java b/src/main/java/one/talon/model/CampaignPrioritiesV2.java
deleted file mode 100644
index 8518c0b4..00000000
--- a/src/main/java/one/talon/model/CampaignPrioritiesV2.java
+++ /dev/null
@@ -1,184 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-import one.talon.model.CampaignSetIDs;
-
-/**
- * CampaignPrioritiesV2
- */
-
-public class CampaignPrioritiesV2 {
- public static final String SERIALIZED_NAME_EXCLUSIVE = "exclusive";
- @SerializedName(SERIALIZED_NAME_EXCLUSIVE)
- private List exclusive = null;
-
- public static final String SERIALIZED_NAME_STACKABLE = "stackable";
- @SerializedName(SERIALIZED_NAME_STACKABLE)
- private List stackable = null;
-
- public static final String SERIALIZED_NAME_UNIVERSAL = "universal";
- @SerializedName(SERIALIZED_NAME_UNIVERSAL)
- private List universal = null;
-
-
- public CampaignPrioritiesV2 exclusive(List exclusive) {
-
- this.exclusive = exclusive;
- return this;
- }
-
- public CampaignPrioritiesV2 addExclusiveItem(CampaignSetIDs exclusiveItem) {
- if (this.exclusive == null) {
- this.exclusive = new ArrayList();
- }
- this.exclusive.add(exclusiveItem);
- return this;
- }
-
- /**
- * Get exclusive
- * @return exclusive
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "")
-
- public List getExclusive() {
- return exclusive;
- }
-
-
- public void setExclusive(List exclusive) {
- this.exclusive = exclusive;
- }
-
-
- public CampaignPrioritiesV2 stackable(List stackable) {
-
- this.stackable = stackable;
- return this;
- }
-
- public CampaignPrioritiesV2 addStackableItem(CampaignSetIDs stackableItem) {
- if (this.stackable == null) {
- this.stackable = new ArrayList();
- }
- this.stackable.add(stackableItem);
- return this;
- }
-
- /**
- * Get stackable
- * @return stackable
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "")
-
- public List getStackable() {
- return stackable;
- }
-
-
- public void setStackable(List stackable) {
- this.stackable = stackable;
- }
-
-
- public CampaignPrioritiesV2 universal(List universal) {
-
- this.universal = universal;
- return this;
- }
-
- public CampaignPrioritiesV2 addUniversalItem(CampaignSetIDs universalItem) {
- if (this.universal == null) {
- this.universal = new ArrayList();
- }
- this.universal.add(universalItem);
- return this;
- }
-
- /**
- * Get universal
- * @return universal
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "")
-
- public List getUniversal() {
- return universal;
- }
-
-
- public void setUniversal(List universal) {
- this.universal = universal;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- CampaignPrioritiesV2 campaignPrioritiesV2 = (CampaignPrioritiesV2) o;
- return Objects.equals(this.exclusive, campaignPrioritiesV2.exclusive) &&
- Objects.equals(this.stackable, campaignPrioritiesV2.stackable) &&
- Objects.equals(this.universal, campaignPrioritiesV2.universal);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(exclusive, stackable, universal);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class CampaignPrioritiesV2 {\n");
- sb.append(" exclusive: ").append(toIndentedString(exclusive)).append("\n");
- sb.append(" stackable: ").append(toIndentedString(stackable)).append("\n");
- sb.append(" universal: ").append(toIndentedString(universal)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/CampaignSetIDs.java b/src/main/java/one/talon/model/CampaignSetIDs.java
deleted file mode 100644
index 80f0ffd7..00000000
--- a/src/main/java/one/talon/model/CampaignSetIDs.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-
-/**
- * Campaign IDs for each priority.
- */
-@ApiModel(description = "Campaign IDs for each priority.")
-
-public class CampaignSetIDs {
- public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId";
- @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID)
- private Integer campaignId;
-
-
- public CampaignSetIDs campaignId(Integer campaignId) {
-
- this.campaignId = campaignId;
- return this;
- }
-
- /**
- * ID of the campaign
- * @return campaignId
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "2", value = "ID of the campaign")
-
- public Integer getCampaignId() {
- return campaignId;
- }
-
-
- public void setCampaignId(Integer campaignId) {
- this.campaignId = campaignId;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- CampaignSetIDs campaignSetIDs = (CampaignSetIDs) o;
- return Objects.equals(this.campaignId, campaignSetIDs.campaignId);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(campaignId);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class CampaignSetIDs {\n");
- sb.append(" campaignId: ").append(toIndentedString(campaignId)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/CampaignSetV2.java b/src/main/java/one/talon/model/CampaignSetV2.java
deleted file mode 100644
index afa668b6..00000000
--- a/src/main/java/one/talon/model/CampaignSetV2.java
+++ /dev/null
@@ -1,214 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import one.talon.model.CampaignPrioritiesV2;
-import org.threeten.bp.OffsetDateTime;
-
-/**
- *
- */
-@ApiModel(description = "")
-
-public class CampaignSetV2 {
- public static final String SERIALIZED_NAME_ID = "id";
- @SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
-
- public static final String SERIALIZED_NAME_CREATED = "created";
- @SerializedName(SERIALIZED_NAME_CREATED)
- private OffsetDateTime created;
-
- public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId";
- @SerializedName(SERIALIZED_NAME_APPLICATION_ID)
- private Integer applicationId;
-
- public static final String SERIALIZED_NAME_VERSION = "version";
- @SerializedName(SERIALIZED_NAME_VERSION)
- private Integer version;
-
- public static final String SERIALIZED_NAME_SET = "set";
- @SerializedName(SERIALIZED_NAME_SET)
- private CampaignPrioritiesV2 set;
-
-
- public CampaignSetV2 id(Integer id) {
-
- this.id = id;
- return this;
- }
-
- /**
- * Internal ID of this entity.
- * @return id
- **/
- @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
-
- public Integer getId() {
- return id;
- }
-
-
- public void setId(Integer id) {
- this.id = id;
- }
-
-
- public CampaignSetV2 created(OffsetDateTime created) {
-
- this.created = created;
- return this;
- }
-
- /**
- * The time this entity was created.
- * @return created
- **/
- @ApiModelProperty(example = "2020-06-10T09:05:27.993483Z", required = true, value = "The time this entity was created.")
-
- public OffsetDateTime getCreated() {
- return created;
- }
-
-
- public void setCreated(OffsetDateTime created) {
- this.created = created;
- }
-
-
- public CampaignSetV2 applicationId(Integer applicationId) {
-
- this.applicationId = applicationId;
- return this;
- }
-
- /**
- * The ID of the application that owns this entity.
- * @return applicationId
- **/
- @ApiModelProperty(example = "322", required = true, value = "The ID of the application that owns this entity.")
-
- public Integer getApplicationId() {
- return applicationId;
- }
-
-
- public void setApplicationId(Integer applicationId) {
- this.applicationId = applicationId;
- }
-
-
- public CampaignSetV2 version(Integer version) {
-
- this.version = version;
- return this;
- }
-
- /**
- * Version of the campaign set.
- * minimum: 1
- * @return version
- **/
- @ApiModelProperty(example = "3", required = true, value = "Version of the campaign set.")
-
- public Integer getVersion() {
- return version;
- }
-
-
- public void setVersion(Integer version) {
- this.version = version;
- }
-
-
- public CampaignSetV2 set(CampaignPrioritiesV2 set) {
-
- this.set = set;
- return this;
- }
-
- /**
- * Get set
- * @return set
- **/
- @ApiModelProperty(required = true, value = "")
-
- public CampaignPrioritiesV2 getSet() {
- return set;
- }
-
-
- public void setSet(CampaignPrioritiesV2 set) {
- this.set = set;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- CampaignSetV2 campaignSetV2 = (CampaignSetV2) o;
- return Objects.equals(this.id, campaignSetV2.id) &&
- Objects.equals(this.created, campaignSetV2.created) &&
- Objects.equals(this.applicationId, campaignSetV2.applicationId) &&
- Objects.equals(this.version, campaignSetV2.version) &&
- Objects.equals(this.set, campaignSetV2.set);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, created, applicationId, version, set);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class CampaignSetV2 {\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" created: ").append(toIndentedString(created)).append("\n");
- sb.append(" applicationId: ").append(toIndentedString(applicationId)).append("\n");
- sb.append(" version: ").append(toIndentedString(version)).append("\n");
- sb.append(" set: ").append(toIndentedString(set)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/CampaignStateNotification.java b/src/main/java/one/talon/model/CampaignStateNotification.java
deleted file mode 100644
index dc9bd565..00000000
--- a/src/main/java/one/talon/model/CampaignStateNotification.java
+++ /dev/null
@@ -1,1521 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-import java.util.ArrayList;
-import java.util.List;
-import one.talon.model.CampaignBudget;
-import one.talon.model.CodeGeneratorSettings;
-import one.talon.model.LimitConfig;
-import org.threeten.bp.OffsetDateTime;
-
-/**
- * Campaign data and its state changes.
- */
-@ApiModel(description = "Campaign data and its state changes.")
-
-public class CampaignStateNotification {
- public static final String SERIALIZED_NAME_ID = "id";
- @SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
-
- public static final String SERIALIZED_NAME_CREATED = "created";
- @SerializedName(SERIALIZED_NAME_CREATED)
- private OffsetDateTime created;
-
- public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId";
- @SerializedName(SERIALIZED_NAME_APPLICATION_ID)
- private Integer applicationId;
-
- public static final String SERIALIZED_NAME_USER_ID = "userId";
- @SerializedName(SERIALIZED_NAME_USER_ID)
- private Integer userId;
-
- public static final String SERIALIZED_NAME_NAME = "name";
- @SerializedName(SERIALIZED_NAME_NAME)
- private String name;
-
- public static final String SERIALIZED_NAME_DESCRIPTION = "description";
- @SerializedName(SERIALIZED_NAME_DESCRIPTION)
- private String description;
-
- public static final String SERIALIZED_NAME_START_TIME = "startTime";
- @SerializedName(SERIALIZED_NAME_START_TIME)
- private OffsetDateTime startTime;
-
- public static final String SERIALIZED_NAME_END_TIME = "endTime";
- @SerializedName(SERIALIZED_NAME_END_TIME)
- private OffsetDateTime endTime;
-
- public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
- @SerializedName(SERIALIZED_NAME_ATTRIBUTES)
- private Object attributes;
-
- /**
- * A disabled or archived campaign is not evaluated for rules or coupons.
- */
- @JsonAdapter(StateEnum.Adapter.class)
- public enum StateEnum {
- ENABLED("enabled"),
-
- DISABLED("disabled"),
-
- ARCHIVED("archived");
-
- private String value;
-
- StateEnum(String value) {
- this.value = value;
- }
-
- public String getValue() {
- return value;
- }
-
- @Override
- public String toString() {
- return String.valueOf(value);
- }
-
- public static StateEnum fromValue(String value) {
- for (StateEnum b : StateEnum.values()) {
- if (b.value.equals(value)) {
- return b;
- }
- }
- throw new IllegalArgumentException("Unexpected value '" + value + "'");
- }
-
- public static class Adapter extends TypeAdapter {
- @Override
- public void write(final JsonWriter jsonWriter, final StateEnum enumeration) throws IOException {
- jsonWriter.value(enumeration.getValue());
- }
-
- @Override
- public StateEnum read(final JsonReader jsonReader) throws IOException {
- String value = jsonReader.nextString();
- return StateEnum.fromValue(value);
- }
- }
- }
-
- public static final String SERIALIZED_NAME_STATE = "state";
- @SerializedName(SERIALIZED_NAME_STATE)
- private StateEnum state = StateEnum.ENABLED;
-
- public static final String SERIALIZED_NAME_ACTIVE_RULESET_ID = "activeRulesetId";
- @SerializedName(SERIALIZED_NAME_ACTIVE_RULESET_ID)
- private Integer activeRulesetId;
-
- public static final String SERIALIZED_NAME_TAGS = "tags";
- @SerializedName(SERIALIZED_NAME_TAGS)
- private List tags = new ArrayList();
-
- /**
- * Gets or Sets features
- */
- @JsonAdapter(FeaturesEnum.Adapter.class)
- public enum FeaturesEnum {
- COUPONS("coupons"),
-
- REFERRALS("referrals"),
-
- LOYALTY("loyalty"),
-
- GIVEAWAYS("giveaways"),
-
- STRIKETHROUGH("strikethrough");
-
- private String value;
-
- FeaturesEnum(String value) {
- this.value = value;
- }
-
- public String getValue() {
- return value;
- }
-
- @Override
- public String toString() {
- return String.valueOf(value);
- }
-
- public static FeaturesEnum fromValue(String value) {
- for (FeaturesEnum b : FeaturesEnum.values()) {
- if (b.value.equals(value)) {
- return b;
- }
- }
- throw new IllegalArgumentException("Unexpected value '" + value + "'");
- }
-
- public static class Adapter extends TypeAdapter {
- @Override
- public void write(final JsonWriter jsonWriter, final FeaturesEnum enumeration) throws IOException {
- jsonWriter.value(enumeration.getValue());
- }
-
- @Override
- public FeaturesEnum read(final JsonReader jsonReader) throws IOException {
- String value = jsonReader.nextString();
- return FeaturesEnum.fromValue(value);
- }
- }
- }
-
- public static final String SERIALIZED_NAME_FEATURES = "features";
- @SerializedName(SERIALIZED_NAME_FEATURES)
- private List features = new ArrayList();
-
- public static final String SERIALIZED_NAME_COUPON_SETTINGS = "couponSettings";
- @SerializedName(SERIALIZED_NAME_COUPON_SETTINGS)
- private CodeGeneratorSettings couponSettings;
-
- public static final String SERIALIZED_NAME_REFERRAL_SETTINGS = "referralSettings";
- @SerializedName(SERIALIZED_NAME_REFERRAL_SETTINGS)
- private CodeGeneratorSettings referralSettings;
-
- public static final String SERIALIZED_NAME_LIMITS = "limits";
- @SerializedName(SERIALIZED_NAME_LIMITS)
- private List limits = new ArrayList();
-
- public static final String SERIALIZED_NAME_CAMPAIGN_GROUPS = "campaignGroups";
- @SerializedName(SERIALIZED_NAME_CAMPAIGN_GROUPS)
- private List campaignGroups = null;
-
- public static final String SERIALIZED_NAME_EVALUATION_GROUP_ID = "evaluationGroupId";
- @SerializedName(SERIALIZED_NAME_EVALUATION_GROUP_ID)
- private Integer evaluationGroupId;
-
- /**
- * The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items.
- */
- @JsonAdapter(TypeEnum.Adapter.class)
- public enum TypeEnum {
- CARTITEM("cartItem"),
-
- ADVANCED("advanced");
-
- private String value;
-
- TypeEnum(String value) {
- this.value = value;
- }
-
- public String getValue() {
- return value;
- }
-
- @Override
- public String toString() {
- return String.valueOf(value);
- }
-
- public static TypeEnum fromValue(String value) {
- for (TypeEnum b : TypeEnum.values()) {
- if (b.value.equals(value)) {
- return b;
- }
- }
- throw new IllegalArgumentException("Unexpected value '" + value + "'");
- }
-
- public static class Adapter extends TypeAdapter {
- @Override
- public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException {
- jsonWriter.value(enumeration.getValue());
- }
-
- @Override
- public TypeEnum read(final JsonReader jsonReader) throws IOException {
- String value = jsonReader.nextString();
- return TypeEnum.fromValue(value);
- }
- }
- }
-
- public static final String SERIALIZED_NAME_TYPE = "type";
- @SerializedName(SERIALIZED_NAME_TYPE)
- private TypeEnum type = TypeEnum.ADVANCED;
-
- public static final String SERIALIZED_NAME_LINKED_STORE_IDS = "linkedStoreIds";
- @SerializedName(SERIALIZED_NAME_LINKED_STORE_IDS)
- private List linkedStoreIds = null;
-
- public static final String SERIALIZED_NAME_BUDGETS = "budgets";
- @SerializedName(SERIALIZED_NAME_BUDGETS)
- private List budgets = new ArrayList();
-
- public static final String SERIALIZED_NAME_COUPON_REDEMPTION_COUNT = "couponRedemptionCount";
- @SerializedName(SERIALIZED_NAME_COUPON_REDEMPTION_COUNT)
- private Integer couponRedemptionCount;
-
- public static final String SERIALIZED_NAME_REFERRAL_REDEMPTION_COUNT = "referralRedemptionCount";
- @SerializedName(SERIALIZED_NAME_REFERRAL_REDEMPTION_COUNT)
- private Integer referralRedemptionCount;
-
- public static final String SERIALIZED_NAME_DISCOUNT_COUNT = "discountCount";
- @SerializedName(SERIALIZED_NAME_DISCOUNT_COUNT)
- private BigDecimal discountCount;
-
- public static final String SERIALIZED_NAME_DISCOUNT_EFFECT_COUNT = "discountEffectCount";
- @SerializedName(SERIALIZED_NAME_DISCOUNT_EFFECT_COUNT)
- private Integer discountEffectCount;
-
- public static final String SERIALIZED_NAME_COUPON_CREATION_COUNT = "couponCreationCount";
- @SerializedName(SERIALIZED_NAME_COUPON_CREATION_COUNT)
- private Integer couponCreationCount;
-
- public static final String SERIALIZED_NAME_CUSTOM_EFFECT_COUNT = "customEffectCount";
- @SerializedName(SERIALIZED_NAME_CUSTOM_EFFECT_COUNT)
- private Integer customEffectCount;
-
- public static final String SERIALIZED_NAME_REFERRAL_CREATION_COUNT = "referralCreationCount";
- @SerializedName(SERIALIZED_NAME_REFERRAL_CREATION_COUNT)
- private Integer referralCreationCount;
-
- public static final String SERIALIZED_NAME_ADD_FREE_ITEM_EFFECT_COUNT = "addFreeItemEffectCount";
- @SerializedName(SERIALIZED_NAME_ADD_FREE_ITEM_EFFECT_COUNT)
- private Integer addFreeItemEffectCount;
-
- public static final String SERIALIZED_NAME_AWARDED_GIVEAWAYS_COUNT = "awardedGiveawaysCount";
- @SerializedName(SERIALIZED_NAME_AWARDED_GIVEAWAYS_COUNT)
- private Integer awardedGiveawaysCount;
-
- public static final String SERIALIZED_NAME_CREATED_LOYALTY_POINTS_COUNT = "createdLoyaltyPointsCount";
- @SerializedName(SERIALIZED_NAME_CREATED_LOYALTY_POINTS_COUNT)
- private BigDecimal createdLoyaltyPointsCount;
-
- public static final String SERIALIZED_NAME_CREATED_LOYALTY_POINTS_EFFECT_COUNT = "createdLoyaltyPointsEffectCount";
- @SerializedName(SERIALIZED_NAME_CREATED_LOYALTY_POINTS_EFFECT_COUNT)
- private Integer createdLoyaltyPointsEffectCount;
-
- public static final String SERIALIZED_NAME_REDEEMED_LOYALTY_POINTS_COUNT = "redeemedLoyaltyPointsCount";
- @SerializedName(SERIALIZED_NAME_REDEEMED_LOYALTY_POINTS_COUNT)
- private BigDecimal redeemedLoyaltyPointsCount;
-
- public static final String SERIALIZED_NAME_REDEEMED_LOYALTY_POINTS_EFFECT_COUNT = "redeemedLoyaltyPointsEffectCount";
- @SerializedName(SERIALIZED_NAME_REDEEMED_LOYALTY_POINTS_EFFECT_COUNT)
- private Integer redeemedLoyaltyPointsEffectCount;
-
- public static final String SERIALIZED_NAME_CALL_API_EFFECT_COUNT = "callApiEffectCount";
- @SerializedName(SERIALIZED_NAME_CALL_API_EFFECT_COUNT)
- private Integer callApiEffectCount;
-
- public static final String SERIALIZED_NAME_RESERVECOUPON_EFFECT_COUNT = "reservecouponEffectCount";
- @SerializedName(SERIALIZED_NAME_RESERVECOUPON_EFFECT_COUNT)
- private Integer reservecouponEffectCount;
-
- public static final String SERIALIZED_NAME_LAST_ACTIVITY = "lastActivity";
- @SerializedName(SERIALIZED_NAME_LAST_ACTIVITY)
- private OffsetDateTime lastActivity;
-
- public static final String SERIALIZED_NAME_UPDATED = "updated";
- @SerializedName(SERIALIZED_NAME_UPDATED)
- private OffsetDateTime updated;
-
- public static final String SERIALIZED_NAME_CREATED_BY = "createdBy";
- @SerializedName(SERIALIZED_NAME_CREATED_BY)
- private String createdBy;
-
- public static final String SERIALIZED_NAME_UPDATED_BY = "updatedBy";
- @SerializedName(SERIALIZED_NAME_UPDATED_BY)
- private String updatedBy;
-
- public static final String SERIALIZED_NAME_TEMPLATE_ID = "templateId";
- @SerializedName(SERIALIZED_NAME_TEMPLATE_ID)
- private Integer templateId;
-
- /**
- * A campaign state described exactly as in the Campaign Manager.
- */
- @JsonAdapter(FrontendStateEnum.Adapter.class)
- public enum FrontendStateEnum {
- EXPIRED("expired"),
-
- SCHEDULED("scheduled"),
-
- RUNNING("running"),
-
- DRAFT("draft"),
-
- DISABLED("disabled");
-
- private String value;
-
- FrontendStateEnum(String value) {
- this.value = value;
- }
-
- public String getValue() {
- return value;
- }
-
- @Override
- public String toString() {
- return String.valueOf(value);
- }
-
- public static FrontendStateEnum fromValue(String value) {
- for (FrontendStateEnum b : FrontendStateEnum.values()) {
- if (b.value.equals(value)) {
- return b;
- }
- }
- throw new IllegalArgumentException("Unexpected value '" + value + "'");
- }
-
- public static class Adapter extends TypeAdapter {
- @Override
- public void write(final JsonWriter jsonWriter, final FrontendStateEnum enumeration) throws IOException {
- jsonWriter.value(enumeration.getValue());
- }
-
- @Override
- public FrontendStateEnum read(final JsonReader jsonReader) throws IOException {
- String value = jsonReader.nextString();
- return FrontendStateEnum.fromValue(value);
- }
- }
- }
-
- public static final String SERIALIZED_NAME_FRONTEND_STATE = "frontendState";
- @SerializedName(SERIALIZED_NAME_FRONTEND_STATE)
- private FrontendStateEnum frontendState;
-
-
- public CampaignStateNotification id(Integer id) {
-
- this.id = id;
- return this;
- }
-
- /**
- * Unique ID for this entity.
- * @return id
- **/
- @ApiModelProperty(example = "4", required = true, value = "Unique ID for this entity.")
-
- public Integer getId() {
- return id;
- }
-
-
- public void setId(Integer id) {
- this.id = id;
- }
-
-
- public CampaignStateNotification created(OffsetDateTime created) {
-
- this.created = created;
- return this;
- }
-
- /**
- * The exact moment this entity was created.
- * @return created
- **/
- @ApiModelProperty(example = "2020-06-10T09:05:27.993483Z", required = true, value = "The exact moment this entity was created.")
-
- public OffsetDateTime getCreated() {
- return created;
- }
-
-
- public void setCreated(OffsetDateTime created) {
- this.created = created;
- }
-
-
- public CampaignStateNotification applicationId(Integer applicationId) {
-
- this.applicationId = applicationId;
- return this;
- }
-
- /**
- * The ID of the application that owns this entity.
- * @return applicationId
- **/
- @ApiModelProperty(example = "322", required = true, value = "The ID of the application that owns this entity.")
-
- public Integer getApplicationId() {
- return applicationId;
- }
-
-
- public void setApplicationId(Integer applicationId) {
- this.applicationId = applicationId;
- }
-
-
- public CampaignStateNotification userId(Integer userId) {
-
- this.userId = userId;
- return this;
- }
-
- /**
- * The ID of the user associated with this entity.
- * @return userId
- **/
- @ApiModelProperty(example = "388", required = true, value = "The ID of the user associated with this entity.")
-
- public Integer getUserId() {
- return userId;
- }
-
-
- public void setUserId(Integer userId) {
- this.userId = userId;
- }
-
-
- public CampaignStateNotification name(String name) {
-
- this.name = name;
- return this;
- }
-
- /**
- * A user-facing name for this campaign.
- * @return name
- **/
- @ApiModelProperty(example = "Summer promotions", required = true, value = "A user-facing name for this campaign.")
-
- public String getName() {
- return name;
- }
-
-
- public void setName(String name) {
- this.name = name;
- }
-
-
- public CampaignStateNotification description(String description) {
-
- this.description = description;
- return this;
- }
-
- /**
- * A detailed description of the campaign.
- * @return description
- **/
- @ApiModelProperty(example = "Campaign for all summer 2021 promotions", required = true, value = "A detailed description of the campaign.")
-
- public String getDescription() {
- return description;
- }
-
-
- public void setDescription(String description) {
- this.description = description;
- }
-
-
- public CampaignStateNotification startTime(OffsetDateTime startTime) {
-
- this.startTime = startTime;
- return this;
- }
-
- /**
- * Timestamp when the campaign will become active.
- * @return startTime
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "2021-07-20T22:00Z", value = "Timestamp when the campaign will become active.")
-
- public OffsetDateTime getStartTime() {
- return startTime;
- }
-
-
- public void setStartTime(OffsetDateTime startTime) {
- this.startTime = startTime;
- }
-
-
- public CampaignStateNotification endTime(OffsetDateTime endTime) {
-
- this.endTime = endTime;
- return this;
- }
-
- /**
- * Timestamp when the campaign will become inactive.
- * @return endTime
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "2021-09-22T22:00Z", value = "Timestamp when the campaign will become inactive.")
-
- public OffsetDateTime getEndTime() {
- return endTime;
- }
-
-
- public void setEndTime(OffsetDateTime endTime) {
- this.endTime = endTime;
- }
-
-
- public CampaignStateNotification attributes(Object attributes) {
-
- this.attributes = attributes;
- return this;
- }
-
- /**
- * Arbitrary properties associated with this campaign.
- * @return attributes
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "Arbitrary properties associated with this campaign.")
-
- public Object getAttributes() {
- return attributes;
- }
-
-
- public void setAttributes(Object attributes) {
- this.attributes = attributes;
- }
-
-
- public CampaignStateNotification state(StateEnum state) {
-
- this.state = state;
- return this;
- }
-
- /**
- * A disabled or archived campaign is not evaluated for rules or coupons.
- * @return state
- **/
- @ApiModelProperty(example = "enabled", required = true, value = "A disabled or archived campaign is not evaluated for rules or coupons. ")
-
- public StateEnum getState() {
- return state;
- }
-
-
- public void setState(StateEnum state) {
- this.state = state;
- }
-
-
- public CampaignStateNotification activeRulesetId(Integer activeRulesetId) {
-
- this.activeRulesetId = activeRulesetId;
- return this;
- }
-
- /**
- * [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation.
- * @return activeRulesetId
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "6", value = "[ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. ")
-
- public Integer getActiveRulesetId() {
- return activeRulesetId;
- }
-
-
- public void setActiveRulesetId(Integer activeRulesetId) {
- this.activeRulesetId = activeRulesetId;
- }
-
-
- public CampaignStateNotification tags(List tags) {
-
- this.tags = tags;
- return this;
- }
-
- public CampaignStateNotification addTagsItem(String tagsItem) {
- this.tags.add(tagsItem);
- return this;
- }
-
- /**
- * A list of tags for the campaign.
- * @return tags
- **/
- @ApiModelProperty(example = "[summer]", required = true, value = "A list of tags for the campaign.")
-
- public List getTags() {
- return tags;
- }
-
-
- public void setTags(List tags) {
- this.tags = tags;
- }
-
-
- public CampaignStateNotification features(List features) {
-
- this.features = features;
- return this;
- }
-
- public CampaignStateNotification addFeaturesItem(FeaturesEnum featuresItem) {
- this.features.add(featuresItem);
- return this;
- }
-
- /**
- * The features enabled in this campaign.
- * @return features
- **/
- @ApiModelProperty(example = "[coupons, referrals]", required = true, value = "The features enabled in this campaign.")
-
- public List getFeatures() {
- return features;
- }
-
-
- public void setFeatures(List features) {
- this.features = features;
- }
-
-
- public CampaignStateNotification couponSettings(CodeGeneratorSettings couponSettings) {
-
- this.couponSettings = couponSettings;
- return this;
- }
-
- /**
- * Get couponSettings
- * @return couponSettings
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "")
-
- public CodeGeneratorSettings getCouponSettings() {
- return couponSettings;
- }
-
-
- public void setCouponSettings(CodeGeneratorSettings couponSettings) {
- this.couponSettings = couponSettings;
- }
-
-
- public CampaignStateNotification referralSettings(CodeGeneratorSettings referralSettings) {
-
- this.referralSettings = referralSettings;
- return this;
- }
-
- /**
- * Get referralSettings
- * @return referralSettings
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "")
-
- public CodeGeneratorSettings getReferralSettings() {
- return referralSettings;
- }
-
-
- public void setReferralSettings(CodeGeneratorSettings referralSettings) {
- this.referralSettings = referralSettings;
- }
-
-
- public CampaignStateNotification limits(List limits) {
-
- this.limits = limits;
- return this;
- }
-
- public CampaignStateNotification addLimitsItem(LimitConfig limitsItem) {
- this.limits.add(limitsItem);
- return this;
- }
-
- /**
- * The set of [budget limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets) for this campaign.
- * @return limits
- **/
- @ApiModelProperty(required = true, value = "The set of [budget limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets) for this campaign. ")
-
- public List getLimits() {
- return limits;
- }
-
-
- public void setLimits(List limits) {
- this.limits = limits;
- }
-
-
- public CampaignStateNotification campaignGroups(List campaignGroups) {
-
- this.campaignGroups = campaignGroups;
- return this;
- }
-
- public CampaignStateNotification addCampaignGroupsItem(Integer campaignGroupsItem) {
- if (this.campaignGroups == null) {
- this.campaignGroups = new ArrayList();
- }
- this.campaignGroups.add(campaignGroupsItem);
- return this;
- }
-
- /**
- * The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to.
- * @return campaignGroups
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "[1, 3]", value = "The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. ")
-
- public List getCampaignGroups() {
- return campaignGroups;
- }
-
-
- public void setCampaignGroups(List campaignGroups) {
- this.campaignGroups = campaignGroups;
- }
-
-
- public CampaignStateNotification evaluationGroupId(Integer evaluationGroupId) {
-
- this.evaluationGroupId = evaluationGroupId;
- return this;
- }
-
- /**
- * The ID of the campaign evaluation group the campaign belongs to.
- * @return evaluationGroupId
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "2", value = "The ID of the campaign evaluation group the campaign belongs to.")
-
- public Integer getEvaluationGroupId() {
- return evaluationGroupId;
- }
-
-
- public void setEvaluationGroupId(Integer evaluationGroupId) {
- this.evaluationGroupId = evaluationGroupId;
- }
-
-
- public CampaignStateNotification type(TypeEnum type) {
-
- this.type = type;
- return this;
- }
-
- /**
- * The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items.
- * @return type
- **/
- @ApiModelProperty(example = "advanced", required = true, value = "The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. ")
-
- public TypeEnum getType() {
- return type;
- }
-
-
- public void setType(TypeEnum type) {
- this.type = type;
- }
-
-
- public CampaignStateNotification linkedStoreIds(List linkedStoreIds) {
-
- this.linkedStoreIds = linkedStoreIds;
- return this;
- }
-
- public CampaignStateNotification addLinkedStoreIdsItem(Integer linkedStoreIdsItem) {
- if (this.linkedStoreIds == null) {
- this.linkedStoreIds = new ArrayList();
- }
- this.linkedStoreIds.add(linkedStoreIdsItem);
- return this;
- }
-
- /**
- * A list of store IDs that you want to link to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store.
- * @return linkedStoreIds
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "[1, 2, 3]", value = "A list of store IDs that you want to link to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. ")
-
- public List getLinkedStoreIds() {
- return linkedStoreIds;
- }
-
-
- public void setLinkedStoreIds(List linkedStoreIds) {
- this.linkedStoreIds = linkedStoreIds;
- }
-
-
- public CampaignStateNotification budgets(List budgets) {
-
- this.budgets = budgets;
- return this;
- }
-
- public CampaignStateNotification addBudgetsItem(CampaignBudget budgetsItem) {
- this.budgets.add(budgetsItem);
- return this;
- }
-
- /**
- * A list of all the budgets that are defined by this campaign and their usage. **Note:** Budgets that are not defined do not appear in this list and their usage is not counted until they are defined.
- * @return budgets
- **/
- @ApiModelProperty(required = true, value = "A list of all the budgets that are defined by this campaign and their usage. **Note:** Budgets that are not defined do not appear in this list and their usage is not counted until they are defined. ")
-
- public List getBudgets() {
- return budgets;
- }
-
-
- public void setBudgets(List budgets) {
- this.budgets = budgets;
- }
-
-
- public CampaignStateNotification couponRedemptionCount(Integer couponRedemptionCount) {
-
- this.couponRedemptionCount = couponRedemptionCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Number of coupons redeemed in the campaign.
- * @return couponRedemptionCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "163", value = "This property is **deprecated**. The count should be available under *budgets* property. Number of coupons redeemed in the campaign. ")
-
- public Integer getCouponRedemptionCount() {
- return couponRedemptionCount;
- }
-
-
- public void setCouponRedemptionCount(Integer couponRedemptionCount) {
- this.couponRedemptionCount = couponRedemptionCount;
- }
-
-
- public CampaignStateNotification referralRedemptionCount(Integer referralRedemptionCount) {
-
- this.referralRedemptionCount = referralRedemptionCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Number of referral codes redeemed in the campaign.
- * @return referralRedemptionCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "3", value = "This property is **deprecated**. The count should be available under *budgets* property. Number of referral codes redeemed in the campaign. ")
-
- public Integer getReferralRedemptionCount() {
- return referralRedemptionCount;
- }
-
-
- public void setReferralRedemptionCount(Integer referralRedemptionCount) {
- this.referralRedemptionCount = referralRedemptionCount;
- }
-
-
- public CampaignStateNotification discountCount(BigDecimal discountCount) {
-
- this.discountCount = discountCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total amount of discounts redeemed in the campaign.
- * @return discountCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "288.0", value = "This property is **deprecated**. The count should be available under *budgets* property. Total amount of discounts redeemed in the campaign. ")
-
- public BigDecimal getDiscountCount() {
- return discountCount;
- }
-
-
- public void setDiscountCount(BigDecimal discountCount) {
- this.discountCount = discountCount;
- }
-
-
- public CampaignStateNotification discountEffectCount(Integer discountEffectCount) {
-
- this.discountEffectCount = discountEffectCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of times discounts were redeemed in this campaign.
- * @return discountEffectCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "343", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of times discounts were redeemed in this campaign. ")
-
- public Integer getDiscountEffectCount() {
- return discountEffectCount;
- }
-
-
- public void setDiscountEffectCount(Integer discountEffectCount) {
- this.discountEffectCount = discountEffectCount;
- }
-
-
- public CampaignStateNotification couponCreationCount(Integer couponCreationCount) {
-
- this.couponCreationCount = couponCreationCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of coupons created by rules in this campaign.
- * @return couponCreationCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "16", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of coupons created by rules in this campaign. ")
-
- public Integer getCouponCreationCount() {
- return couponCreationCount;
- }
-
-
- public void setCouponCreationCount(Integer couponCreationCount) {
- this.couponCreationCount = couponCreationCount;
- }
-
-
- public CampaignStateNotification customEffectCount(Integer customEffectCount) {
-
- this.customEffectCount = customEffectCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of custom effects triggered by rules in this campaign.
- * @return customEffectCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "0", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of custom effects triggered by rules in this campaign. ")
-
- public Integer getCustomEffectCount() {
- return customEffectCount;
- }
-
-
- public void setCustomEffectCount(Integer customEffectCount) {
- this.customEffectCount = customEffectCount;
- }
-
-
- public CampaignStateNotification referralCreationCount(Integer referralCreationCount) {
-
- this.referralCreationCount = referralCreationCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of referrals created by rules in this campaign.
- * @return referralCreationCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "8", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of referrals created by rules in this campaign. ")
-
- public Integer getReferralCreationCount() {
- return referralCreationCount;
- }
-
-
- public void setReferralCreationCount(Integer referralCreationCount) {
- this.referralCreationCount = referralCreationCount;
- }
-
-
- public CampaignStateNotification addFreeItemEffectCount(Integer addFreeItemEffectCount) {
-
- this.addFreeItemEffectCount = addFreeItemEffectCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of times the [add free item effect](https://docs.talon.one/docs/dev/integration-api/api-effects#addfreeitem) can be triggered in this campaign.
- * @return addFreeItemEffectCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "0", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of times the [add free item effect](https://docs.talon.one/docs/dev/integration-api/api-effects#addfreeitem) can be triggered in this campaign. ")
-
- public Integer getAddFreeItemEffectCount() {
- return addFreeItemEffectCount;
- }
-
-
- public void setAddFreeItemEffectCount(Integer addFreeItemEffectCount) {
- this.addFreeItemEffectCount = addFreeItemEffectCount;
- }
-
-
- public CampaignStateNotification awardedGiveawaysCount(Integer awardedGiveawaysCount) {
-
- this.awardedGiveawaysCount = awardedGiveawaysCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of giveaways awarded by rules in this campaign.
- * @return awardedGiveawaysCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "9", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of giveaways awarded by rules in this campaign. ")
-
- public Integer getAwardedGiveawaysCount() {
- return awardedGiveawaysCount;
- }
-
-
- public void setAwardedGiveawaysCount(Integer awardedGiveawaysCount) {
- this.awardedGiveawaysCount = awardedGiveawaysCount;
- }
-
-
- public CampaignStateNotification createdLoyaltyPointsCount(BigDecimal createdLoyaltyPointsCount) {
-
- this.createdLoyaltyPointsCount = createdLoyaltyPointsCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty points created by rules in this campaign.
- * @return createdLoyaltyPointsCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "9.0", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty points created by rules in this campaign. ")
-
- public BigDecimal getCreatedLoyaltyPointsCount() {
- return createdLoyaltyPointsCount;
- }
-
-
- public void setCreatedLoyaltyPointsCount(BigDecimal createdLoyaltyPointsCount) {
- this.createdLoyaltyPointsCount = createdLoyaltyPointsCount;
- }
-
-
- public CampaignStateNotification createdLoyaltyPointsEffectCount(Integer createdLoyaltyPointsEffectCount) {
-
- this.createdLoyaltyPointsEffectCount = createdLoyaltyPointsEffectCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point creation effects triggered by rules in this campaign.
- * @return createdLoyaltyPointsEffectCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "2", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point creation effects triggered by rules in this campaign. ")
-
- public Integer getCreatedLoyaltyPointsEffectCount() {
- return createdLoyaltyPointsEffectCount;
- }
-
-
- public void setCreatedLoyaltyPointsEffectCount(Integer createdLoyaltyPointsEffectCount) {
- this.createdLoyaltyPointsEffectCount = createdLoyaltyPointsEffectCount;
- }
-
-
- public CampaignStateNotification redeemedLoyaltyPointsCount(BigDecimal redeemedLoyaltyPointsCount) {
-
- this.redeemedLoyaltyPointsCount = redeemedLoyaltyPointsCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty points redeemed by rules in this campaign.
- * @return redeemedLoyaltyPointsCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "8.0", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty points redeemed by rules in this campaign. ")
-
- public BigDecimal getRedeemedLoyaltyPointsCount() {
- return redeemedLoyaltyPointsCount;
- }
-
-
- public void setRedeemedLoyaltyPointsCount(BigDecimal redeemedLoyaltyPointsCount) {
- this.redeemedLoyaltyPointsCount = redeemedLoyaltyPointsCount;
- }
-
-
- public CampaignStateNotification redeemedLoyaltyPointsEffectCount(Integer redeemedLoyaltyPointsEffectCount) {
-
- this.redeemedLoyaltyPointsEffectCount = redeemedLoyaltyPointsEffectCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point redemption effects triggered by rules in this campaign.
- * @return redeemedLoyaltyPointsEffectCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "9", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of loyalty point redemption effects triggered by rules in this campaign. ")
-
- public Integer getRedeemedLoyaltyPointsEffectCount() {
- return redeemedLoyaltyPointsEffectCount;
- }
-
-
- public void setRedeemedLoyaltyPointsEffectCount(Integer redeemedLoyaltyPointsEffectCount) {
- this.redeemedLoyaltyPointsEffectCount = redeemedLoyaltyPointsEffectCount;
- }
-
-
- public CampaignStateNotification callApiEffectCount(Integer callApiEffectCount) {
-
- this.callApiEffectCount = callApiEffectCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of webhooks triggered by rules in this campaign.
- * @return callApiEffectCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "0", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of webhooks triggered by rules in this campaign. ")
-
- public Integer getCallApiEffectCount() {
- return callApiEffectCount;
- }
-
-
- public void setCallApiEffectCount(Integer callApiEffectCount) {
- this.callApiEffectCount = callApiEffectCount;
- }
-
-
- public CampaignStateNotification reservecouponEffectCount(Integer reservecouponEffectCount) {
-
- this.reservecouponEffectCount = reservecouponEffectCount;
- return this;
- }
-
- /**
- * This property is **deprecated**. The count should be available under *budgets* property. Total number of reserve coupon effects triggered by rules in this campaign.
- * @return reservecouponEffectCount
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "9", value = "This property is **deprecated**. The count should be available under *budgets* property. Total number of reserve coupon effects triggered by rules in this campaign. ")
-
- public Integer getReservecouponEffectCount() {
- return reservecouponEffectCount;
- }
-
-
- public void setReservecouponEffectCount(Integer reservecouponEffectCount) {
- this.reservecouponEffectCount = reservecouponEffectCount;
- }
-
-
- public CampaignStateNotification lastActivity(OffsetDateTime lastActivity) {
-
- this.lastActivity = lastActivity;
- return this;
- }
-
- /**
- * Timestamp of the most recent event received by this campaign.
- * @return lastActivity
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "2022-11-10T23:00Z", value = "Timestamp of the most recent event received by this campaign.")
-
- public OffsetDateTime getLastActivity() {
- return lastActivity;
- }
-
-
- public void setLastActivity(OffsetDateTime lastActivity) {
- this.lastActivity = lastActivity;
- }
-
-
- public CampaignStateNotification updated(OffsetDateTime updated) {
-
- this.updated = updated;
- return this;
- }
-
- /**
- * Timestamp of the most recent update to the campaign's property. Updates to external entities used in this campaign are **not** registered by this property, such as collection or coupon updates.
- * @return updated
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "Timestamp of the most recent update to the campaign's property. Updates to external entities used in this campaign are **not** registered by this property, such as collection or coupon updates. ")
-
- public OffsetDateTime getUpdated() {
- return updated;
- }
-
-
- public void setUpdated(OffsetDateTime updated) {
- this.updated = updated;
- }
-
-
- public CampaignStateNotification createdBy(String createdBy) {
-
- this.createdBy = createdBy;
- return this;
- }
-
- /**
- * Name of the user who created this campaign if available.
- * @return createdBy
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "John Doe", value = "Name of the user who created this campaign if available.")
-
- public String getCreatedBy() {
- return createdBy;
- }
-
-
- public void setCreatedBy(String createdBy) {
- this.createdBy = createdBy;
- }
-
-
- public CampaignStateNotification updatedBy(String updatedBy) {
-
- this.updatedBy = updatedBy;
- return this;
- }
-
- /**
- * Name of the user who last updated this campaign if available.
- * @return updatedBy
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "Jane Doe", value = "Name of the user who last updated this campaign if available.")
-
- public String getUpdatedBy() {
- return updatedBy;
- }
-
-
- public void setUpdatedBy(String updatedBy) {
- this.updatedBy = updatedBy;
- }
-
-
- public CampaignStateNotification templateId(Integer templateId) {
-
- this.templateId = templateId;
- return this;
- }
-
- /**
- * The ID of the Campaign Template this Campaign was created from.
- * @return templateId
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "3", value = "The ID of the Campaign Template this Campaign was created from.")
-
- public Integer getTemplateId() {
- return templateId;
- }
-
-
- public void setTemplateId(Integer templateId) {
- this.templateId = templateId;
- }
-
-
- public CampaignStateNotification frontendState(FrontendStateEnum frontendState) {
-
- this.frontendState = frontendState;
- return this;
- }
-
- /**
- * A campaign state described exactly as in the Campaign Manager.
- * @return frontendState
- **/
- @ApiModelProperty(example = "running", required = true, value = "A campaign state described exactly as in the Campaign Manager.")
-
- public FrontendStateEnum getFrontendState() {
- return frontendState;
- }
-
-
- public void setFrontendState(FrontendStateEnum frontendState) {
- this.frontendState = frontendState;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- CampaignStateNotification campaignStateNotification = (CampaignStateNotification) o;
- return Objects.equals(this.id, campaignStateNotification.id) &&
- Objects.equals(this.created, campaignStateNotification.created) &&
- Objects.equals(this.applicationId, campaignStateNotification.applicationId) &&
- Objects.equals(this.userId, campaignStateNotification.userId) &&
- Objects.equals(this.name, campaignStateNotification.name) &&
- Objects.equals(this.description, campaignStateNotification.description) &&
- Objects.equals(this.startTime, campaignStateNotification.startTime) &&
- Objects.equals(this.endTime, campaignStateNotification.endTime) &&
- Objects.equals(this.attributes, campaignStateNotification.attributes) &&
- Objects.equals(this.state, campaignStateNotification.state) &&
- Objects.equals(this.activeRulesetId, campaignStateNotification.activeRulesetId) &&
- Objects.equals(this.tags, campaignStateNotification.tags) &&
- Objects.equals(this.features, campaignStateNotification.features) &&
- Objects.equals(this.couponSettings, campaignStateNotification.couponSettings) &&
- Objects.equals(this.referralSettings, campaignStateNotification.referralSettings) &&
- Objects.equals(this.limits, campaignStateNotification.limits) &&
- Objects.equals(this.campaignGroups, campaignStateNotification.campaignGroups) &&
- Objects.equals(this.evaluationGroupId, campaignStateNotification.evaluationGroupId) &&
- Objects.equals(this.type, campaignStateNotification.type) &&
- Objects.equals(this.linkedStoreIds, campaignStateNotification.linkedStoreIds) &&
- Objects.equals(this.budgets, campaignStateNotification.budgets) &&
- Objects.equals(this.couponRedemptionCount, campaignStateNotification.couponRedemptionCount) &&
- Objects.equals(this.referralRedemptionCount, campaignStateNotification.referralRedemptionCount) &&
- Objects.equals(this.discountCount, campaignStateNotification.discountCount) &&
- Objects.equals(this.discountEffectCount, campaignStateNotification.discountEffectCount) &&
- Objects.equals(this.couponCreationCount, campaignStateNotification.couponCreationCount) &&
- Objects.equals(this.customEffectCount, campaignStateNotification.customEffectCount) &&
- Objects.equals(this.referralCreationCount, campaignStateNotification.referralCreationCount) &&
- Objects.equals(this.addFreeItemEffectCount, campaignStateNotification.addFreeItemEffectCount) &&
- Objects.equals(this.awardedGiveawaysCount, campaignStateNotification.awardedGiveawaysCount) &&
- Objects.equals(this.createdLoyaltyPointsCount, campaignStateNotification.createdLoyaltyPointsCount) &&
- Objects.equals(this.createdLoyaltyPointsEffectCount, campaignStateNotification.createdLoyaltyPointsEffectCount) &&
- Objects.equals(this.redeemedLoyaltyPointsCount, campaignStateNotification.redeemedLoyaltyPointsCount) &&
- Objects.equals(this.redeemedLoyaltyPointsEffectCount, campaignStateNotification.redeemedLoyaltyPointsEffectCount) &&
- Objects.equals(this.callApiEffectCount, campaignStateNotification.callApiEffectCount) &&
- Objects.equals(this.reservecouponEffectCount, campaignStateNotification.reservecouponEffectCount) &&
- Objects.equals(this.lastActivity, campaignStateNotification.lastActivity) &&
- Objects.equals(this.updated, campaignStateNotification.updated) &&
- Objects.equals(this.createdBy, campaignStateNotification.createdBy) &&
- Objects.equals(this.updatedBy, campaignStateNotification.updatedBy) &&
- Objects.equals(this.templateId, campaignStateNotification.templateId) &&
- Objects.equals(this.frontendState, campaignStateNotification.frontendState);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, created, applicationId, userId, name, description, startTime, endTime, attributes, state, activeRulesetId, tags, features, couponSettings, referralSettings, limits, campaignGroups, evaluationGroupId, type, linkedStoreIds, budgets, couponRedemptionCount, referralRedemptionCount, discountCount, discountEffectCount, couponCreationCount, customEffectCount, referralCreationCount, addFreeItemEffectCount, awardedGiveawaysCount, createdLoyaltyPointsCount, createdLoyaltyPointsEffectCount, redeemedLoyaltyPointsCount, redeemedLoyaltyPointsEffectCount, callApiEffectCount, reservecouponEffectCount, lastActivity, updated, createdBy, updatedBy, templateId, frontendState);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class CampaignStateNotification {\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" created: ").append(toIndentedString(created)).append("\n");
- sb.append(" applicationId: ").append(toIndentedString(applicationId)).append("\n");
- sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
- sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" description: ").append(toIndentedString(description)).append("\n");
- sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n");
- sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n");
- sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n");
- sb.append(" state: ").append(toIndentedString(state)).append("\n");
- sb.append(" activeRulesetId: ").append(toIndentedString(activeRulesetId)).append("\n");
- sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
- sb.append(" features: ").append(toIndentedString(features)).append("\n");
- sb.append(" couponSettings: ").append(toIndentedString(couponSettings)).append("\n");
- sb.append(" referralSettings: ").append(toIndentedString(referralSettings)).append("\n");
- sb.append(" limits: ").append(toIndentedString(limits)).append("\n");
- sb.append(" campaignGroups: ").append(toIndentedString(campaignGroups)).append("\n");
- sb.append(" evaluationGroupId: ").append(toIndentedString(evaluationGroupId)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
- sb.append(" linkedStoreIds: ").append(toIndentedString(linkedStoreIds)).append("\n");
- sb.append(" budgets: ").append(toIndentedString(budgets)).append("\n");
- sb.append(" couponRedemptionCount: ").append(toIndentedString(couponRedemptionCount)).append("\n");
- sb.append(" referralRedemptionCount: ").append(toIndentedString(referralRedemptionCount)).append("\n");
- sb.append(" discountCount: ").append(toIndentedString(discountCount)).append("\n");
- sb.append(" discountEffectCount: ").append(toIndentedString(discountEffectCount)).append("\n");
- sb.append(" couponCreationCount: ").append(toIndentedString(couponCreationCount)).append("\n");
- sb.append(" customEffectCount: ").append(toIndentedString(customEffectCount)).append("\n");
- sb.append(" referralCreationCount: ").append(toIndentedString(referralCreationCount)).append("\n");
- sb.append(" addFreeItemEffectCount: ").append(toIndentedString(addFreeItemEffectCount)).append("\n");
- sb.append(" awardedGiveawaysCount: ").append(toIndentedString(awardedGiveawaysCount)).append("\n");
- sb.append(" createdLoyaltyPointsCount: ").append(toIndentedString(createdLoyaltyPointsCount)).append("\n");
- sb.append(" createdLoyaltyPointsEffectCount: ").append(toIndentedString(createdLoyaltyPointsEffectCount)).append("\n");
- sb.append(" redeemedLoyaltyPointsCount: ").append(toIndentedString(redeemedLoyaltyPointsCount)).append("\n");
- sb.append(" redeemedLoyaltyPointsEffectCount: ").append(toIndentedString(redeemedLoyaltyPointsEffectCount)).append("\n");
- sb.append(" callApiEffectCount: ").append(toIndentedString(callApiEffectCount)).append("\n");
- sb.append(" reservecouponEffectCount: ").append(toIndentedString(reservecouponEffectCount)).append("\n");
- sb.append(" lastActivity: ").append(toIndentedString(lastActivity)).append("\n");
- sb.append(" updated: ").append(toIndentedString(updated)).append("\n");
- sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n");
- sb.append(" updatedBy: ").append(toIndentedString(updatedBy)).append("\n");
- sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n");
- sb.append(" frontendState: ").append(toIndentedString(frontendState)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/CampaignStoreBudget.java b/src/main/java/one/talon/model/CampaignStoreBudget.java
index 2c494926..0e755f28 100644
--- a/src/main/java/one/talon/model/CampaignStoreBudget.java
+++ b/src/main/java/one/talon/model/CampaignStoreBudget.java
@@ -35,7 +35,7 @@
public class CampaignStoreBudget {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -54,7 +54,7 @@ public class CampaignStoreBudget {
private List limits = new ArrayList();
- public CampaignStoreBudget id(Integer id) {
+ public CampaignStoreBudget id(Long id) {
this.id = id;
return this;
@@ -66,12 +66,12 @@ public CampaignStoreBudget id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/CampaignTemplate.java b/src/main/java/one/talon/model/CampaignTemplate.java
index 663da83b..29d85d58 100644
--- a/src/main/java/one/talon/model/CampaignTemplate.java
+++ b/src/main/java/one/talon/model/CampaignTemplate.java
@@ -39,7 +39,7 @@
public class CampaignTemplate {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -293,7 +293,7 @@ public CampaignTypeEnum read(final JsonReader jsonReader) throws IOException {
private Boolean isUserFavorite = false;
- public CampaignTemplate id(Integer id) {
+ public CampaignTemplate id(Long id) {
this.id = id;
return this;
@@ -305,12 +305,12 @@ public CampaignTemplate id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/CartItem.java b/src/main/java/one/talon/model/CartItem.java
index 8258b6a4..e23dd501 100644
--- a/src/main/java/one/talon/model/CartItem.java
+++ b/src/main/java/one/talon/model/CartItem.java
@@ -29,14 +29,11 @@
import java.util.Map;
import one.talon.model.AdditionalCost;
import one.talon.model.Product;
-import one.talon.custom.JsonNullable;
-import one.talon.custom.NullableAdapterFactory;
/**
* CartItem
*/
-@JsonAdapter(NullableAdapterFactory.class)
public class CartItem {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
@@ -92,8 +89,6 @@ public class CartItem {
public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES)
- /*allow Serializing null for this field */
- @JsonNullable
private Object attributes;
public static final String SERIALIZED_NAME_ADDITIONAL_COSTS = "additionalCosts";
diff --git a/src/main/java/one/talon/model/Catalog.java b/src/main/java/one/talon/model/Catalog.java
index 474e619d..28e00d7f 100644
--- a/src/main/java/one/talon/model/Catalog.java
+++ b/src/main/java/one/talon/model/Catalog.java
@@ -34,7 +34,7 @@
public class Catalog {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -69,7 +69,7 @@ public class Catalog {
private Integer createdBy;
- public Catalog id(Integer id) {
+ public Catalog id(Long id) {
this.id = id;
return this;
@@ -81,12 +81,12 @@ public Catalog id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/CatalogItem.java b/src/main/java/one/talon/model/CatalogItem.java
index 9e069c3a..2cd2f200 100644
--- a/src/main/java/one/talon/model/CatalogItem.java
+++ b/src/main/java/one/talon/model/CatalogItem.java
@@ -37,7 +37,7 @@
public class CatalogItem {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -68,7 +68,7 @@ public class CatalogItem {
private Product product;
- public CatalogItem id(Integer id) {
+ public CatalogItem id(Long id) {
this.id = id;
return this;
@@ -80,12 +80,12 @@ public CatalogItem id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/Change.java b/src/main/java/one/talon/model/Change.java
index f98ab0c7..1c374399 100644
--- a/src/main/java/one/talon/model/Change.java
+++ b/src/main/java/one/talon/model/Change.java
@@ -32,7 +32,7 @@
public class Change {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -63,7 +63,7 @@ public class Change {
private Integer managementKeyId;
- public Change id(Integer id) {
+ public Change id(Long id) {
this.id = id;
return this;
@@ -75,12 +75,12 @@ public Change id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/Collection.java b/src/main/java/one/talon/model/Collection.java
index 43ee20af..f9b39492 100644
--- a/src/main/java/one/talon/model/Collection.java
+++ b/src/main/java/one/talon/model/Collection.java
@@ -34,7 +34,7 @@
public class Collection {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -81,7 +81,7 @@ public class Collection {
private List payload = null;
- public Collection id(Integer id) {
+ public Collection id(Long id) {
this.id = id;
return this;
@@ -93,12 +93,12 @@ public Collection id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/CollectionWithoutPayload.java b/src/main/java/one/talon/model/CollectionWithoutPayload.java
index dd6e4fe8..9b298a37 100644
--- a/src/main/java/one/talon/model/CollectionWithoutPayload.java
+++ b/src/main/java/one/talon/model/CollectionWithoutPayload.java
@@ -34,7 +34,7 @@
public class CollectionWithoutPayload {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -77,7 +77,7 @@ public class CollectionWithoutPayload {
private Integer campaignId;
- public CollectionWithoutPayload id(Integer id) {
+ public CollectionWithoutPayload id(Long id) {
this.id = id;
return this;
@@ -89,12 +89,12 @@ public CollectionWithoutPayload id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/Coupon.java b/src/main/java/one/talon/model/Coupon.java
index ab4a482c..3c4db051 100644
--- a/src/main/java/one/talon/model/Coupon.java
+++ b/src/main/java/one/talon/model/Coupon.java
@@ -36,7 +36,7 @@
public class Coupon {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -123,7 +123,7 @@ public class Coupon {
private Boolean implicitlyReserved;
- public Coupon id(Integer id) {
+ public Coupon id(Long id) {
this.id = id;
return this;
@@ -135,12 +135,12 @@ public Coupon id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/CouponCreationJob.java b/src/main/java/one/talon/model/CouponCreationJob.java
index ca607a82..98a57552 100644
--- a/src/main/java/one/talon/model/CouponCreationJob.java
+++ b/src/main/java/one/talon/model/CouponCreationJob.java
@@ -36,7 +36,7 @@
public class CouponCreationJob {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -123,7 +123,7 @@ public class CouponCreationJob {
private Integer chunkSize;
- public CouponCreationJob id(Integer id) {
+ public CouponCreationJob id(Long id) {
this.id = id;
return this;
@@ -135,12 +135,12 @@ public CouponCreationJob id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/CouponDeletionJob.java b/src/main/java/one/talon/model/CouponDeletionJob.java
index 6cdb9efb..e9196398 100644
--- a/src/main/java/one/talon/model/CouponDeletionJob.java
+++ b/src/main/java/one/talon/model/CouponDeletionJob.java
@@ -35,7 +35,7 @@
public class CouponDeletionJob {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -82,7 +82,7 @@ public class CouponDeletionJob {
private List campaignIDs = null;
- public CouponDeletionJob id(Integer id) {
+ public CouponDeletionJob id(Long id) {
this.id = id;
return this;
@@ -94,12 +94,12 @@ public CouponDeletionJob id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/CustomEffect.java b/src/main/java/one/talon/model/CustomEffect.java
index c125f2ae..a46eb8f1 100644
--- a/src/main/java/one/talon/model/CustomEffect.java
+++ b/src/main/java/one/talon/model/CustomEffect.java
@@ -35,7 +35,7 @@
public class CustomEffect {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -90,7 +90,7 @@ public class CustomEffect {
private Integer createdBy;
- public CustomEffect id(Integer id) {
+ public CustomEffect id(Long id) {
this.id = id;
return this;
@@ -102,12 +102,12 @@ public CustomEffect id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/CustomerProfile.java b/src/main/java/one/talon/model/CustomerProfile.java
index d76f8daa..4f1e5d81 100644
--- a/src/main/java/one/talon/model/CustomerProfile.java
+++ b/src/main/java/one/talon/model/CustomerProfile.java
@@ -37,7 +37,7 @@
public class CustomerProfile {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -80,7 +80,7 @@ public class CustomerProfile {
private Boolean sandbox;
- public CustomerProfile id(Integer id) {
+ public CustomerProfile id(Long id) {
this.id = id;
return this;
@@ -92,12 +92,12 @@ public CustomerProfile id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/CustomerProfileIntegrationRequestV2.java b/src/main/java/one/talon/model/CustomerProfileIntegrationRequestV2.java
index 9856c651..9bbb514d 100644
--- a/src/main/java/one/talon/model/CustomerProfileIntegrationRequestV2.java
+++ b/src/main/java/one/talon/model/CustomerProfileIntegrationRequestV2.java
@@ -26,20 +26,15 @@
import java.util.ArrayList;
import java.util.List;
import one.talon.model.ProfileAudiencesChanges;
-import one.talon.custom.JsonNullable;
-import one.talon.custom.NullableAdapterFactory;
/**
- *
+ * The body of a V2 integration API request (customer profile update). Next to the customer profile details, this contains an optional listing of extra properties that should be returned in the response.
*/
-@ApiModel(description = "")
-@JsonAdapter(NullableAdapterFactory.class)
+@ApiModel(description = "The body of a V2 integration API request (customer profile update). Next to the customer profile details, this contains an optional listing of extra properties that should be returned in the response.")
public class CustomerProfileIntegrationRequestV2 {
public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES)
- /*allow Serializing null for this field */
- @JsonNullable
private Object attributes;
public static final String SERIALIZED_NAME_EVALUABLE_CAMPAIGN_IDS = "evaluableCampaignIds";
diff --git a/src/main/java/one/talon/model/CustomerSessionV2.java b/src/main/java/one/talon/model/CustomerSessionV2.java
index da6eb135..0a1b5401 100644
--- a/src/main/java/one/talon/model/CustomerSessionV2.java
+++ b/src/main/java/one/talon/model/CustomerSessionV2.java
@@ -40,7 +40,7 @@
public class CustomerSessionV2 {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -170,7 +170,7 @@ public StateEnum read(final JsonReader jsonReader) throws IOException {
private OffsetDateTime updated;
- public CustomerSessionV2 id(Integer id) {
+ public CustomerSessionV2 id(Long id) {
this.id = id;
return this;
@@ -182,12 +182,12 @@ public CustomerSessionV2 id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/DeactivateUserRequest.java b/src/main/java/one/talon/model/DeactivateUserRequest.java
deleted file mode 100644
index d8de1ac7..00000000
--- a/src/main/java/one/talon/model/DeactivateUserRequest.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-
-/**
- * DeactivateUserRequest
- */
-
-public class DeactivateUserRequest {
- public static final String SERIALIZED_NAME_EMAIL = "email";
- @SerializedName(SERIALIZED_NAME_EMAIL)
- private String email;
-
-
- public DeactivateUserRequest email(String email) {
-
- this.email = email;
- return this;
- }
-
- /**
- * The email address associated with the user profile.
- * @return email
- **/
- @ApiModelProperty(example = "john.doe@example.com", required = true, value = "The email address associated with the user profile.")
-
- public String getEmail() {
- return email;
- }
-
-
- public void setEmail(String email) {
- this.email = email;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- DeactivateUserRequest deactivateUserRequest = (DeactivateUserRequest) o;
- return Objects.equals(this.email, deactivateUserRequest.email);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(email);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class DeactivateUserRequest {\n");
- sb.append(" email: ").append(toIndentedString(email)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/Effect.java b/src/main/java/one/talon/model/Effect.java
index 00b1a918..6ac5fab3 100644
--- a/src/main/java/one/talon/model/Effect.java
+++ b/src/main/java/one/talon/model/Effect.java
@@ -56,7 +56,7 @@ public class Effect {
public static final String SERIALIZED_NAME_TRIGGERED_FOR_CATALOG_ITEM = "triggeredForCatalogItem";
@SerializedName(SERIALIZED_NAME_TRIGGERED_FOR_CATALOG_ITEM)
- private Integer triggeredForCatalogItem;
+ private Long triggeredForCatalogItem;
public static final String SERIALIZED_NAME_CONDITION_INDEX = "conditionIndex";
@SerializedName(SERIALIZED_NAME_CONDITION_INDEX)
@@ -216,7 +216,7 @@ public void setTriggeredByCoupon(Integer triggeredByCoupon) {
}
- public Effect triggeredForCatalogItem(Integer triggeredForCatalogItem) {
+ public Effect triggeredForCatalogItem(Long triggeredForCatalogItem) {
this.triggeredForCatalogItem = triggeredForCatalogItem;
return this;
@@ -229,12 +229,12 @@ public Effect triggeredForCatalogItem(Integer triggeredForCatalogItem) {
@javax.annotation.Nullable
@ApiModelProperty(example = "786", value = "The ID of the catalog item that was being evaluated when this effect was triggered.")
- public Integer getTriggeredForCatalogItem() {
+ public Long getTriggeredForCatalogItem() {
return triggeredForCatalogItem;
}
- public void setTriggeredForCatalogItem(Integer triggeredForCatalogItem) {
+ public void setTriggeredForCatalogItem(Long triggeredForCatalogItem) {
this.triggeredForCatalogItem = triggeredForCatalogItem;
}
diff --git a/src/main/java/one/talon/model/EffectEntity.java b/src/main/java/one/talon/model/EffectEntity.java
index 59f569e7..ec8003f9 100644
--- a/src/main/java/one/talon/model/EffectEntity.java
+++ b/src/main/java/one/talon/model/EffectEntity.java
@@ -56,7 +56,7 @@ public class EffectEntity {
public static final String SERIALIZED_NAME_TRIGGERED_FOR_CATALOG_ITEM = "triggeredForCatalogItem";
@SerializedName(SERIALIZED_NAME_TRIGGERED_FOR_CATALOG_ITEM)
- private Integer triggeredForCatalogItem;
+ private Long triggeredForCatalogItem;
public static final String SERIALIZED_NAME_CONDITION_INDEX = "conditionIndex";
@SerializedName(SERIALIZED_NAME_CONDITION_INDEX)
@@ -212,7 +212,7 @@ public void setTriggeredByCoupon(Integer triggeredByCoupon) {
}
- public EffectEntity triggeredForCatalogItem(Integer triggeredForCatalogItem) {
+ public EffectEntity triggeredForCatalogItem(Long triggeredForCatalogItem) {
this.triggeredForCatalogItem = triggeredForCatalogItem;
return this;
@@ -225,12 +225,12 @@ public EffectEntity triggeredForCatalogItem(Integer triggeredForCatalogItem) {
@javax.annotation.Nullable
@ApiModelProperty(example = "786", value = "The ID of the catalog item that was being evaluated when this effect was triggered.")
- public Integer getTriggeredForCatalogItem() {
+ public Long getTriggeredForCatalogItem() {
return triggeredForCatalogItem;
}
- public void setTriggeredForCatalogItem(Integer triggeredForCatalogItem) {
+ public void setTriggeredForCatalogItem(Long triggeredForCatalogItem) {
this.triggeredForCatalogItem = triggeredForCatalogItem;
}
diff --git a/src/main/java/one/talon/model/Entity.java b/src/main/java/one/talon/model/Entity.java
index 18b92c88..09a0159d 100644
--- a/src/main/java/one/talon/model/Entity.java
+++ b/src/main/java/one/talon/model/Entity.java
@@ -32,14 +32,14 @@
public class Entity {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
private OffsetDateTime created;
- public Entity id(Integer id) {
+ public Entity id(Long id) {
this.id = id;
return this;
@@ -51,12 +51,12 @@ public Entity id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/Environment.java b/src/main/java/one/talon/model/Environment.java
index e1d534f2..1e3d18fe 100644
--- a/src/main/java/one/talon/model/Environment.java
+++ b/src/main/java/one/talon/model/Environment.java
@@ -45,7 +45,7 @@
public class Environment {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -104,7 +104,7 @@ public class Environment {
private List applicationCartItemFilters = null;
- public Environment id(Integer id) {
+ public Environment id(Long id) {
this.id = id;
return this;
@@ -116,12 +116,12 @@ public Environment id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/Event.java b/src/main/java/one/talon/model/Event.java
index 9e426c2a..f408a0a1 100644
--- a/src/main/java/one/talon/model/Event.java
+++ b/src/main/java/one/talon/model/Event.java
@@ -36,7 +36,7 @@
public class Event {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -79,7 +79,7 @@ public class Event {
private Meta meta;
- public Event id(Integer id) {
+ public Event id(Long id) {
this.id = id;
return this;
@@ -91,12 +91,12 @@ public Event id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/EventType.java b/src/main/java/one/talon/model/EventType.java
index 819c73b7..6b4fd55b 100644
--- a/src/main/java/one/talon/model/EventType.java
+++ b/src/main/java/one/talon/model/EventType.java
@@ -32,7 +32,7 @@
public class EventType {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -51,7 +51,7 @@ public class EventType {
private String description;
- public EventType id(Integer id) {
+ public EventType id(Long id) {
this.id = id;
return this;
@@ -63,12 +63,12 @@ public EventType id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/Export.java b/src/main/java/one/talon/model/Export.java
index f094e39c..7d0aa2d3 100644
--- a/src/main/java/one/talon/model/Export.java
+++ b/src/main/java/one/talon/model/Export.java
@@ -32,7 +32,7 @@
public class Export {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -112,7 +112,7 @@ public EntityEnum read(final JsonReader jsonReader) throws IOException {
private Object filter;
- public Export id(Integer id) {
+ public Export id(Long id) {
this.id = id;
return this;
@@ -124,12 +124,12 @@ public Export id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/FeedNotification.java b/src/main/java/one/talon/model/FeedNotification.java
deleted file mode 100644
index 3f3542aa..00000000
--- a/src/main/java/one/talon/model/FeedNotification.java
+++ /dev/null
@@ -1,293 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import org.threeten.bp.OffsetDateTime;
-
-/**
- * A feed notification for CAMA users.
- */
-@ApiModel(description = "A feed notification for CAMA users.")
-
-public class FeedNotification {
- public static final String SERIALIZED_NAME_TITLE = "title";
- @SerializedName(SERIALIZED_NAME_TITLE)
- private String title;
-
- public static final String SERIALIZED_NAME_CREATED = "created";
- @SerializedName(SERIALIZED_NAME_CREATED)
- private OffsetDateTime created;
-
- public static final String SERIALIZED_NAME_UPDATED = "updated";
- @SerializedName(SERIALIZED_NAME_UPDATED)
- private OffsetDateTime updated;
-
- public static final String SERIALIZED_NAME_ARTICLE_URL = "articleUrl";
- @SerializedName(SERIALIZED_NAME_ARTICLE_URL)
- private String articleUrl;
-
- /**
- * The type of the feed notification.
- */
- @JsonAdapter(TypeEnum.Adapter.class)
- public enum TypeEnum {
- FEED("feed"),
-
- FEATURE("feature"),
-
- ANNOUNCEMENT("announcement"),
-
- ALERT("alert"),
-
- TEST("test");
-
- private String value;
-
- TypeEnum(String value) {
- this.value = value;
- }
-
- public String getValue() {
- return value;
- }
-
- @Override
- public String toString() {
- return String.valueOf(value);
- }
-
- public static TypeEnum fromValue(String value) {
- for (TypeEnum b : TypeEnum.values()) {
- if (b.value.equals(value)) {
- return b;
- }
- }
- throw new IllegalArgumentException("Unexpected value '" + value + "'");
- }
-
- public static class Adapter extends TypeAdapter {
- @Override
- public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException {
- jsonWriter.value(enumeration.getValue());
- }
-
- @Override
- public TypeEnum read(final JsonReader jsonReader) throws IOException {
- String value = jsonReader.nextString();
- return TypeEnum.fromValue(value);
- }
- }
- }
-
- public static final String SERIALIZED_NAME_TYPE = "type";
- @SerializedName(SERIALIZED_NAME_TYPE)
- private TypeEnum type;
-
- public static final String SERIALIZED_NAME_BODY = "body";
- @SerializedName(SERIALIZED_NAME_BODY)
- private String body;
-
-
- public FeedNotification title(String title) {
-
- this.title = title;
- return this;
- }
-
- /**
- * Title of the feed notification.
- * @return title
- **/
- @ApiModelProperty(required = true, value = "Title of the feed notification.")
-
- public String getTitle() {
- return title;
- }
-
-
- public void setTitle(String title) {
- this.title = title;
- }
-
-
- public FeedNotification created(OffsetDateTime created) {
-
- this.created = created;
- return this;
- }
-
- /**
- * Timestamp of the moment this feed notification was created.
- * @return created
- **/
- @ApiModelProperty(required = true, value = "Timestamp of the moment this feed notification was created.")
-
- public OffsetDateTime getCreated() {
- return created;
- }
-
-
- public void setCreated(OffsetDateTime created) {
- this.created = created;
- }
-
-
- public FeedNotification updated(OffsetDateTime updated) {
-
- this.updated = updated;
- return this;
- }
-
- /**
- * Timestamp of the moment this feed notification was last updated.
- * @return updated
- **/
- @ApiModelProperty(required = true, value = "Timestamp of the moment this feed notification was last updated.")
-
- public OffsetDateTime getUpdated() {
- return updated;
- }
-
-
- public void setUpdated(OffsetDateTime updated) {
- this.updated = updated;
- }
-
-
- public FeedNotification articleUrl(String articleUrl) {
-
- this.articleUrl = articleUrl;
- return this;
- }
-
- /**
- * URL to the feed notification in the help center.
- * @return articleUrl
- **/
- @ApiModelProperty(required = true, value = "URL to the feed notification in the help center.")
-
- public String getArticleUrl() {
- return articleUrl;
- }
-
-
- public void setArticleUrl(String articleUrl) {
- this.articleUrl = articleUrl;
- }
-
-
- public FeedNotification type(TypeEnum type) {
-
- this.type = type;
- return this;
- }
-
- /**
- * The type of the feed notification.
- * @return type
- **/
- @ApiModelProperty(required = true, value = "The type of the feed notification.")
-
- public TypeEnum getType() {
- return type;
- }
-
-
- public void setType(TypeEnum type) {
- this.type = type;
- }
-
-
- public FeedNotification body(String body) {
-
- this.body = body;
- return this;
- }
-
- /**
- * Body of the feed notification.
- * @return body
- **/
- @ApiModelProperty(required = true, value = "Body of the feed notification.")
-
- public String getBody() {
- return body;
- }
-
-
- public void setBody(String body) {
- this.body = body;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- FeedNotification feedNotification = (FeedNotification) o;
- return Objects.equals(this.title, feedNotification.title) &&
- Objects.equals(this.created, feedNotification.created) &&
- Objects.equals(this.updated, feedNotification.updated) &&
- Objects.equals(this.articleUrl, feedNotification.articleUrl) &&
- Objects.equals(this.type, feedNotification.type) &&
- Objects.equals(this.body, feedNotification.body);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(title, created, updated, articleUrl, type, body);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class FeedNotification {\n");
- sb.append(" title: ").append(toIndentedString(title)).append("\n");
- sb.append(" created: ").append(toIndentedString(created)).append("\n");
- sb.append(" updated: ").append(toIndentedString(updated)).append("\n");
- sb.append(" articleUrl: ").append(toIndentedString(articleUrl)).append("\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
- sb.append(" body: ").append(toIndentedString(body)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/FrontendState.java b/src/main/java/one/talon/model/FrontendState.java
deleted file mode 100644
index c1ef8ac5..00000000
--- a/src/main/java/one/talon/model/FrontendState.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import io.swagger.annotations.ApiModel;
-import com.google.gson.annotations.SerializedName;
-
-import java.io.IOException;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-
-/**
- * A campaign state described exactly as in the Campaign Manager.
- */
-@JsonAdapter(FrontendState.Adapter.class)
-public enum FrontendState {
-
- EXPIRED("expired"),
-
- SCHEDULED("scheduled"),
-
- RUNNING("running"),
-
- DRAFT("draft"),
-
- DISABLED("disabled");
-
- private String value;
-
- FrontendState(String value) {
- this.value = value;
- }
-
- public String getValue() {
- return value;
- }
-
- @Override
- public String toString() {
- return String.valueOf(value);
- }
-
- public static FrontendState fromValue(String value) {
- for (FrontendState b : FrontendState.values()) {
- if (b.value.equals(value)) {
- return b;
- }
- }
- throw new IllegalArgumentException("Unexpected value '" + value + "'");
- }
-
- public static class Adapter extends TypeAdapter {
- @Override
- public void write(final JsonWriter jsonWriter, final FrontendState enumeration) throws IOException {
- jsonWriter.value(enumeration.getValue());
- }
-
- @Override
- public FrontendState read(final JsonReader jsonReader) throws IOException {
- String value = jsonReader.nextString();
- return FrontendState.fromValue(value);
- }
- }
-}
-
diff --git a/src/main/java/one/talon/model/Giveaway.java b/src/main/java/one/talon/model/Giveaway.java
index 7cbc1414..e718de36 100644
--- a/src/main/java/one/talon/model/Giveaway.java
+++ b/src/main/java/one/talon/model/Giveaway.java
@@ -32,7 +32,7 @@
public class Giveaway {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -75,7 +75,7 @@ public class Giveaway {
private Integer profileId;
- public Giveaway id(Integer id) {
+ public Giveaway id(Long id) {
this.id = id;
return this;
@@ -87,12 +87,12 @@ public Giveaway id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/GiveawaysPool.java b/src/main/java/one/talon/model/GiveawaysPool.java
index 0235b0a9..874b8ade 100644
--- a/src/main/java/one/talon/model/GiveawaysPool.java
+++ b/src/main/java/one/talon/model/GiveawaysPool.java
@@ -35,7 +35,7 @@
public class GiveawaysPool {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -74,7 +74,7 @@ public class GiveawaysPool {
private Integer modifiedBy;
- public GiveawaysPool id(Integer id) {
+ public GiveawaysPool id(Long id) {
this.id = id;
return this;
@@ -86,12 +86,12 @@ public GiveawaysPool id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/IntegrationCoupon.java b/src/main/java/one/talon/model/IntegrationCoupon.java
index 5ba8e5c4..71b03470 100644
--- a/src/main/java/one/talon/model/IntegrationCoupon.java
+++ b/src/main/java/one/talon/model/IntegrationCoupon.java
@@ -36,7 +36,7 @@
public class IntegrationCoupon {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -127,7 +127,7 @@ public class IntegrationCoupon {
private Integer profileRedemptionCount;
- public IntegrationCoupon id(Integer id) {
+ public IntegrationCoupon id(Long id) {
this.id = id;
return this;
@@ -139,12 +139,12 @@ public IntegrationCoupon id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/IntegrationEventV2Request.java b/src/main/java/one/talon/model/IntegrationEventV2Request.java
index 441f8496..6bc8eea0 100644
--- a/src/main/java/one/talon/model/IntegrationEventV2Request.java
+++ b/src/main/java/one/talon/model/IntegrationEventV2Request.java
@@ -25,14 +25,10 @@
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
-import one.talon.custom.JsonNullable;
-import one.talon.custom.NullableAdapterFactory;
/**
- *
+ * IntegrationEventV2Request
*/
-@ApiModel(description = "")
-@JsonAdapter(NullableAdapterFactory.class)
public class IntegrationEventV2Request {
public static final String SERIALIZED_NAME_PROFILE_ID = "profileId";
@@ -53,8 +49,6 @@ public class IntegrationEventV2Request {
public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES)
- /*allow Serializing null for this field */
- @JsonNullable
private Object attributes;
/**
diff --git a/src/main/java/one/talon/model/InventoryCoupon.java b/src/main/java/one/talon/model/InventoryCoupon.java
index 2fae67f5..e1f3c614 100644
--- a/src/main/java/one/talon/model/InventoryCoupon.java
+++ b/src/main/java/one/talon/model/InventoryCoupon.java
@@ -36,7 +36,7 @@
public class InventoryCoupon {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -131,7 +131,7 @@ public class InventoryCoupon {
private String state;
- public InventoryCoupon id(Integer id) {
+ public InventoryCoupon id(Long id) {
this.id = id;
return this;
@@ -143,12 +143,12 @@ public InventoryCoupon id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/InventoryReferral.java b/src/main/java/one/talon/model/InventoryReferral.java
index 9d6810cf..b3a19d02 100644
--- a/src/main/java/one/talon/model/InventoryReferral.java
+++ b/src/main/java/one/talon/model/InventoryReferral.java
@@ -34,7 +34,7 @@
public class InventoryReferral {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -89,7 +89,7 @@ public class InventoryReferral {
private List referredCustomers = new ArrayList();
- public InventoryReferral id(Integer id) {
+ public InventoryReferral id(Long id) {
this.id = id;
return this;
@@ -101,12 +101,12 @@ public InventoryReferral id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/LedgerEntry.java b/src/main/java/one/talon/model/LedgerEntry.java
index 1edddddd..50c1ea43 100644
--- a/src/main/java/one/talon/model/LedgerEntry.java
+++ b/src/main/java/one/talon/model/LedgerEntry.java
@@ -33,7 +33,7 @@
public class LedgerEntry {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -72,7 +72,7 @@ public class LedgerEntry {
private Integer referenceId;
- public LedgerEntry id(Integer id) {
+ public LedgerEntry id(Long id) {
this.id = id;
return this;
@@ -84,12 +84,12 @@ public LedgerEntry id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/LoyaltyCard.java b/src/main/java/one/talon/model/LoyaltyCard.java
index 99b4b53b..c3d7c89b 100644
--- a/src/main/java/one/talon/model/LoyaltyCard.java
+++ b/src/main/java/one/talon/model/LoyaltyCard.java
@@ -38,7 +38,7 @@
public class LoyaltyCard {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -101,7 +101,7 @@ public class LoyaltyCard {
private String batchId;
- public LoyaltyCard id(Integer id) {
+ public LoyaltyCard id(Long id) {
this.id = id;
return this;
@@ -113,12 +113,12 @@ public LoyaltyCard id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/LoyaltyProgram.java b/src/main/java/one/talon/model/LoyaltyProgram.java
index 39812e36..f3811888 100644
--- a/src/main/java/one/talon/model/LoyaltyProgram.java
+++ b/src/main/java/one/talon/model/LoyaltyProgram.java
@@ -37,7 +37,7 @@
public class LoyaltyProgram {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -340,7 +340,7 @@ public ReturnPolicyEnum read(final JsonReader jsonReader) throws IOException {
private Boolean canUpdateSubledgers = false;
- public LoyaltyProgram id(Integer id) {
+ public LoyaltyProgram id(Long id) {
this.id = id;
return this;
@@ -352,12 +352,12 @@ public LoyaltyProgram id(Integer id) {
**/
@ApiModelProperty(example = "139", required = true, value = "The ID of loyalty program.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/LoyaltyProgramSubledgers.java b/src/main/java/one/talon/model/LoyaltyProgramSubledgers.java
deleted file mode 100644
index 366cc96a..00000000
--- a/src/main/java/one/talon/model/LoyaltyProgramSubledgers.java
+++ /dev/null
@@ -1,134 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * The list of all the subledgers that the loyalty program has.
- */
-@ApiModel(description = "The list of all the subledgers that the loyalty program has.")
-
-public class LoyaltyProgramSubledgers {
- public static final String SERIALIZED_NAME_LOYALTY_PROGRAM_ID = "loyaltyProgramId";
- @SerializedName(SERIALIZED_NAME_LOYALTY_PROGRAM_ID)
- private Integer loyaltyProgramId;
-
- public static final String SERIALIZED_NAME_SUBLEDGER_IDS = "subledgerIds";
- @SerializedName(SERIALIZED_NAME_SUBLEDGER_IDS)
- private List subledgerIds = new ArrayList();
-
-
- public LoyaltyProgramSubledgers loyaltyProgramId(Integer loyaltyProgramId) {
-
- this.loyaltyProgramId = loyaltyProgramId;
- return this;
- }
-
- /**
- * The internal ID of the loyalty program.
- * @return loyaltyProgramId
- **/
- @ApiModelProperty(example = "5", required = true, value = "The internal ID of the loyalty program.")
-
- public Integer getLoyaltyProgramId() {
- return loyaltyProgramId;
- }
-
-
- public void setLoyaltyProgramId(Integer loyaltyProgramId) {
- this.loyaltyProgramId = loyaltyProgramId;
- }
-
-
- public LoyaltyProgramSubledgers subledgerIds(List subledgerIds) {
-
- this.subledgerIds = subledgerIds;
- return this;
- }
-
- public LoyaltyProgramSubledgers addSubledgerIdsItem(String subledgerIdsItem) {
- this.subledgerIds.add(subledgerIdsItem);
- return this;
- }
-
- /**
- * The list of subledger IDs.
- * @return subledgerIds
- **/
- @ApiModelProperty(required = true, value = "The list of subledger IDs.")
-
- public List getSubledgerIds() {
- return subledgerIds;
- }
-
-
- public void setSubledgerIds(List subledgerIds) {
- this.subledgerIds = subledgerIds;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- LoyaltyProgramSubledgers loyaltyProgramSubledgers = (LoyaltyProgramSubledgers) o;
- return Objects.equals(this.loyaltyProgramId, loyaltyProgramSubledgers.loyaltyProgramId) &&
- Objects.equals(this.subledgerIds, loyaltyProgramSubledgers.subledgerIds);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(loyaltyProgramId, subledgerIds);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class LoyaltyProgramSubledgers {\n");
- sb.append(" loyaltyProgramId: ").append(toIndentedString(loyaltyProgramId)).append("\n");
- sb.append(" subledgerIds: ").append(toIndentedString(subledgerIds)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/LoyaltyStatistics.java b/src/main/java/one/talon/model/LoyaltyStatistics.java
deleted file mode 100644
index 836e6ec9..00000000
--- a/src/main/java/one/talon/model/LoyaltyStatistics.java
+++ /dev/null
@@ -1,326 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-import one.talon.model.LoyaltyDashboardPointsBreakdown;
-import org.threeten.bp.OffsetDateTime;
-
-/**
- *
- */
-@ApiModel(description = "")
-
-public class LoyaltyStatistics {
- public static final String SERIALIZED_NAME_DATE = "date";
- @SerializedName(SERIALIZED_NAME_DATE)
- private OffsetDateTime date;
-
- public static final String SERIALIZED_NAME_TOTAL_ACTIVE_POINTS = "totalActivePoints";
- @SerializedName(SERIALIZED_NAME_TOTAL_ACTIVE_POINTS)
- private BigDecimal totalActivePoints;
-
- public static final String SERIALIZED_NAME_TOTAL_PENDING_POINTS = "totalPendingPoints";
- @SerializedName(SERIALIZED_NAME_TOTAL_PENDING_POINTS)
- private BigDecimal totalPendingPoints;
-
- public static final String SERIALIZED_NAME_TOTAL_SPENT_POINTS = "totalSpentPoints";
- @SerializedName(SERIALIZED_NAME_TOTAL_SPENT_POINTS)
- private BigDecimal totalSpentPoints;
-
- public static final String SERIALIZED_NAME_TOTAL_EXPIRED_POINTS = "totalExpiredPoints";
- @SerializedName(SERIALIZED_NAME_TOTAL_EXPIRED_POINTS)
- private BigDecimal totalExpiredPoints;
-
- public static final String SERIALIZED_NAME_TOTAL_MEMBERS = "totalMembers";
- @SerializedName(SERIALIZED_NAME_TOTAL_MEMBERS)
- private BigDecimal totalMembers;
-
- public static final String SERIALIZED_NAME_NEW_MEMBERS = "newMembers";
- @SerializedName(SERIALIZED_NAME_NEW_MEMBERS)
- private BigDecimal newMembers;
-
- public static final String SERIALIZED_NAME_SPENT_POINTS = "spentPoints";
- @SerializedName(SERIALIZED_NAME_SPENT_POINTS)
- private LoyaltyDashboardPointsBreakdown spentPoints;
-
- public static final String SERIALIZED_NAME_EARNED_POINTS = "earnedPoints";
- @SerializedName(SERIALIZED_NAME_EARNED_POINTS)
- private LoyaltyDashboardPointsBreakdown earnedPoints;
-
-
- public LoyaltyStatistics date(OffsetDateTime date) {
-
- this.date = date;
- return this;
- }
-
- /**
- * Date at which data point was collected.
- * @return date
- **/
- @ApiModelProperty(required = true, value = "Date at which data point was collected.")
-
- public OffsetDateTime getDate() {
- return date;
- }
-
-
- public void setDate(OffsetDateTime date) {
- this.date = date;
- }
-
-
- public LoyaltyStatistics totalActivePoints(BigDecimal totalActivePoints) {
-
- this.totalActivePoints = totalActivePoints;
- return this;
- }
-
- /**
- * Total of active points for this loyalty program.
- * @return totalActivePoints
- **/
- @ApiModelProperty(example = "9756.0", required = true, value = "Total of active points for this loyalty program.")
-
- public BigDecimal getTotalActivePoints() {
- return totalActivePoints;
- }
-
-
- public void setTotalActivePoints(BigDecimal totalActivePoints) {
- this.totalActivePoints = totalActivePoints;
- }
-
-
- public LoyaltyStatistics totalPendingPoints(BigDecimal totalPendingPoints) {
-
- this.totalPendingPoints = totalPendingPoints;
- return this;
- }
-
- /**
- * Total of pending points for this loyalty program.
- * @return totalPendingPoints
- **/
- @ApiModelProperty(example = "548.0", required = true, value = "Total of pending points for this loyalty program.")
-
- public BigDecimal getTotalPendingPoints() {
- return totalPendingPoints;
- }
-
-
- public void setTotalPendingPoints(BigDecimal totalPendingPoints) {
- this.totalPendingPoints = totalPendingPoints;
- }
-
-
- public LoyaltyStatistics totalSpentPoints(BigDecimal totalSpentPoints) {
-
- this.totalSpentPoints = totalSpentPoints;
- return this;
- }
-
- /**
- * Total of spent points for this loyalty program.
- * @return totalSpentPoints
- **/
- @ApiModelProperty(example = "25668.0", required = true, value = "Total of spent points for this loyalty program.")
-
- public BigDecimal getTotalSpentPoints() {
- return totalSpentPoints;
- }
-
-
- public void setTotalSpentPoints(BigDecimal totalSpentPoints) {
- this.totalSpentPoints = totalSpentPoints;
- }
-
-
- public LoyaltyStatistics totalExpiredPoints(BigDecimal totalExpiredPoints) {
-
- this.totalExpiredPoints = totalExpiredPoints;
- return this;
- }
-
- /**
- * Total of expired points for this loyalty program.
- * @return totalExpiredPoints
- **/
- @ApiModelProperty(example = "1156.0", required = true, value = "Total of expired points for this loyalty program.")
-
- public BigDecimal getTotalExpiredPoints() {
- return totalExpiredPoints;
- }
-
-
- public void setTotalExpiredPoints(BigDecimal totalExpiredPoints) {
- this.totalExpiredPoints = totalExpiredPoints;
- }
-
-
- public LoyaltyStatistics totalMembers(BigDecimal totalMembers) {
-
- this.totalMembers = totalMembers;
- return this;
- }
-
- /**
- * Number of loyalty program members.
- * @return totalMembers
- **/
- @ApiModelProperty(example = "2582.0", required = true, value = "Number of loyalty program members.")
-
- public BigDecimal getTotalMembers() {
- return totalMembers;
- }
-
-
- public void setTotalMembers(BigDecimal totalMembers) {
- this.totalMembers = totalMembers;
- }
-
-
- public LoyaltyStatistics newMembers(BigDecimal newMembers) {
-
- this.newMembers = newMembers;
- return this;
- }
-
- /**
- * Number of members who joined on this day.
- * @return newMembers
- **/
- @ApiModelProperty(example = "3.0", required = true, value = "Number of members who joined on this day.")
-
- public BigDecimal getNewMembers() {
- return newMembers;
- }
-
-
- public void setNewMembers(BigDecimal newMembers) {
- this.newMembers = newMembers;
- }
-
-
- public LoyaltyStatistics spentPoints(LoyaltyDashboardPointsBreakdown spentPoints) {
-
- this.spentPoints = spentPoints;
- return this;
- }
-
- /**
- * Get spentPoints
- * @return spentPoints
- **/
- @ApiModelProperty(required = true, value = "")
-
- public LoyaltyDashboardPointsBreakdown getSpentPoints() {
- return spentPoints;
- }
-
-
- public void setSpentPoints(LoyaltyDashboardPointsBreakdown spentPoints) {
- this.spentPoints = spentPoints;
- }
-
-
- public LoyaltyStatistics earnedPoints(LoyaltyDashboardPointsBreakdown earnedPoints) {
-
- this.earnedPoints = earnedPoints;
- return this;
- }
-
- /**
- * Get earnedPoints
- * @return earnedPoints
- **/
- @ApiModelProperty(required = true, value = "")
-
- public LoyaltyDashboardPointsBreakdown getEarnedPoints() {
- return earnedPoints;
- }
-
-
- public void setEarnedPoints(LoyaltyDashboardPointsBreakdown earnedPoints) {
- this.earnedPoints = earnedPoints;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- LoyaltyStatistics loyaltyStatistics = (LoyaltyStatistics) o;
- return Objects.equals(this.date, loyaltyStatistics.date) &&
- Objects.equals(this.totalActivePoints, loyaltyStatistics.totalActivePoints) &&
- Objects.equals(this.totalPendingPoints, loyaltyStatistics.totalPendingPoints) &&
- Objects.equals(this.totalSpentPoints, loyaltyStatistics.totalSpentPoints) &&
- Objects.equals(this.totalExpiredPoints, loyaltyStatistics.totalExpiredPoints) &&
- Objects.equals(this.totalMembers, loyaltyStatistics.totalMembers) &&
- Objects.equals(this.newMembers, loyaltyStatistics.newMembers) &&
- Objects.equals(this.spentPoints, loyaltyStatistics.spentPoints) &&
- Objects.equals(this.earnedPoints, loyaltyStatistics.earnedPoints);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(date, totalActivePoints, totalPendingPoints, totalSpentPoints, totalExpiredPoints, totalMembers, newMembers, spentPoints, earnedPoints);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class LoyaltyStatistics {\n");
- sb.append(" date: ").append(toIndentedString(date)).append("\n");
- sb.append(" totalActivePoints: ").append(toIndentedString(totalActivePoints)).append("\n");
- sb.append(" totalPendingPoints: ").append(toIndentedString(totalPendingPoints)).append("\n");
- sb.append(" totalSpentPoints: ").append(toIndentedString(totalSpentPoints)).append("\n");
- sb.append(" totalExpiredPoints: ").append(toIndentedString(totalExpiredPoints)).append("\n");
- sb.append(" totalMembers: ").append(toIndentedString(totalMembers)).append("\n");
- sb.append(" newMembers: ").append(toIndentedString(newMembers)).append("\n");
- sb.append(" spentPoints: ").append(toIndentedString(spentPoints)).append("\n");
- sb.append(" earnedPoints: ").append(toIndentedString(earnedPoints)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/LoyaltyTier.java b/src/main/java/one/talon/model/LoyaltyTier.java
index b827886d..087a5f40 100644
--- a/src/main/java/one/talon/model/LoyaltyTier.java
+++ b/src/main/java/one/talon/model/LoyaltyTier.java
@@ -34,7 +34,7 @@
public class LoyaltyTier {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -61,7 +61,7 @@ public class LoyaltyTier {
private BigDecimal minPoints;
- public LoyaltyTier id(Integer id) {
+ public LoyaltyTier id(Long id) {
this.id = id;
return this;
@@ -73,12 +73,12 @@ public LoyaltyTier id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/ModelImport.java b/src/main/java/one/talon/model/ModelImport.java
index a98c1761..088e1093 100644
--- a/src/main/java/one/talon/model/ModelImport.java
+++ b/src/main/java/one/talon/model/ModelImport.java
@@ -32,7 +32,7 @@
public class ModelImport {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -55,7 +55,7 @@ public class ModelImport {
private Integer amount;
- public ModelImport id(Integer id) {
+ public ModelImport id(Long id) {
this.id = id;
return this;
@@ -67,12 +67,12 @@ public ModelImport id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/ModelReturn.java b/src/main/java/one/talon/model/ModelReturn.java
index cb2ce6bf..182685bf 100644
--- a/src/main/java/one/talon/model/ModelReturn.java
+++ b/src/main/java/one/talon/model/ModelReturn.java
@@ -35,7 +35,7 @@
public class ModelReturn {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -78,7 +78,7 @@ public class ModelReturn {
private Integer createdBy;
- public ModelReturn id(Integer id) {
+ public ModelReturn id(Long id) {
this.id = id;
return this;
@@ -90,12 +90,12 @@ public ModelReturn id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/MultipleAudiencesItem.java b/src/main/java/one/talon/model/MultipleAudiencesItem.java
index 39919551..58aa273b 100644
--- a/src/main/java/one/talon/model/MultipleAudiencesItem.java
+++ b/src/main/java/one/talon/model/MultipleAudiencesItem.java
@@ -32,7 +32,7 @@
public class MultipleAudiencesItem {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -100,7 +100,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException {
private StatusEnum status;
- public MultipleAudiencesItem id(Integer id) {
+ public MultipleAudiencesItem id(Long id) {
this.id = id;
return this;
@@ -112,12 +112,12 @@ public MultipleAudiencesItem id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/MultipleCustomerProfileIntegrationRequestItem.java b/src/main/java/one/talon/model/MultipleCustomerProfileIntegrationRequestItem.java
index 59c25761..8fce94b3 100644
--- a/src/main/java/one/talon/model/MultipleCustomerProfileIntegrationRequestItem.java
+++ b/src/main/java/one/talon/model/MultipleCustomerProfileIntegrationRequestItem.java
@@ -23,20 +23,15 @@
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
-import one.talon.custom.JsonNullable;
-import one.talon.custom.NullableAdapterFactory;
/**
- *
+ * The body of a V2 integration API request (customer profile update). Next to the customer profile details, this contains an optional listing of extra properties that should be returned in the response.
*/
-@ApiModel(description = "")
-@JsonAdapter(NullableAdapterFactory.class)
+@ApiModel(description = "The body of a V2 integration API request (customer profile update). Next to the customer profile details, this contains an optional listing of extra properties that should be returned in the response. ")
public class MultipleCustomerProfileIntegrationRequestItem {
public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES)
- /*allow Serializing null for this field */
- @JsonNullable
private Object attributes;
public static final String SERIALIZED_NAME_INTEGRATION_ID = "integrationId";
diff --git a/src/main/java/one/talon/model/NewCampaignSetV2.java b/src/main/java/one/talon/model/NewCampaignSetV2.java
deleted file mode 100644
index 8408bbc9..00000000
--- a/src/main/java/one/talon/model/NewCampaignSetV2.java
+++ /dev/null
@@ -1,157 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import one.talon.model.CampaignPrioritiesV2;
-
-/**
- *
- */
-@ApiModel(description = "")
-
-public class NewCampaignSetV2 {
- public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId";
- @SerializedName(SERIALIZED_NAME_APPLICATION_ID)
- private Integer applicationId;
-
- public static final String SERIALIZED_NAME_VERSION = "version";
- @SerializedName(SERIALIZED_NAME_VERSION)
- private Integer version;
-
- public static final String SERIALIZED_NAME_SET = "set";
- @SerializedName(SERIALIZED_NAME_SET)
- private CampaignPrioritiesV2 set;
-
-
- public NewCampaignSetV2 applicationId(Integer applicationId) {
-
- this.applicationId = applicationId;
- return this;
- }
-
- /**
- * The ID of the application that owns this entity.
- * @return applicationId
- **/
- @ApiModelProperty(example = "322", required = true, value = "The ID of the application that owns this entity.")
-
- public Integer getApplicationId() {
- return applicationId;
- }
-
-
- public void setApplicationId(Integer applicationId) {
- this.applicationId = applicationId;
- }
-
-
- public NewCampaignSetV2 version(Integer version) {
-
- this.version = version;
- return this;
- }
-
- /**
- * Version of the campaign set.
- * minimum: 1
- * @return version
- **/
- @ApiModelProperty(example = "2", required = true, value = "Version of the campaign set.")
-
- public Integer getVersion() {
- return version;
- }
-
-
- public void setVersion(Integer version) {
- this.version = version;
- }
-
-
- public NewCampaignSetV2 set(CampaignPrioritiesV2 set) {
-
- this.set = set;
- return this;
- }
-
- /**
- * Get set
- * @return set
- **/
- @ApiModelProperty(required = true, value = "")
-
- public CampaignPrioritiesV2 getSet() {
- return set;
- }
-
-
- public void setSet(CampaignPrioritiesV2 set) {
- this.set = set;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- NewCampaignSetV2 newCampaignSetV2 = (NewCampaignSetV2) o;
- return Objects.equals(this.applicationId, newCampaignSetV2.applicationId) &&
- Objects.equals(this.version, newCampaignSetV2.version) &&
- Objects.equals(this.set, newCampaignSetV2.set);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(applicationId, version, set);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class NewCampaignSetV2 {\n");
- sb.append(" applicationId: ").append(toIndentedString(applicationId)).append("\n");
- sb.append(" version: ").append(toIndentedString(version)).append("\n");
- sb.append(" set: ").append(toIndentedString(set)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/NewCustomerProfile.java b/src/main/java/one/talon/model/NewCustomerProfile.java
index dfaf6855..15728dd3 100644
--- a/src/main/java/one/talon/model/NewCustomerProfile.java
+++ b/src/main/java/one/talon/model/NewCustomerProfile.java
@@ -23,19 +23,14 @@
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
-import one.talon.custom.JsonNullable;
-import one.talon.custom.NullableAdapterFactory;
/**
* NewCustomerProfile
*/
-@JsonAdapter(NullableAdapterFactory.class)
public class NewCustomerProfile {
public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES)
- /*allow Serializing null for this field */
- @JsonNullable
private Object attributes;
diff --git a/src/main/java/one/talon/model/NewCustomerSession.java b/src/main/java/one/talon/model/NewCustomerSession.java
index a49c6a0d..e248ec40 100644
--- a/src/main/java/one/talon/model/NewCustomerSession.java
+++ b/src/main/java/one/talon/model/NewCustomerSession.java
@@ -27,14 +27,10 @@
import java.util.ArrayList;
import java.util.List;
import one.talon.model.CartItem;
-import one.talon.custom.JsonNullable;
-import one.talon.custom.NullableAdapterFactory;
/**
- *
+ * NewCustomerSession
*/
-@ApiModel(description = "")
-@JsonAdapter(NullableAdapterFactory.class)
public class NewCustomerSession {
public static final String SERIALIZED_NAME_PROFILE_ID = "profileId";
@@ -118,8 +114,6 @@ public StateEnum read(final JsonReader jsonReader) throws IOException {
public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES)
- /*allow Serializing null for this field */
- @JsonNullable
private Object attributes;
diff --git a/src/main/java/one/talon/model/NewCustomerSessionV2.java b/src/main/java/one/talon/model/NewCustomerSessionV2.java
index 1bd84f12..7815bdf0 100644
--- a/src/main/java/one/talon/model/NewCustomerSessionV2.java
+++ b/src/main/java/one/talon/model/NewCustomerSessionV2.java
@@ -29,14 +29,11 @@
import java.util.Map;
import one.talon.model.AdditionalCost;
import one.talon.model.CartItem;
-import one.talon.custom.JsonNullable;
-import one.talon.custom.NullableAdapterFactory;
/**
* The representation of the customer session.
*/
@ApiModel(description = "The representation of the customer session.")
-@JsonAdapter(NullableAdapterFactory.class)
public class NewCustomerSessionV2 {
public static final String SERIALIZED_NAME_PROFILE_ID = "profileId";
@@ -132,8 +129,6 @@ public StateEnum read(final JsonReader jsonReader) throws IOException {
public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES)
- /*allow Serializing null for this field */
- @JsonNullable
private Object attributes;
@@ -229,11 +224,11 @@ public NewCustomerSessionV2 addCouponCodesItem(String couponCodesItem) {
}
/**
- * Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, provide `\"couponCodes\": null` or omit the parameter entirely.
+ * Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, omit the parameter entirely.
* @return couponCodes
**/
@javax.annotation.Nullable
- @ApiModelProperty(example = "[XMAS-20-2021]", value = "Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, provide `\"couponCodes\": null` or omit the parameter entirely. ")
+ @ApiModelProperty(example = "[XMAS-20-2021]", value = "Any coupon codes entered. **Important - for requests only**: - If you [create a coupon budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a coupon code by the time you close it. - In requests where `dry=false`, providing an empty array discards any previous coupons. To avoid this, omit the parameter entirely. ")
public List getCouponCodes() {
return couponCodes;
@@ -252,11 +247,11 @@ public NewCustomerSessionV2 referralCode(String referralCode) {
}
/**
- * Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, provide `\"referralCode\": null` or omit the parameter entirely.
+ * Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, omit the parameter entirely.
* @return referralCode
**/
@javax.annotation.Nullable
- @ApiModelProperty(example = "NT2K54D9", value = "Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, provide `\"referralCode\": null` or omit the parameter entirely. ")
+ @ApiModelProperty(example = "NT2K54D9", value = "Any referral code entered. **Important - for requests only**: - If you [create a referral budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign, ensure the session contains a referral code by the time you close it. - In requests where `dry=false`, providing an empty value discards the previous referral code. To avoid this, omit the parameter entirely. ")
public String getReferralCode() {
return referralCode;
@@ -399,11 +394,11 @@ public NewCustomerSessionV2 addIdentifiersItem(String identifiersItem) {
}
/**
- * Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview).
+ * Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). - We recommend passing an anonymized (hashed) version of the identifier value.
* @return identifiers
**/
@javax.annotation.Nullable
- @ApiModelProperty(example = "[91.11.156.141]", value = "Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). ")
+ @ApiModelProperty(example = "[d41306257915f83fe01e54092ae470f631161ea16fcf4415842eed41470386ea]", value = "Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). - We recommend passing an anonymized (hashed) version of the identifier value. ")
public List getIdentifiers() {
return identifiers;
diff --git a/src/main/java/one/talon/model/NewEvent.java b/src/main/java/one/talon/model/NewEvent.java
index 66d2acf3..cb080b3d 100644
--- a/src/main/java/one/talon/model/NewEvent.java
+++ b/src/main/java/one/talon/model/NewEvent.java
@@ -23,14 +23,10 @@
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
-import one.talon.custom.JsonNullable;
-import one.talon.custom.NullableAdapterFactory;
/**
- *
+ * NewEvent
*/
-@ApiModel(description = "")
-@JsonAdapter(NullableAdapterFactory.class)
public class NewEvent {
public static final String SERIALIZED_NAME_PROFILE_ID = "profileId";
@@ -47,8 +43,6 @@ public class NewEvent {
public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES)
- /*allow Serializing null for this field */
- @JsonNullable
private Object attributes;
public static final String SERIALIZED_NAME_SESSION_ID = "sessionId";
diff --git a/src/main/java/one/talon/model/NewNotificationTest.java b/src/main/java/one/talon/model/NewNotificationTest.java
deleted file mode 100644
index 3250624a..00000000
--- a/src/main/java/one/talon/model/NewNotificationTest.java
+++ /dev/null
@@ -1,379 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-/**
- * NewNotificationTest
- */
-
-public class NewNotificationTest {
- /**
- * The notification type.
- */
- @JsonAdapter(TypeEnum.Adapter.class)
- public enum TypeEnum {
- CAMPAIGN("campaign"),
-
- LOYALTY_ADDED_DEDUCTED_POINTS("loyalty_added_deducted_points"),
-
- CARD_ADDED_DEDUCTED_POINTS("card_added_deducted_points"),
-
- COUPON("coupon"),
-
- EXPIRING_COUPONS("expiring_coupons"),
-
- EXPIRING_POINTS("expiring_points"),
-
- PENDING_TO_ACTIVE_POINTS("pending_to_active_points"),
-
- STRIKETHROUGH_PRICING("strikethrough_pricing"),
-
- TIER_DOWNGRADE("tier_downgrade"),
-
- TIER_UPGRADE("tier_upgrade"),
-
- TIER_WILL_DOWNGRADE("tier_will_downgrade"),
-
- CARD_EXPIRING_POINTS("card_expiring_points");
-
- private String value;
-
- TypeEnum(String value) {
- this.value = value;
- }
-
- public String getValue() {
- return value;
- }
-
- @Override
- public String toString() {
- return String.valueOf(value);
- }
-
- public static TypeEnum fromValue(String value) {
- for (TypeEnum b : TypeEnum.values()) {
- if (b.value.equals(value)) {
- return b;
- }
- }
- throw new IllegalArgumentException("Unexpected value '" + value + "'");
- }
-
- public static class Adapter extends TypeAdapter {
- @Override
- public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException {
- jsonWriter.value(enumeration.getValue());
- }
-
- @Override
- public TypeEnum read(final JsonReader jsonReader) throws IOException {
- String value = jsonReader.nextString();
- return TypeEnum.fromValue(value);
- }
- }
- }
-
- public static final String SERIALIZED_NAME_TYPE = "type";
- @SerializedName(SERIALIZED_NAME_TYPE)
- private TypeEnum type;
-
- public static final String SERIALIZED_NAME_QUERY_PARAMS = "queryParams";
- @SerializedName(SERIALIZED_NAME_QUERY_PARAMS)
- private Map queryParams = null;
-
- public static final String SERIALIZED_NAME_HEADERS = "headers";
- @SerializedName(SERIALIZED_NAME_HEADERS)
- private Map headers = null;
-
- /**
- * API method for this notification.
- */
- @JsonAdapter(VerbEnum.Adapter.class)
- public enum VerbEnum {
- POST("POST"),
-
- PUT("PUT"),
-
- GET("GET"),
-
- DELETE("DELETE"),
-
- PATCH("PATCH");
-
- private String value;
-
- VerbEnum(String value) {
- this.value = value;
- }
-
- public String getValue() {
- return value;
- }
-
- @Override
- public String toString() {
- return String.valueOf(value);
- }
-
- public static VerbEnum fromValue(String value) {
- for (VerbEnum b : VerbEnum.values()) {
- if (b.value.equals(value)) {
- return b;
- }
- }
- throw new IllegalArgumentException("Unexpected value '" + value + "'");
- }
-
- public static class Adapter extends TypeAdapter {
- @Override
- public void write(final JsonWriter jsonWriter, final VerbEnum enumeration) throws IOException {
- jsonWriter.value(enumeration.getValue());
- }
-
- @Override
- public VerbEnum read(final JsonReader jsonReader) throws IOException {
- String value = jsonReader.nextString();
- return VerbEnum.fromValue(value);
- }
- }
- }
-
- public static final String SERIALIZED_NAME_VERB = "verb";
- @SerializedName(SERIALIZED_NAME_VERB)
- private VerbEnum verb;
-
- public static final String SERIALIZED_NAME_URL = "url";
- @SerializedName(SERIALIZED_NAME_URL)
- private String url;
-
- public static final String SERIALIZED_NAME_PAYLOAD = "payload";
- @SerializedName(SERIALIZED_NAME_PAYLOAD)
- private String payload;
-
-
- public NewNotificationTest type(TypeEnum type) {
-
- this.type = type;
- return this;
- }
-
- /**
- * The notification type.
- * @return type
- **/
- @ApiModelProperty(example = "loyalty_added_deducted_points", required = true, value = "The notification type.")
-
- public TypeEnum getType() {
- return type;
- }
-
-
- public void setType(TypeEnum type) {
- this.type = type;
- }
-
-
- public NewNotificationTest queryParams(Map queryParams) {
-
- this.queryParams = queryParams;
- return this;
- }
-
- public NewNotificationTest putQueryParamsItem(String key, String queryParamsItem) {
- if (this.queryParams == null) {
- this.queryParams = new HashMap();
- }
- this.queryParams.put(key, queryParamsItem);
- return this;
- }
-
- /**
- * Array of query parameters.
- * @return queryParams
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "{\"param1\":\"value1\",\"param2\":\"value2\"}", value = "Array of query parameters.")
-
- public Map getQueryParams() {
- return queryParams;
- }
-
-
- public void setQueryParams(Map queryParams) {
- this.queryParams = queryParams;
- }
-
-
- public NewNotificationTest headers(Map headers) {
-
- this.headers = headers;
- return this;
- }
-
- public NewNotificationTest putHeadersItem(String key, String headersItem) {
- if (this.headers == null) {
- this.headers = new HashMap();
- }
- this.headers.put(key, headersItem);
- return this;
- }
-
- /**
- * List of API HTTP headers for the given webhook-based notification.
- * @return headers
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "{\"content-type\":\"application/json\"}", value = "List of API HTTP headers for the given webhook-based notification.")
-
- public Map getHeaders() {
- return headers;
- }
-
-
- public void setHeaders(Map headers) {
- this.headers = headers;
- }
-
-
- public NewNotificationTest verb(VerbEnum verb) {
-
- this.verb = verb;
- return this;
- }
-
- /**
- * API method for this notification.
- * @return verb
- **/
- @ApiModelProperty(example = "POST", required = true, value = "API method for this notification.")
-
- public VerbEnum getVerb() {
- return verb;
- }
-
-
- public void setVerb(VerbEnum verb) {
- this.verb = verb;
- }
-
-
- public NewNotificationTest url(String url) {
-
- this.url = url;
- return this;
- }
-
- /**
- * API URL for the given notification.
- * @return url
- **/
- @ApiModelProperty(example = "www.my-company.com/my-endpoint-name", required = true, value = "API URL for the given notification.")
-
- public String getUrl() {
- return url;
- }
-
-
- public void setUrl(String url) {
- this.url = url;
- }
-
-
- public NewNotificationTest payload(String payload) {
-
- this.payload = payload;
- return this;
- }
-
- /**
- * API payload of this notification.
- * @return payload
- **/
- @ApiModelProperty(example = "{ \"message\": \"${message}\" }", required = true, value = "API payload of this notification.")
-
- public String getPayload() {
- return payload;
- }
-
-
- public void setPayload(String payload) {
- this.payload = payload;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- NewNotificationTest newNotificationTest = (NewNotificationTest) o;
- return Objects.equals(this.type, newNotificationTest.type) &&
- Objects.equals(this.queryParams, newNotificationTest.queryParams) &&
- Objects.equals(this.headers, newNotificationTest.headers) &&
- Objects.equals(this.verb, newNotificationTest.verb) &&
- Objects.equals(this.url, newNotificationTest.url) &&
- Objects.equals(this.payload, newNotificationTest.payload);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(type, queryParams, headers, verb, url, payload);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class NewNotificationTest {\n");
- sb.append(" type: ").append(toIndentedString(type)).append("\n");
- sb.append(" queryParams: ").append(toIndentedString(queryParams)).append("\n");
- sb.append(" headers: ").append(toIndentedString(headers)).append("\n");
- sb.append(" verb: ").append(toIndentedString(verb)).append("\n");
- sb.append(" url: ").append(toIndentedString(url)).append("\n");
- sb.append(" payload: ").append(toIndentedString(payload)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/NewReferralsForMultipleAdvocates.java b/src/main/java/one/talon/model/NewReferralsForMultipleAdvocates.java
index a18f92b2..98c6b13e 100644
--- a/src/main/java/one/talon/model/NewReferralsForMultipleAdvocates.java
+++ b/src/main/java/one/talon/model/NewReferralsForMultipleAdvocates.java
@@ -26,14 +26,10 @@
import java.util.ArrayList;
import java.util.List;
import org.threeten.bp.OffsetDateTime;
-import one.talon.custom.JsonNullable;
-import one.talon.custom.NullableAdapterFactory;
/**
- *
+ * NewReferralsForMultipleAdvocates
*/
-@ApiModel(description = "")
-@JsonAdapter(NullableAdapterFactory.class)
public class NewReferralsForMultipleAdvocates {
public static final String SERIALIZED_NAME_START_DATE = "startDate";
@@ -58,8 +54,6 @@ public class NewReferralsForMultipleAdvocates {
public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES)
- /*allow Serializing null for this field */
- @JsonNullable
private Object attributes;
public static final String SERIALIZED_NAME_VALID_CHARACTERS = "validCharacters";
diff --git a/src/main/java/one/talon/model/NotificationTest.java b/src/main/java/one/talon/model/NotificationTest.java
deleted file mode 100644
index cfd1dc25..00000000
--- a/src/main/java/one/talon/model/NotificationTest.java
+++ /dev/null
@@ -1,126 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-
-/**
- * NotificationTest
- */
-
-public class NotificationTest {
- public static final String SERIALIZED_NAME_HTTP_RESPONSE = "httpResponse";
- @SerializedName(SERIALIZED_NAME_HTTP_RESPONSE)
- private String httpResponse;
-
- public static final String SERIALIZED_NAME_HTTP_STATUS = "httpStatus";
- @SerializedName(SERIALIZED_NAME_HTTP_STATUS)
- private Integer httpStatus;
-
-
- public NotificationTest httpResponse(String httpResponse) {
-
- this.httpResponse = httpResponse;
- return this;
- }
-
- /**
- * The returned http response.
- * @return httpResponse
- **/
- @ApiModelProperty(example = "HTTP/1.1 200 OK Content-Type: application/json Content-Length: 256 { \"message\": \"Hello, world!\", \"status\": \"success\" } ", required = true, value = "The returned http response.")
-
- public String getHttpResponse() {
- return httpResponse;
- }
-
-
- public void setHttpResponse(String httpResponse) {
- this.httpResponse = httpResponse;
- }
-
-
- public NotificationTest httpStatus(Integer httpStatus) {
-
- this.httpStatus = httpStatus;
- return this;
- }
-
- /**
- * The returned http status code.
- * @return httpStatus
- **/
- @ApiModelProperty(example = "200", required = true, value = "The returned http status code.")
-
- public Integer getHttpStatus() {
- return httpStatus;
- }
-
-
- public void setHttpStatus(Integer httpStatus) {
- this.httpStatus = httpStatus;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- NotificationTest notificationTest = (NotificationTest) o;
- return Objects.equals(this.httpResponse, notificationTest.httpResponse) &&
- Objects.equals(this.httpStatus, notificationTest.httpStatus);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(httpResponse, httpStatus);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class NotificationTest {\n");
- sb.append(" httpResponse: ").append(toIndentedString(httpResponse)).append("\n");
- sb.append(" httpStatus: ").append(toIndentedString(httpStatus)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/NotificationWebhook.java b/src/main/java/one/talon/model/NotificationWebhook.java
deleted file mode 100644
index 245810aa..00000000
--- a/src/main/java/one/talon/model/NotificationWebhook.java
+++ /dev/null
@@ -1,276 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-import org.threeten.bp.OffsetDateTime;
-
-/**
- *
- */
-@ApiModel(description = "")
-
-public class NotificationWebhook {
- public static final String SERIALIZED_NAME_ID = "id";
- @SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
-
- public static final String SERIALIZED_NAME_CREATED = "created";
- @SerializedName(SERIALIZED_NAME_CREATED)
- private OffsetDateTime created;
-
- public static final String SERIALIZED_NAME_MODIFIED = "modified";
- @SerializedName(SERIALIZED_NAME_MODIFIED)
- private OffsetDateTime modified;
-
- public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId";
- @SerializedName(SERIALIZED_NAME_APPLICATION_ID)
- private Integer applicationId;
-
- public static final String SERIALIZED_NAME_URL = "url";
- @SerializedName(SERIALIZED_NAME_URL)
- private String url;
-
- public static final String SERIALIZED_NAME_HEADERS = "headers";
- @SerializedName(SERIALIZED_NAME_HEADERS)
- private List headers = new ArrayList();
-
- public static final String SERIALIZED_NAME_ENABLED = "enabled";
- @SerializedName(SERIALIZED_NAME_ENABLED)
- private Boolean enabled = true;
-
-
- public NotificationWebhook id(Integer id) {
-
- this.id = id;
- return this;
- }
-
- /**
- * Internal ID of this entity.
- * @return id
- **/
- @ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
-
- public Integer getId() {
- return id;
- }
-
-
- public void setId(Integer id) {
- this.id = id;
- }
-
-
- public NotificationWebhook created(OffsetDateTime created) {
-
- this.created = created;
- return this;
- }
-
- /**
- * The time this entity was created.
- * @return created
- **/
- @ApiModelProperty(example = "2020-06-10T09:05:27.993483Z", required = true, value = "The time this entity was created.")
-
- public OffsetDateTime getCreated() {
- return created;
- }
-
-
- public void setCreated(OffsetDateTime created) {
- this.created = created;
- }
-
-
- public NotificationWebhook modified(OffsetDateTime modified) {
-
- this.modified = modified;
- return this;
- }
-
- /**
- * The time this entity was last modified.
- * @return modified
- **/
- @ApiModelProperty(example = "2021-09-12T10:12:42Z", required = true, value = "The time this entity was last modified.")
-
- public OffsetDateTime getModified() {
- return modified;
- }
-
-
- public void setModified(OffsetDateTime modified) {
- this.modified = modified;
- }
-
-
- public NotificationWebhook applicationId(Integer applicationId) {
-
- this.applicationId = applicationId;
- return this;
- }
-
- /**
- * The ID of the application that owns this entity.
- * @return applicationId
- **/
- @ApiModelProperty(example = "322", required = true, value = "The ID of the application that owns this entity.")
-
- public Integer getApplicationId() {
- return applicationId;
- }
-
-
- public void setApplicationId(Integer applicationId) {
- this.applicationId = applicationId;
- }
-
-
- public NotificationWebhook url(String url) {
-
- this.url = url;
- return this;
- }
-
- /**
- * API URL for the given webhook-based notification.
- * @return url
- **/
- @ApiModelProperty(example = "www.my-company.com/my-endpoint-name", required = true, value = "API URL for the given webhook-based notification.")
-
- public String getUrl() {
- return url;
- }
-
-
- public void setUrl(String url) {
- this.url = url;
- }
-
-
- public NotificationWebhook headers(List headers) {
-
- this.headers = headers;
- return this;
- }
-
- public NotificationWebhook addHeadersItem(String headersItem) {
- this.headers.add(headersItem);
- return this;
- }
-
- /**
- * List of API HTTP headers for the given webhook-based notification.
- * @return headers
- **/
- @ApiModelProperty(example = "content-type: application/json", required = true, value = "List of API HTTP headers for the given webhook-based notification.")
-
- public List getHeaders() {
- return headers;
- }
-
-
- public void setHeaders(List headers) {
- this.headers = headers;
- }
-
-
- public NotificationWebhook enabled(Boolean enabled) {
-
- this.enabled = enabled;
- return this;
- }
-
- /**
- * Indicates whether sending the notification is enabled.
- * @return enabled
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(example = "true", value = "Indicates whether sending the notification is enabled.")
-
- public Boolean getEnabled() {
- return enabled;
- }
-
-
- public void setEnabled(Boolean enabled) {
- this.enabled = enabled;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- NotificationWebhook notificationWebhook = (NotificationWebhook) o;
- return Objects.equals(this.id, notificationWebhook.id) &&
- Objects.equals(this.created, notificationWebhook.created) &&
- Objects.equals(this.modified, notificationWebhook.modified) &&
- Objects.equals(this.applicationId, notificationWebhook.applicationId) &&
- Objects.equals(this.url, notificationWebhook.url) &&
- Objects.equals(this.headers, notificationWebhook.headers) &&
- Objects.equals(this.enabled, notificationWebhook.enabled);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, created, modified, applicationId, url, headers, enabled);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class NotificationWebhook {\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" created: ").append(toIndentedString(created)).append("\n");
- sb.append(" modified: ").append(toIndentedString(modified)).append("\n");
- sb.append(" applicationId: ").append(toIndentedString(applicationId)).append("\n");
- sb.append(" url: ").append(toIndentedString(url)).append("\n");
- sb.append(" headers: ").append(toIndentedString(headers)).append("\n");
- sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/OutgoingIntegrationWebhookTemplate.java b/src/main/java/one/talon/model/OutgoingIntegrationWebhookTemplate.java
deleted file mode 100644
index 5e79e487..00000000
--- a/src/main/java/one/talon/model/OutgoingIntegrationWebhookTemplate.java
+++ /dev/null
@@ -1,291 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-
-/**
- * OutgoingIntegrationWebhookTemplate
- */
-
-public class OutgoingIntegrationWebhookTemplate {
- public static final String SERIALIZED_NAME_ID = "id";
- @SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
-
- public static final String SERIALIZED_NAME_INTEGRATION_TYPE = "integrationType";
- @SerializedName(SERIALIZED_NAME_INTEGRATION_TYPE)
- private Integer integrationType;
-
- public static final String SERIALIZED_NAME_TITLE = "title";
- @SerializedName(SERIALIZED_NAME_TITLE)
- private String title;
-
- public static final String SERIALIZED_NAME_DESCRIPTION = "description";
- @SerializedName(SERIALIZED_NAME_DESCRIPTION)
- private String description;
-
- public static final String SERIALIZED_NAME_PAYLOAD = "payload";
- @SerializedName(SERIALIZED_NAME_PAYLOAD)
- private String payload;
-
- /**
- * API method for this webhook.
- */
- @JsonAdapter(MethodEnum.Adapter.class)
- public enum MethodEnum {
- POST("POST"),
-
- PUT("PUT"),
-
- GET("GET"),
-
- DELETE("DELETE"),
-
- PATCH("PATCH");
-
- private String value;
-
- MethodEnum(String value) {
- this.value = value;
- }
-
- public String getValue() {
- return value;
- }
-
- @Override
- public String toString() {
- return String.valueOf(value);
- }
-
- public static MethodEnum fromValue(String value) {
- for (MethodEnum b : MethodEnum.values()) {
- if (b.value.equals(value)) {
- return b;
- }
- }
- throw new IllegalArgumentException("Unexpected value '" + value + "'");
- }
-
- public static class Adapter extends TypeAdapter {
- @Override
- public void write(final JsonWriter jsonWriter, final MethodEnum enumeration) throws IOException {
- jsonWriter.value(enumeration.getValue());
- }
-
- @Override
- public MethodEnum read(final JsonReader jsonReader) throws IOException {
- String value = jsonReader.nextString();
- return MethodEnum.fromValue(value);
- }
- }
- }
-
- public static final String SERIALIZED_NAME_METHOD = "method";
- @SerializedName(SERIALIZED_NAME_METHOD)
- private MethodEnum method;
-
-
- public OutgoingIntegrationWebhookTemplate id(Integer id) {
-
- this.id = id;
- return this;
- }
-
- /**
- * Unique Id for this entity.
- * @return id
- **/
- @ApiModelProperty(example = "6", required = true, value = "Unique Id for this entity.")
-
- public Integer getId() {
- return id;
- }
-
-
- public void setId(Integer id) {
- this.id = id;
- }
-
-
- public OutgoingIntegrationWebhookTemplate integrationType(Integer integrationType) {
-
- this.integrationType = integrationType;
- return this;
- }
-
- /**
- * Unique Id of outgoing integration type.
- * @return integrationType
- **/
- @ApiModelProperty(example = "2", required = true, value = "Unique Id of outgoing integration type.")
-
- public Integer getIntegrationType() {
- return integrationType;
- }
-
-
- public void setIntegrationType(Integer integrationType) {
- this.integrationType = integrationType;
- }
-
-
- public OutgoingIntegrationWebhookTemplate title(String title) {
-
- this.title = title;
- return this;
- }
-
- /**
- * Title of the webhook template.
- * @return title
- **/
- @ApiModelProperty(example = "Send email via braze", required = true, value = "Title of the webhook template.")
-
- public String getTitle() {
- return title;
- }
-
-
- public void setTitle(String title) {
- this.title = title;
- }
-
-
- public OutgoingIntegrationWebhookTemplate description(String description) {
-
- this.description = description;
- return this;
- }
-
- /**
- * General description for the specific outgoing integration webhook template.
- * @return description
- **/
- @ApiModelProperty(example = "Waiting for docs team", required = true, value = "General description for the specific outgoing integration webhook template.")
-
- public String getDescription() {
- return description;
- }
-
-
- public void setDescription(String description) {
- this.description = description;
- }
-
-
- public OutgoingIntegrationWebhookTemplate payload(String payload) {
-
- this.payload = payload;
- return this;
- }
-
- /**
- * API payload (supports templating using parameters) for this webhook template.
- * @return payload
- **/
- @ApiModelProperty(example = "{ \"message\": \"${message}\" }", required = true, value = "API payload (supports templating using parameters) for this webhook template.")
-
- public String getPayload() {
- return payload;
- }
-
-
- public void setPayload(String payload) {
- this.payload = payload;
- }
-
-
- public OutgoingIntegrationWebhookTemplate method(MethodEnum method) {
-
- this.method = method;
- return this;
- }
-
- /**
- * API method for this webhook.
- * @return method
- **/
- @ApiModelProperty(example = "POST", required = true, value = "API method for this webhook.")
-
- public MethodEnum getMethod() {
- return method;
- }
-
-
- public void setMethod(MethodEnum method) {
- this.method = method;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- OutgoingIntegrationWebhookTemplate outgoingIntegrationWebhookTemplate = (OutgoingIntegrationWebhookTemplate) o;
- return Objects.equals(this.id, outgoingIntegrationWebhookTemplate.id) &&
- Objects.equals(this.integrationType, outgoingIntegrationWebhookTemplate.integrationType) &&
- Objects.equals(this.title, outgoingIntegrationWebhookTemplate.title) &&
- Objects.equals(this.description, outgoingIntegrationWebhookTemplate.description) &&
- Objects.equals(this.payload, outgoingIntegrationWebhookTemplate.payload) &&
- Objects.equals(this.method, outgoingIntegrationWebhookTemplate.method);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, integrationType, title, description, payload, method);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class OutgoingIntegrationWebhookTemplate {\n");
- sb.append(" id: ").append(toIndentedString(id)).append("\n");
- sb.append(" integrationType: ").append(toIndentedString(integrationType)).append("\n");
- sb.append(" title: ").append(toIndentedString(title)).append("\n");
- sb.append(" description: ").append(toIndentedString(description)).append("\n");
- sb.append(" payload: ").append(toIndentedString(payload)).append("\n");
- sb.append(" method: ").append(toIndentedString(method)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/OutgoingIntegrationWebhookTemplates.java b/src/main/java/one/talon/model/OutgoingIntegrationWebhookTemplates.java
deleted file mode 100644
index 55c5f904..00000000
--- a/src/main/java/one/talon/model/OutgoingIntegrationWebhookTemplates.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-import one.talon.model.OutgoingIntegrationWebhookTemplate;
-
-/**
- * OutgoingIntegrationWebhookTemplates
- */
-
-public class OutgoingIntegrationWebhookTemplates {
- public static final String SERIALIZED_NAME_DATA = "data";
- @SerializedName(SERIALIZED_NAME_DATA)
- private List data = null;
-
-
- public OutgoingIntegrationWebhookTemplates data(List data) {
-
- this.data = data;
- return this;
- }
-
- public OutgoingIntegrationWebhookTemplates addDataItem(OutgoingIntegrationWebhookTemplate dataItem) {
- if (this.data == null) {
- this.data = new ArrayList();
- }
- this.data.add(dataItem);
- return this;
- }
-
- /**
- * The list of webhook templates for a given outgoing integration type.
- * @return data
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "The list of webhook templates for a given outgoing integration type.")
-
- public List getData() {
- return data;
- }
-
-
- public void setData(List data) {
- this.data = data;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- OutgoingIntegrationWebhookTemplates outgoingIntegrationWebhookTemplates = (OutgoingIntegrationWebhookTemplates) o;
- return Objects.equals(this.data, outgoingIntegrationWebhookTemplates.data);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(data);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class OutgoingIntegrationWebhookTemplates {\n");
- sb.append(" data: ").append(toIndentedString(data)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/PatchItemCatalogAction.java b/src/main/java/one/talon/model/PatchItemCatalogAction.java
index e0b63b7f..18419072 100644
--- a/src/main/java/one/talon/model/PatchItemCatalogAction.java
+++ b/src/main/java/one/talon/model/PatchItemCatalogAction.java
@@ -24,14 +24,12 @@
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
-import one.talon.custom.JsonNullable;
-import one.talon.custom.NullableAdapterFactory;
+import one.talon.model.Product;
/**
* The specific properties of the \"PATCH\" catalog sync action. **Note:** - If you do not provide a new `price` value, the existing `price` value is retained. - If you do not provide a new `product` value, the `product` value is set to `null`.
*/
@ApiModel(description = "The specific properties of the \"PATCH\" catalog sync action. **Note:** - If you do not provide a new `price` value, the existing `price` value is retained. - If you do not provide a new `product` value, the `product` value is set to `null`. ")
-@JsonAdapter(NullableAdapterFactory.class)
public class PatchItemCatalogAction {
public static final String SERIALIZED_NAME_SKU = "sku";
@@ -44,8 +42,6 @@ public class PatchItemCatalogAction {
public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES)
- /*allow Serializing null for this field */
- @JsonNullable
private Object attributes;
public static final String SERIALIZED_NAME_PRODUCT = "product";
diff --git a/src/main/java/one/talon/model/PatchManyItemsCatalogAction.java b/src/main/java/one/talon/model/PatchManyItemsCatalogAction.java
index 63343879..817d2f02 100644
--- a/src/main/java/one/talon/model/PatchManyItemsCatalogAction.java
+++ b/src/main/java/one/talon/model/PatchManyItemsCatalogAction.java
@@ -27,14 +27,11 @@
import java.util.ArrayList;
import java.util.List;
import one.talon.model.CatalogActionFilter;
-import one.talon.custom.JsonNullable;
-import one.talon.custom.NullableAdapterFactory;
/**
* The specific properties of the \"PATCH_MANY\" catalog sync action.
*/
@ApiModel(description = "The specific properties of the \"PATCH_MANY\" catalog sync action.")
-@JsonAdapter(NullableAdapterFactory.class)
public class PatchManyItemsCatalogAction {
public static final String SERIALIZED_NAME_PRICE = "price";
@@ -47,8 +44,6 @@ public class PatchManyItemsCatalogAction {
public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes";
@SerializedName(SERIALIZED_NAME_ATTRIBUTES)
- /*allow Serializing null for this field */
- @JsonNullable
private Object attributes;
diff --git a/src/main/java/one/talon/model/Picklist.java b/src/main/java/one/talon/model/Picklist.java
index db65d63a..2e3d5b50 100644
--- a/src/main/java/one/talon/model/Picklist.java
+++ b/src/main/java/one/talon/model/Picklist.java
@@ -34,7 +34,7 @@
public class Picklist {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -116,7 +116,7 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException {
private Boolean imported;
- public Picklist id(Integer id) {
+ public Picklist id(Long id) {
this.id = id;
return this;
@@ -128,12 +128,12 @@ public Picklist id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/PriorityPosition.java b/src/main/java/one/talon/model/PriorityPosition.java
deleted file mode 100644
index 7fb109f2..00000000
--- a/src/main/java/one/talon/model/PriorityPosition.java
+++ /dev/null
@@ -1,176 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-
-/**
- * The campaign priority.
- */
-@ApiModel(description = "The campaign priority.")
-
-public class PriorityPosition {
- /**
- * The name of the priority set where the campaign is located.
- */
- @JsonAdapter(SetEnum.Adapter.class)
- public enum SetEnum {
- UNIVERSAL("universal"),
-
- STACKABLE("stackable"),
-
- EXCLUSIVE("exclusive");
-
- private String value;
-
- SetEnum(String value) {
- this.value = value;
- }
-
- public String getValue() {
- return value;
- }
-
- @Override
- public String toString() {
- return String.valueOf(value);
- }
-
- public static SetEnum fromValue(String value) {
- for (SetEnum b : SetEnum.values()) {
- if (b.value.equals(value)) {
- return b;
- }
- }
- throw new IllegalArgumentException("Unexpected value '" + value + "'");
- }
-
- public static class Adapter extends TypeAdapter {
- @Override
- public void write(final JsonWriter jsonWriter, final SetEnum enumeration) throws IOException {
- jsonWriter.value(enumeration.getValue());
- }
-
- @Override
- public SetEnum read(final JsonReader jsonReader) throws IOException {
- String value = jsonReader.nextString();
- return SetEnum.fromValue(value);
- }
- }
- }
-
- public static final String SERIALIZED_NAME_SET = "set";
- @SerializedName(SERIALIZED_NAME_SET)
- private SetEnum set = SetEnum.UNIVERSAL;
-
- public static final String SERIALIZED_NAME_POSITION = "position";
- @SerializedName(SERIALIZED_NAME_POSITION)
- private Integer position;
-
-
- public PriorityPosition set(SetEnum set) {
-
- this.set = set;
- return this;
- }
-
- /**
- * The name of the priority set where the campaign is located.
- * @return set
- **/
- @ApiModelProperty(example = "universal", required = true, value = "The name of the priority set where the campaign is located.")
-
- public SetEnum getSet() {
- return set;
- }
-
-
- public void setSet(SetEnum set) {
- this.set = set;
- }
-
-
- public PriorityPosition position(Integer position) {
-
- this.position = position;
- return this;
- }
-
- /**
- * The position of the campaign in the priority order starting from 1.
- * @return position
- **/
- @ApiModelProperty(example = "1", required = true, value = "The position of the campaign in the priority order starting from 1.")
-
- public Integer getPosition() {
- return position;
- }
-
-
- public void setPosition(Integer position) {
- this.position = position;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- PriorityPosition priorityPosition = (PriorityPosition) o;
- return Objects.equals(this.set, priorityPosition.set) &&
- Objects.equals(this.position, priorityPosition.position);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(set, position);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class PriorityPosition {\n");
- sb.append(" set: ").append(toIndentedString(set)).append("\n");
- sb.append(" position: ").append(toIndentedString(position)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/ProductSkuUnitAnalytics.java b/src/main/java/one/talon/model/ProductSkuUnitAnalytics.java
deleted file mode 100644
index a496275f..00000000
--- a/src/main/java/one/talon/model/ProductSkuUnitAnalytics.java
+++ /dev/null
@@ -1,184 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import one.talon.model.AnalyticsDataPointWithTrend;
-import org.threeten.bp.OffsetDateTime;
-
-/**
- * ProductSkuUnitAnalytics
- */
-
-public class ProductSkuUnitAnalytics {
- public static final String SERIALIZED_NAME_START_TIME = "startTime";
- @SerializedName(SERIALIZED_NAME_START_TIME)
- private OffsetDateTime startTime;
-
- public static final String SERIALIZED_NAME_END_TIME = "endTime";
- @SerializedName(SERIALIZED_NAME_END_TIME)
- private OffsetDateTime endTime;
-
- public static final String SERIALIZED_NAME_PURCHASED_UNITS = "purchasedUnits";
- @SerializedName(SERIALIZED_NAME_PURCHASED_UNITS)
- private AnalyticsDataPointWithTrend purchasedUnits;
-
- public static final String SERIALIZED_NAME_SKU = "sku";
- @SerializedName(SERIALIZED_NAME_SKU)
- private String sku;
-
-
- public ProductSkuUnitAnalytics startTime(OffsetDateTime startTime) {
-
- this.startTime = startTime;
- return this;
- }
-
- /**
- * The start of the aggregation time frame in UTC.
- * @return startTime
- **/
- @ApiModelProperty(example = "2024-02-01T00:00Z", required = true, value = "The start of the aggregation time frame in UTC.")
-
- public OffsetDateTime getStartTime() {
- return startTime;
- }
-
-
- public void setStartTime(OffsetDateTime startTime) {
- this.startTime = startTime;
- }
-
-
- public ProductSkuUnitAnalytics endTime(OffsetDateTime endTime) {
-
- this.endTime = endTime;
- return this;
- }
-
- /**
- * The end of the aggregation time frame in UTC.
- * @return endTime
- **/
- @ApiModelProperty(required = true, value = "The end of the aggregation time frame in UTC.")
-
- public OffsetDateTime getEndTime() {
- return endTime;
- }
-
-
- public void setEndTime(OffsetDateTime endTime) {
- this.endTime = endTime;
- }
-
-
- public ProductSkuUnitAnalytics purchasedUnits(AnalyticsDataPointWithTrend purchasedUnits) {
-
- this.purchasedUnits = purchasedUnits;
- return this;
- }
-
- /**
- * Get purchasedUnits
- * @return purchasedUnits
- **/
- @ApiModelProperty(required = true, value = "")
-
- public AnalyticsDataPointWithTrend getPurchasedUnits() {
- return purchasedUnits;
- }
-
-
- public void setPurchasedUnits(AnalyticsDataPointWithTrend purchasedUnits) {
- this.purchasedUnits = purchasedUnits;
- }
-
-
- public ProductSkuUnitAnalytics sku(String sku) {
-
- this.sku = sku;
- return this;
- }
-
- /**
- * The SKU linked to the analytics-level product.
- * @return sku
- **/
- @ApiModelProperty(example = "SKU-123", required = true, value = "The SKU linked to the analytics-level product.")
-
- public String getSku() {
- return sku;
- }
-
-
- public void setSku(String sku) {
- this.sku = sku;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- ProductSkuUnitAnalytics productSkuUnitAnalytics = (ProductSkuUnitAnalytics) o;
- return Objects.equals(this.startTime, productSkuUnitAnalytics.startTime) &&
- Objects.equals(this.endTime, productSkuUnitAnalytics.endTime) &&
- Objects.equals(this.purchasedUnits, productSkuUnitAnalytics.purchasedUnits) &&
- Objects.equals(this.sku, productSkuUnitAnalytics.sku);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(startTime, endTime, purchasedUnits, sku);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class ProductSkuUnitAnalytics {\n");
- sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n");
- sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n");
- sb.append(" purchasedUnits: ").append(toIndentedString(purchasedUnits)).append("\n");
- sb.append(" sku: ").append(toIndentedString(sku)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/Referral.java b/src/main/java/one/talon/model/Referral.java
index 7a721d80..1937665c 100644
--- a/src/main/java/one/talon/model/Referral.java
+++ b/src/main/java/one/talon/model/Referral.java
@@ -32,7 +32,7 @@
public class Referral {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -83,7 +83,7 @@ public class Referral {
private String batchId;
- public Referral id(Integer id) {
+ public Referral id(Long id) {
this.id = id;
return this;
@@ -95,12 +95,12 @@ public Referral id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/Role.java b/src/main/java/one/talon/model/Role.java
index 56c53eea..16255ea4 100644
--- a/src/main/java/one/talon/model/Role.java
+++ b/src/main/java/one/talon/model/Role.java
@@ -34,7 +34,7 @@
public class Role {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -69,7 +69,7 @@ public class Role {
private Object acl;
- public Role id(Integer id) {
+ public Role id(Long id) {
this.id = id;
return this;
@@ -81,12 +81,12 @@ public Role id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/RoleV2.java b/src/main/java/one/talon/model/RoleV2.java
index 195962ef..a3a2e9d0 100644
--- a/src/main/java/one/talon/model/RoleV2.java
+++ b/src/main/java/one/talon/model/RoleV2.java
@@ -35,7 +35,7 @@
public class RoleV2 {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -66,7 +66,7 @@ public class RoleV2 {
private List members = null;
- public RoleV2 id(Integer id) {
+ public RoleV2 id(Long id) {
this.id = id;
return this;
@@ -78,12 +78,12 @@ public RoleV2 id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/RoleV2PermissionsRoles.java b/src/main/java/one/talon/model/RoleV2PermissionsRoles.java
deleted file mode 100644
index 83391d19..00000000
--- a/src/main/java/one/talon/model/RoleV2PermissionsRoles.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import one.talon.model.RoleV2ApplicationDetails;
-
-/**
- * RoleV2PermissionsRoles
- */
-
-public class RoleV2PermissionsRoles {
- public static final String SERIALIZED_NAME_APPLICATIONS = "applications";
- @SerializedName(SERIALIZED_NAME_APPLICATIONS)
- private Map applications = null;
-
- public static final String SERIALIZED_NAME_LOYALTY_PROGRAMS = "loyaltyPrograms";
- @SerializedName(SERIALIZED_NAME_LOYALTY_PROGRAMS)
- private Map loyaltyPrograms = null;
-
- public static final String SERIALIZED_NAME_CAMPAIGN_ACCESS_GROUPS = "campaignAccessGroups";
- @SerializedName(SERIALIZED_NAME_CAMPAIGN_ACCESS_GROUPS)
- private Map campaignAccessGroups = null;
-
-
- public RoleV2PermissionsRoles applications(Map applications) {
-
- this.applications = applications;
- return this;
- }
-
- public RoleV2PermissionsRoles putApplicationsItem(String key, RoleV2ApplicationDetails applicationsItem) {
- if (this.applications == null) {
- this.applications = new HashMap();
- }
- this.applications.put(key, applicationsItem);
- return this;
- }
-
- /**
- * Get applications
- * @return applications
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "")
-
- public Map getApplications() {
- return applications;
- }
-
-
- public void setApplications(Map applications) {
- this.applications = applications;
- }
-
-
- public RoleV2PermissionsRoles loyaltyPrograms(Map loyaltyPrograms) {
-
- this.loyaltyPrograms = loyaltyPrograms;
- return this;
- }
-
- public RoleV2PermissionsRoles putLoyaltyProgramsItem(String key, String loyaltyProgramsItem) {
- if (this.loyaltyPrograms == null) {
- this.loyaltyPrograms = new HashMap();
- }
- this.loyaltyPrograms.put(key, loyaltyProgramsItem);
- return this;
- }
-
- /**
- * Get loyaltyPrograms
- * @return loyaltyPrograms
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "")
-
- public Map getLoyaltyPrograms() {
- return loyaltyPrograms;
- }
-
-
- public void setLoyaltyPrograms(Map loyaltyPrograms) {
- this.loyaltyPrograms = loyaltyPrograms;
- }
-
-
- public RoleV2PermissionsRoles campaignAccessGroups(Map campaignAccessGroups) {
-
- this.campaignAccessGroups = campaignAccessGroups;
- return this;
- }
-
- public RoleV2PermissionsRoles putCampaignAccessGroupsItem(String key, String campaignAccessGroupsItem) {
- if (this.campaignAccessGroups == null) {
- this.campaignAccessGroups = new HashMap();
- }
- this.campaignAccessGroups.put(key, campaignAccessGroupsItem);
- return this;
- }
-
- /**
- * Get campaignAccessGroups
- * @return campaignAccessGroups
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "")
-
- public Map getCampaignAccessGroups() {
- return campaignAccessGroups;
- }
-
-
- public void setCampaignAccessGroups(Map campaignAccessGroups) {
- this.campaignAccessGroups = campaignAccessGroups;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- RoleV2PermissionsRoles roleV2PermissionsRoles = (RoleV2PermissionsRoles) o;
- return Objects.equals(this.applications, roleV2PermissionsRoles.applications) &&
- Objects.equals(this.loyaltyPrograms, roleV2PermissionsRoles.loyaltyPrograms) &&
- Objects.equals(this.campaignAccessGroups, roleV2PermissionsRoles.campaignAccessGroups);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(applications, loyaltyPrograms, campaignAccessGroups);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class RoleV2PermissionsRoles {\n");
- sb.append(" applications: ").append(toIndentedString(applications)).append("\n");
- sb.append(" loyaltyPrograms: ").append(toIndentedString(loyaltyPrograms)).append("\n");
- sb.append(" campaignAccessGroups: ").append(toIndentedString(campaignAccessGroups)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/Ruleset.java b/src/main/java/one/talon/model/Ruleset.java
index cec45907..8140215a 100644
--- a/src/main/java/one/talon/model/Ruleset.java
+++ b/src/main/java/one/talon/model/Ruleset.java
@@ -36,7 +36,7 @@
public class Ruleset {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -79,7 +79,7 @@ public class Ruleset {
private OffsetDateTime activatedAt;
- public Ruleset id(Integer id) {
+ public Ruleset id(Long id) {
this.id = id;
return this;
@@ -91,12 +91,12 @@ public Ruleset id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/SamlConnection.java b/src/main/java/one/talon/model/SamlConnection.java
index 8e70609c..f48da43a 100644
--- a/src/main/java/one/talon/model/SamlConnection.java
+++ b/src/main/java/one/talon/model/SamlConnection.java
@@ -69,7 +69,7 @@ public class SamlConnection {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -276,7 +276,7 @@ public void setAudienceURI(String audienceURI) {
}
- public SamlConnection id(Integer id) {
+ public SamlConnection id(Long id) {
this.id = id;
return this;
@@ -288,12 +288,12 @@ public SamlConnection id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/Store.java b/src/main/java/one/talon/model/Store.java
index 2553b2bd..aba0f164 100644
--- a/src/main/java/one/talon/model/Store.java
+++ b/src/main/java/one/talon/model/Store.java
@@ -34,7 +34,7 @@
public class Store {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -69,7 +69,7 @@ public class Store {
private List linkedCampaignIds = null;
- public Store id(Integer id) {
+ public Store id(Long id) {
this.id = id;
return this;
@@ -81,12 +81,12 @@ public Store id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/TemplateDef.java b/src/main/java/one/talon/model/TemplateDef.java
index 0781766e..15940492 100644
--- a/src/main/java/one/talon/model/TemplateDef.java
+++ b/src/main/java/one/talon/model/TemplateDef.java
@@ -35,7 +35,7 @@
public class TemplateDef {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -78,7 +78,7 @@ public class TemplateDef {
private String name;
- public TemplateDef id(Integer id) {
+ public TemplateDef id(Long id) {
this.id = id;
return this;
@@ -90,12 +90,12 @@ public TemplateDef id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/UpdateCustomEffect.java b/src/main/java/one/talon/model/UpdateCustomEffect.java
deleted file mode 100644
index 124ec68d..00000000
--- a/src/main/java/one/talon/model/UpdateCustomEffect.java
+++ /dev/null
@@ -1,314 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-import one.talon.model.TemplateArgDef;
-
-/**
- *
- */
-@ApiModel(description = "")
-
-public class UpdateCustomEffect {
- public static final String SERIALIZED_NAME_APPLICATION_IDS = "applicationIds";
- @SerializedName(SERIALIZED_NAME_APPLICATION_IDS)
- private List applicationIds = new ArrayList();
-
- public static final String SERIALIZED_NAME_IS_PER_ITEM = "isPerItem";
- @SerializedName(SERIALIZED_NAME_IS_PER_ITEM)
- private Boolean isPerItem;
-
- public static final String SERIALIZED_NAME_NAME = "name";
- @SerializedName(SERIALIZED_NAME_NAME)
- private String name;
-
- public static final String SERIALIZED_NAME_TITLE = "title";
- @SerializedName(SERIALIZED_NAME_TITLE)
- private String title;
-
- public static final String SERIALIZED_NAME_PAYLOAD = "payload";
- @SerializedName(SERIALIZED_NAME_PAYLOAD)
- private String payload;
-
- public static final String SERIALIZED_NAME_DESCRIPTION = "description";
- @SerializedName(SERIALIZED_NAME_DESCRIPTION)
- private String description;
-
- public static final String SERIALIZED_NAME_ENABLED = "enabled";
- @SerializedName(SERIALIZED_NAME_ENABLED)
- private Boolean enabled;
-
- public static final String SERIALIZED_NAME_PARAMS = "params";
- @SerializedName(SERIALIZED_NAME_PARAMS)
- private List params = null;
-
-
- public UpdateCustomEffect applicationIds(List applicationIds) {
-
- this.applicationIds = applicationIds;
- return this;
- }
-
- public UpdateCustomEffect addApplicationIdsItem(Integer applicationIdsItem) {
- this.applicationIds.add(applicationIdsItem);
- return this;
- }
-
- /**
- * The IDs of the Applications that are related to this entity.
- * @return applicationIds
- **/
- @ApiModelProperty(required = true, value = "The IDs of the Applications that are related to this entity.")
-
- public List getApplicationIds() {
- return applicationIds;
- }
-
-
- public void setApplicationIds(List applicationIds) {
- this.applicationIds = applicationIds;
- }
-
-
- public UpdateCustomEffect isPerItem(Boolean isPerItem) {
-
- this.isPerItem = isPerItem;
- return this;
- }
-
- /**
- * Indicates if this effect is per item or not.
- * @return isPerItem
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "Indicates if this effect is per item or not.")
-
- public Boolean getIsPerItem() {
- return isPerItem;
- }
-
-
- public void setIsPerItem(Boolean isPerItem) {
- this.isPerItem = isPerItem;
- }
-
-
- public UpdateCustomEffect name(String name) {
-
- this.name = name;
- return this;
- }
-
- /**
- * The name of this effect.
- * @return name
- **/
- @ApiModelProperty(required = true, value = "The name of this effect.")
-
- public String getName() {
- return name;
- }
-
-
- public void setName(String name) {
- this.name = name;
- }
-
-
- public UpdateCustomEffect title(String title) {
-
- this.title = title;
- return this;
- }
-
- /**
- * The title of this effect.
- * @return title
- **/
- @ApiModelProperty(required = true, value = "The title of this effect.")
-
- public String getTitle() {
- return title;
- }
-
-
- public void setTitle(String title) {
- this.title = title;
- }
-
-
- public UpdateCustomEffect payload(String payload) {
-
- this.payload = payload;
- return this;
- }
-
- /**
- * The JSON payload of this effect.
- * @return payload
- **/
- @ApiModelProperty(required = true, value = "The JSON payload of this effect.")
-
- public String getPayload() {
- return payload;
- }
-
-
- public void setPayload(String payload) {
- this.payload = payload;
- }
-
-
- public UpdateCustomEffect description(String description) {
-
- this.description = description;
- return this;
- }
-
- /**
- * The description of this effect.
- * @return description
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "The description of this effect.")
-
- public String getDescription() {
- return description;
- }
-
-
- public void setDescription(String description) {
- this.description = description;
- }
-
-
- public UpdateCustomEffect enabled(Boolean enabled) {
-
- this.enabled = enabled;
- return this;
- }
-
- /**
- * Determines if this effect is active.
- * @return enabled
- **/
- @ApiModelProperty(required = true, value = "Determines if this effect is active.")
-
- public Boolean getEnabled() {
- return enabled;
- }
-
-
- public void setEnabled(Boolean enabled) {
- this.enabled = enabled;
- }
-
-
- public UpdateCustomEffect params(List params) {
-
- this.params = params;
- return this;
- }
-
- public UpdateCustomEffect addParamsItem(TemplateArgDef paramsItem) {
- if (this.params == null) {
- this.params = new ArrayList();
- }
- this.params.add(paramsItem);
- return this;
- }
-
- /**
- * Array of template argument definitions.
- * @return params
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "Array of template argument definitions.")
-
- public List getParams() {
- return params;
- }
-
-
- public void setParams(List params) {
- this.params = params;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- UpdateCustomEffect updateCustomEffect = (UpdateCustomEffect) o;
- return Objects.equals(this.applicationIds, updateCustomEffect.applicationIds) &&
- Objects.equals(this.isPerItem, updateCustomEffect.isPerItem) &&
- Objects.equals(this.name, updateCustomEffect.name) &&
- Objects.equals(this.title, updateCustomEffect.title) &&
- Objects.equals(this.payload, updateCustomEffect.payload) &&
- Objects.equals(this.description, updateCustomEffect.description) &&
- Objects.equals(this.enabled, updateCustomEffect.enabled) &&
- Objects.equals(this.params, updateCustomEffect.params);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(applicationIds, isPerItem, name, title, payload, description, enabled, params);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class UpdateCustomEffect {\n");
- sb.append(" applicationIds: ").append(toIndentedString(applicationIds)).append("\n");
- sb.append(" isPerItem: ").append(toIndentedString(isPerItem)).append("\n");
- sb.append(" name: ").append(toIndentedString(name)).append("\n");
- sb.append(" title: ").append(toIndentedString(title)).append("\n");
- sb.append(" payload: ").append(toIndentedString(payload)).append("\n");
- sb.append(" description: ").append(toIndentedString(description)).append("\n");
- sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n");
- sb.append(" params: ").append(toIndentedString(params)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/UpdateUserLatestFeedTimestamp.java b/src/main/java/one/talon/model/UpdateUserLatestFeedTimestamp.java
deleted file mode 100644
index c56e56cb..00000000
--- a/src/main/java/one/talon/model/UpdateUserLatestFeedTimestamp.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import org.threeten.bp.OffsetDateTime;
-
-/**
- * Updates current user's latest seen notifications timestamp.
- */
-@ApiModel(description = "Updates current user's latest seen notifications timestamp.")
-
-public class UpdateUserLatestFeedTimestamp {
- public static final String SERIALIZED_NAME_NEW_LATEST_FEED_TIMESTAMP = "newLatestFeedTimestamp";
- @SerializedName(SERIALIZED_NAME_NEW_LATEST_FEED_TIMESTAMP)
- private OffsetDateTime newLatestFeedTimestamp;
-
-
- public UpdateUserLatestFeedTimestamp newLatestFeedTimestamp(OffsetDateTime newLatestFeedTimestamp) {
-
- this.newLatestFeedTimestamp = newLatestFeedTimestamp;
- return this;
- }
-
- /**
- * New timestamp to update for the current user.
- * @return newLatestFeedTimestamp
- **/
- @ApiModelProperty(required = true, value = "New timestamp to update for the current user.")
-
- public OffsetDateTime getNewLatestFeedTimestamp() {
- return newLatestFeedTimestamp;
- }
-
-
- public void setNewLatestFeedTimestamp(OffsetDateTime newLatestFeedTimestamp) {
- this.newLatestFeedTimestamp = newLatestFeedTimestamp;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- UpdateUserLatestFeedTimestamp updateUserLatestFeedTimestamp = (UpdateUserLatestFeedTimestamp) o;
- return Objects.equals(this.newLatestFeedTimestamp, updateUserLatestFeedTimestamp.newLatestFeedTimestamp);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(newLatestFeedTimestamp);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class UpdateUserLatestFeedTimestamp {\n");
- sb.append(" newLatestFeedTimestamp: ").append(toIndentedString(newLatestFeedTimestamp)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/User.java b/src/main/java/one/talon/model/User.java
index 962bce0e..a6375e0c 100644
--- a/src/main/java/one/talon/model/User.java
+++ b/src/main/java/one/talon/model/User.java
@@ -34,7 +34,7 @@
public class User {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -150,7 +150,7 @@ public StateEnum read(final JsonReader jsonReader) throws IOException {
private Object additionalAttributes;
- public User id(Integer id) {
+ public User id(Long id) {
this.id = id;
return this;
@@ -162,12 +162,12 @@ public User id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/UserFeedNotifications.java b/src/main/java/one/talon/model/UserFeedNotifications.java
deleted file mode 100644
index ee229c19..00000000
--- a/src/main/java/one/talon/model/UserFeedNotifications.java
+++ /dev/null
@@ -1,136 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-import one.talon.model.FeedNotification;
-import org.threeten.bp.OffsetDateTime;
-
-/**
- * Notifications to notify CAMA user about.
- */
-@ApiModel(description = "Notifications to notify CAMA user about.")
-
-public class UserFeedNotifications {
- public static final String SERIALIZED_NAME_LAST_UPDATE = "lastUpdate";
- @SerializedName(SERIALIZED_NAME_LAST_UPDATE)
- private OffsetDateTime lastUpdate;
-
- public static final String SERIALIZED_NAME_NOTIFICATIONS = "notifications";
- @SerializedName(SERIALIZED_NAME_NOTIFICATIONS)
- private List notifications = new ArrayList();
-
-
- public UserFeedNotifications lastUpdate(OffsetDateTime lastUpdate) {
-
- this.lastUpdate = lastUpdate;
- return this;
- }
-
- /**
- * Timestamp of the last request for this list.
- * @return lastUpdate
- **/
- @ApiModelProperty(required = true, value = "Timestamp of the last request for this list.")
-
- public OffsetDateTime getLastUpdate() {
- return lastUpdate;
- }
-
-
- public void setLastUpdate(OffsetDateTime lastUpdate) {
- this.lastUpdate = lastUpdate;
- }
-
-
- public UserFeedNotifications notifications(List notifications) {
-
- this.notifications = notifications;
- return this;
- }
-
- public UserFeedNotifications addNotificationsItem(FeedNotification notificationsItem) {
- this.notifications.add(notificationsItem);
- return this;
- }
-
- /**
- * List of all notifications to notify the user about.
- * @return notifications
- **/
- @ApiModelProperty(required = true, value = "List of all notifications to notify the user about.")
-
- public List getNotifications() {
- return notifications;
- }
-
-
- public void setNotifications(List notifications) {
- this.notifications = notifications;
- }
-
-
- @Override
- public boolean equals(java.lang.Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- UserFeedNotifications userFeedNotifications = (UserFeedNotifications) o;
- return Objects.equals(this.lastUpdate, userFeedNotifications.lastUpdate) &&
- Objects.equals(this.notifications, userFeedNotifications.notifications);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(lastUpdate, notifications);
- }
-
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class UserFeedNotifications {\n");
- sb.append(" lastUpdate: ").append(toIndentedString(lastUpdate)).append("\n");
- sb.append(" notifications: ").append(toIndentedString(notifications)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(java.lang.Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/one/talon/model/Webhook.java b/src/main/java/one/talon/model/Webhook.java
index ceed365b..7987d40a 100644
--- a/src/main/java/one/talon/model/Webhook.java
+++ b/src/main/java/one/talon/model/Webhook.java
@@ -35,7 +35,7 @@
public class Webhook {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -135,7 +135,7 @@ public VerbEnum read(final JsonReader jsonReader) throws IOException {
private Boolean enabled;
- public Webhook id(Integer id) {
+ public Webhook id(Long id) {
this.id = id;
return this;
@@ -147,12 +147,12 @@ public Webhook id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/main/java/one/talon/model/WebhookWithOutgoingIntegrationDetails.java b/src/main/java/one/talon/model/WebhookWithOutgoingIntegrationDetails.java
index 5bde72b4..3ede8eff 100644
--- a/src/main/java/one/talon/model/WebhookWithOutgoingIntegrationDetails.java
+++ b/src/main/java/one/talon/model/WebhookWithOutgoingIntegrationDetails.java
@@ -35,7 +35,7 @@
public class WebhookWithOutgoingIntegrationDetails {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
- private Integer id;
+ private Long id;
public static final String SERIALIZED_NAME_CREATED = "created";
@SerializedName(SERIALIZED_NAME_CREATED)
@@ -147,7 +147,7 @@ public VerbEnum read(final JsonReader jsonReader) throws IOException {
private String outgoingIntegrationTypeName;
- public WebhookWithOutgoingIntegrationDetails id(Integer id) {
+ public WebhookWithOutgoingIntegrationDetails id(Long id) {
this.id = id;
return this;
@@ -159,12 +159,12 @@ public WebhookWithOutgoingIntegrationDetails id(Integer id) {
**/
@ApiModelProperty(example = "6", required = true, value = "Internal ID of this entity.")
- public Integer getId() {
+ public Long getId() {
return id;
}
- public void setId(Integer id) {
+ public void setId(Long id) {
this.id = id;
}
diff --git a/src/test/java/one/talon/model/AccountDashboardStatisticApiCallsTest.java b/src/test/java/one/talon/model/AccountDashboardStatisticApiCallsTest.java
deleted file mode 100644
index 2ee8c57c..00000000
--- a/src/test/java/one/talon/model/AccountDashboardStatisticApiCallsTest.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-import org.threeten.bp.OffsetDateTime;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for AccountDashboardStatisticApiCalls
- */
-public class AccountDashboardStatisticApiCallsTest {
- private final AccountDashboardStatisticApiCalls model = new AccountDashboardStatisticApiCalls();
-
- /**
- * Model tests for AccountDashboardStatisticApiCalls
- */
- @Test
- public void testAccountDashboardStatisticApiCalls() {
- // TODO: test AccountDashboardStatisticApiCalls
- }
-
- /**
- * Test the property 'total'
- */
- @Test
- public void totalTest() {
- // TODO: test total
- }
-
- /**
- * Test the property 'datetime'
- */
- @Test
- public void datetimeTest() {
- // TODO: test datetime
- }
-
-}
diff --git a/src/test/java/one/talon/model/ActivateUserRequestTest.java b/src/test/java/one/talon/model/ActivateUserRequestTest.java
deleted file mode 100644
index be82dd11..00000000
--- a/src/test/java/one/talon/model/ActivateUserRequestTest.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for ActivateUserRequest
- */
-public class ActivateUserRequestTest {
- private final ActivateUserRequest model = new ActivateUserRequest();
-
- /**
- * Model tests for ActivateUserRequest
- */
- @Test
- public void testActivateUserRequest() {
- // TODO: test ActivateUserRequest
- }
-
- /**
- * Test the property 'email'
- */
- @Test
- public void emailTest() {
- // TODO: test email
- }
-
-}
diff --git a/src/test/java/one/talon/model/AnalyticsProductSKUTest.java b/src/test/java/one/talon/model/AnalyticsProductSKUTest.java
deleted file mode 100644
index 70b4e370..00000000
--- a/src/test/java/one/talon/model/AnalyticsProductSKUTest.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import org.threeten.bp.OffsetDateTime;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for AnalyticsProductSKU
- */
-public class AnalyticsProductSKUTest {
- private final AnalyticsProductSKU model = new AnalyticsProductSKU();
-
- /**
- * Model tests for AnalyticsProductSKU
- */
- @Test
- public void testAnalyticsProductSKU() {
- // TODO: test AnalyticsProductSKU
- }
-
- /**
- * Test the property 'id'
- */
- @Test
- public void idTest() {
- // TODO: test id
- }
-
- /**
- * Test the property 'sku'
- */
- @Test
- public void skuTest() {
- // TODO: test sku
- }
-
- /**
- * Test the property 'lastUpdated'
- */
- @Test
- public void lastUpdatedTest() {
- // TODO: test lastUpdated
- }
-
-}
diff --git a/src/test/java/one/talon/model/ApplicationAnalyticsDataPointAvgItemsPerSessionTest.java b/src/test/java/one/talon/model/ApplicationAnalyticsDataPointAvgItemsPerSessionTest.java
deleted file mode 100644
index eaa47217..00000000
--- a/src/test/java/one/talon/model/ApplicationAnalyticsDataPointAvgItemsPerSessionTest.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for ApplicationAnalyticsDataPointAvgItemsPerSession
- */
-public class ApplicationAnalyticsDataPointAvgItemsPerSessionTest {
- private final ApplicationAnalyticsDataPointAvgItemsPerSession model = new ApplicationAnalyticsDataPointAvgItemsPerSession();
-
- /**
- * Model tests for ApplicationAnalyticsDataPointAvgItemsPerSession
- */
- @Test
- public void testApplicationAnalyticsDataPointAvgItemsPerSession() {
- // TODO: test ApplicationAnalyticsDataPointAvgItemsPerSession
- }
-
- /**
- * Test the property 'total'
- */
- @Test
- public void totalTest() {
- // TODO: test total
- }
-
- /**
- * Test the property 'influenced'
- */
- @Test
- public void influencedTest() {
- // TODO: test influenced
- }
-
-}
diff --git a/src/test/java/one/talon/model/ApplicationAnalyticsDataPointAvgSessionValueTest.java b/src/test/java/one/talon/model/ApplicationAnalyticsDataPointAvgSessionValueTest.java
deleted file mode 100644
index 97815df5..00000000
--- a/src/test/java/one/talon/model/ApplicationAnalyticsDataPointAvgSessionValueTest.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for ApplicationAnalyticsDataPointAvgSessionValue
- */
-public class ApplicationAnalyticsDataPointAvgSessionValueTest {
- private final ApplicationAnalyticsDataPointAvgSessionValue model = new ApplicationAnalyticsDataPointAvgSessionValue();
-
- /**
- * Model tests for ApplicationAnalyticsDataPointAvgSessionValue
- */
- @Test
- public void testApplicationAnalyticsDataPointAvgSessionValue() {
- // TODO: test ApplicationAnalyticsDataPointAvgSessionValue
- }
-
- /**
- * Test the property 'total'
- */
- @Test
- public void totalTest() {
- // TODO: test total
- }
-
- /**
- * Test the property 'influenced'
- */
- @Test
- public void influencedTest() {
- // TODO: test influenced
- }
-
-}
diff --git a/src/test/java/one/talon/model/ApplicationAnalyticsDataPointSessionsCountTest.java b/src/test/java/one/talon/model/ApplicationAnalyticsDataPointSessionsCountTest.java
deleted file mode 100644
index 72f699ae..00000000
--- a/src/test/java/one/talon/model/ApplicationAnalyticsDataPointSessionsCountTest.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for ApplicationAnalyticsDataPointSessionsCount
- */
-public class ApplicationAnalyticsDataPointSessionsCountTest {
- private final ApplicationAnalyticsDataPointSessionsCount model = new ApplicationAnalyticsDataPointSessionsCount();
-
- /**
- * Model tests for ApplicationAnalyticsDataPointSessionsCount
- */
- @Test
- public void testApplicationAnalyticsDataPointSessionsCount() {
- // TODO: test ApplicationAnalyticsDataPointSessionsCount
- }
-
- /**
- * Test the property 'total'
- */
- @Test
- public void totalTest() {
- // TODO: test total
- }
-
- /**
- * Test the property 'influenced'
- */
- @Test
- public void influencedTest() {
- // TODO: test influenced
- }
-
-}
diff --git a/src/test/java/one/talon/model/ApplicationAnalyticsDataPointTotalRevenueTest.java b/src/test/java/one/talon/model/ApplicationAnalyticsDataPointTotalRevenueTest.java
deleted file mode 100644
index 1ee67fd7..00000000
--- a/src/test/java/one/talon/model/ApplicationAnalyticsDataPointTotalRevenueTest.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for ApplicationAnalyticsDataPointTotalRevenue
- */
-public class ApplicationAnalyticsDataPointTotalRevenueTest {
- private final ApplicationAnalyticsDataPointTotalRevenue model = new ApplicationAnalyticsDataPointTotalRevenue();
-
- /**
- * Model tests for ApplicationAnalyticsDataPointTotalRevenue
- */
- @Test
- public void testApplicationAnalyticsDataPointTotalRevenue() {
- // TODO: test ApplicationAnalyticsDataPointTotalRevenue
- }
-
- /**
- * Test the property 'total'
- */
- @Test
- public void totalTest() {
- // TODO: test total
- }
-
- /**
- * Test the property 'influenced'
- */
- @Test
- public void influencedTest() {
- // TODO: test influenced
- }
-
-}
diff --git a/src/test/java/one/talon/model/ApplicationCampaignAnalyticsAvgItemsPerSessionTest.java b/src/test/java/one/talon/model/ApplicationCampaignAnalyticsAvgItemsPerSessionTest.java
deleted file mode 100644
index 004800fe..00000000
--- a/src/test/java/one/talon/model/ApplicationCampaignAnalyticsAvgItemsPerSessionTest.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for ApplicationCampaignAnalyticsAvgItemsPerSession
- */
-public class ApplicationCampaignAnalyticsAvgItemsPerSessionTest {
- private final ApplicationCampaignAnalyticsAvgItemsPerSession model = new ApplicationCampaignAnalyticsAvgItemsPerSession();
-
- /**
- * Model tests for ApplicationCampaignAnalyticsAvgItemsPerSession
- */
- @Test
- public void testApplicationCampaignAnalyticsAvgItemsPerSession() {
- // TODO: test ApplicationCampaignAnalyticsAvgItemsPerSession
- }
-
- /**
- * Test the property 'value'
- */
- @Test
- public void valueTest() {
- // TODO: test value
- }
-
- /**
- * Test the property 'uplift'
- */
- @Test
- public void upliftTest() {
- // TODO: test uplift
- }
-
- /**
- * Test the property 'trend'
- */
- @Test
- public void trendTest() {
- // TODO: test trend
- }
-
-}
diff --git a/src/test/java/one/talon/model/ApplicationCampaignAnalyticsAvgSessionValueTest.java b/src/test/java/one/talon/model/ApplicationCampaignAnalyticsAvgSessionValueTest.java
deleted file mode 100644
index f6867ee7..00000000
--- a/src/test/java/one/talon/model/ApplicationCampaignAnalyticsAvgSessionValueTest.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for ApplicationCampaignAnalyticsAvgSessionValue
- */
-public class ApplicationCampaignAnalyticsAvgSessionValueTest {
- private final ApplicationCampaignAnalyticsAvgSessionValue model = new ApplicationCampaignAnalyticsAvgSessionValue();
-
- /**
- * Model tests for ApplicationCampaignAnalyticsAvgSessionValue
- */
- @Test
- public void testApplicationCampaignAnalyticsAvgSessionValue() {
- // TODO: test ApplicationCampaignAnalyticsAvgSessionValue
- }
-
- /**
- * Test the property 'value'
- */
- @Test
- public void valueTest() {
- // TODO: test value
- }
-
- /**
- * Test the property 'uplift'
- */
- @Test
- public void upliftTest() {
- // TODO: test uplift
- }
-
- /**
- * Test the property 'trend'
- */
- @Test
- public void trendTest() {
- // TODO: test trend
- }
-
-}
diff --git a/src/test/java/one/talon/model/ApplicationCampaignAnalyticsCouponsCountTest.java b/src/test/java/one/talon/model/ApplicationCampaignAnalyticsCouponsCountTest.java
deleted file mode 100644
index 7d9500cd..00000000
--- a/src/test/java/one/talon/model/ApplicationCampaignAnalyticsCouponsCountTest.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for ApplicationCampaignAnalyticsCouponsCount
- */
-public class ApplicationCampaignAnalyticsCouponsCountTest {
- private final ApplicationCampaignAnalyticsCouponsCount model = new ApplicationCampaignAnalyticsCouponsCount();
-
- /**
- * Model tests for ApplicationCampaignAnalyticsCouponsCount
- */
- @Test
- public void testApplicationCampaignAnalyticsCouponsCount() {
- // TODO: test ApplicationCampaignAnalyticsCouponsCount
- }
-
- /**
- * Test the property 'value'
- */
- @Test
- public void valueTest() {
- // TODO: test value
- }
-
- /**
- * Test the property 'trend'
- */
- @Test
- public void trendTest() {
- // TODO: test trend
- }
-
-}
diff --git a/src/test/java/one/talon/model/ApplicationCampaignAnalyticsSessionsCountTest.java b/src/test/java/one/talon/model/ApplicationCampaignAnalyticsSessionsCountTest.java
deleted file mode 100644
index 0ff91bbd..00000000
--- a/src/test/java/one/talon/model/ApplicationCampaignAnalyticsSessionsCountTest.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for ApplicationCampaignAnalyticsSessionsCount
- */
-public class ApplicationCampaignAnalyticsSessionsCountTest {
- private final ApplicationCampaignAnalyticsSessionsCount model = new ApplicationCampaignAnalyticsSessionsCount();
-
- /**
- * Model tests for ApplicationCampaignAnalyticsSessionsCount
- */
- @Test
- public void testApplicationCampaignAnalyticsSessionsCount() {
- // TODO: test ApplicationCampaignAnalyticsSessionsCount
- }
-
- /**
- * Test the property 'value'
- */
- @Test
- public void valueTest() {
- // TODO: test value
- }
-
- /**
- * Test the property 'influenceRate'
- */
- @Test
- public void influenceRateTest() {
- // TODO: test influenceRate
- }
-
- /**
- * Test the property 'trend'
- */
- @Test
- public void trendTest() {
- // TODO: test trend
- }
-
-}
diff --git a/src/test/java/one/talon/model/ApplicationCampaignAnalyticsTotalDiscountsTest.java b/src/test/java/one/talon/model/ApplicationCampaignAnalyticsTotalDiscountsTest.java
deleted file mode 100644
index 78898a6d..00000000
--- a/src/test/java/one/talon/model/ApplicationCampaignAnalyticsTotalDiscountsTest.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for ApplicationCampaignAnalyticsTotalDiscounts
- */
-public class ApplicationCampaignAnalyticsTotalDiscountsTest {
- private final ApplicationCampaignAnalyticsTotalDiscounts model = new ApplicationCampaignAnalyticsTotalDiscounts();
-
- /**
- * Model tests for ApplicationCampaignAnalyticsTotalDiscounts
- */
- @Test
- public void testApplicationCampaignAnalyticsTotalDiscounts() {
- // TODO: test ApplicationCampaignAnalyticsTotalDiscounts
- }
-
- /**
- * Test the property 'value'
- */
- @Test
- public void valueTest() {
- // TODO: test value
- }
-
- /**
- * Test the property 'trend'
- */
- @Test
- public void trendTest() {
- // TODO: test trend
- }
-
-}
diff --git a/src/test/java/one/talon/model/ApplicationCampaignAnalyticsTotalRevenueTest.java b/src/test/java/one/talon/model/ApplicationCampaignAnalyticsTotalRevenueTest.java
deleted file mode 100644
index 2869e962..00000000
--- a/src/test/java/one/talon/model/ApplicationCampaignAnalyticsTotalRevenueTest.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for ApplicationCampaignAnalyticsTotalRevenue
- */
-public class ApplicationCampaignAnalyticsTotalRevenueTest {
- private final ApplicationCampaignAnalyticsTotalRevenue model = new ApplicationCampaignAnalyticsTotalRevenue();
-
- /**
- * Model tests for ApplicationCampaignAnalyticsTotalRevenue
- */
- @Test
- public void testApplicationCampaignAnalyticsTotalRevenue() {
- // TODO: test ApplicationCampaignAnalyticsTotalRevenue
- }
-
- /**
- * Test the property 'value'
- */
- @Test
- public void valueTest() {
- // TODO: test value
- }
-
- /**
- * Test the property 'influenceRate'
- */
- @Test
- public void influenceRateTest() {
- // TODO: test influenceRate
- }
-
- /**
- * Test the property 'trend'
- */
- @Test
- public void trendTest() {
- // TODO: test trend
- }
-
-}
diff --git a/src/test/java/one/talon/model/BaseCampaignForNotificationTest.java b/src/test/java/one/talon/model/BaseCampaignForNotificationTest.java
deleted file mode 100644
index cb8d55c3..00000000
--- a/src/test/java/one/talon/model/BaseCampaignForNotificationTest.java
+++ /dev/null
@@ -1,176 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-import one.talon.model.CodeGeneratorSettings;
-import one.talon.model.LimitConfig;
-import org.threeten.bp.OffsetDateTime;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for BaseCampaignForNotification
- */
-public class BaseCampaignForNotificationTest {
- private final BaseCampaignForNotification model = new BaseCampaignForNotification();
-
- /**
- * Model tests for BaseCampaignForNotification
- */
- @Test
- public void testBaseCampaignForNotification() {
- // TODO: test BaseCampaignForNotification
- }
-
- /**
- * Test the property 'name'
- */
- @Test
- public void nameTest() {
- // TODO: test name
- }
-
- /**
- * Test the property 'description'
- */
- @Test
- public void descriptionTest() {
- // TODO: test description
- }
-
- /**
- * Test the property 'startTime'
- */
- @Test
- public void startTimeTest() {
- // TODO: test startTime
- }
-
- /**
- * Test the property 'endTime'
- */
- @Test
- public void endTimeTest() {
- // TODO: test endTime
- }
-
- /**
- * Test the property 'attributes'
- */
- @Test
- public void attributesTest() {
- // TODO: test attributes
- }
-
- /**
- * Test the property 'state'
- */
- @Test
- public void stateTest() {
- // TODO: test state
- }
-
- /**
- * Test the property 'activeRulesetId'
- */
- @Test
- public void activeRulesetIdTest() {
- // TODO: test activeRulesetId
- }
-
- /**
- * Test the property 'tags'
- */
- @Test
- public void tagsTest() {
- // TODO: test tags
- }
-
- /**
- * Test the property 'features'
- */
- @Test
- public void featuresTest() {
- // TODO: test features
- }
-
- /**
- * Test the property 'couponSettings'
- */
- @Test
- public void couponSettingsTest() {
- // TODO: test couponSettings
- }
-
- /**
- * Test the property 'referralSettings'
- */
- @Test
- public void referralSettingsTest() {
- // TODO: test referralSettings
- }
-
- /**
- * Test the property 'limits'
- */
- @Test
- public void limitsTest() {
- // TODO: test limits
- }
-
- /**
- * Test the property 'campaignGroups'
- */
- @Test
- public void campaignGroupsTest() {
- // TODO: test campaignGroups
- }
-
- /**
- * Test the property 'evaluationGroupId'
- */
- @Test
- public void evaluationGroupIdTest() {
- // TODO: test evaluationGroupId
- }
-
- /**
- * Test the property 'type'
- */
- @Test
- public void typeTest() {
- // TODO: test type
- }
-
- /**
- * Test the property 'linkedStoreIds'
- */
- @Test
- public void linkedStoreIdsTest() {
- // TODO: test linkedStoreIds
- }
-
-}
diff --git a/src/test/java/one/talon/model/CampaignForNotificationTest.java b/src/test/java/one/talon/model/CampaignForNotificationTest.java
deleted file mode 100644
index ec4e6742..00000000
--- a/src/test/java/one/talon/model/CampaignForNotificationTest.java
+++ /dev/null
@@ -1,378 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-import java.util.ArrayList;
-import java.util.List;
-import one.talon.model.CampaignBudget;
-import one.talon.model.CodeGeneratorSettings;
-import one.talon.model.LimitConfig;
-import org.threeten.bp.OffsetDateTime;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for CampaignForNotification
- */
-public class CampaignForNotificationTest {
- private final CampaignForNotification model = new CampaignForNotification();
-
- /**
- * Model tests for CampaignForNotification
- */
- @Test
- public void testCampaignForNotification() {
- // TODO: test CampaignForNotification
- }
-
- /**
- * Test the property 'id'
- */
- @Test
- public void idTest() {
- // TODO: test id
- }
-
- /**
- * Test the property 'created'
- */
- @Test
- public void createdTest() {
- // TODO: test created
- }
-
- /**
- * Test the property 'applicationId'
- */
- @Test
- public void applicationIdTest() {
- // TODO: test applicationId
- }
-
- /**
- * Test the property 'userId'
- */
- @Test
- public void userIdTest() {
- // TODO: test userId
- }
-
- /**
- * Test the property 'name'
- */
- @Test
- public void nameTest() {
- // TODO: test name
- }
-
- /**
- * Test the property 'description'
- */
- @Test
- public void descriptionTest() {
- // TODO: test description
- }
-
- /**
- * Test the property 'startTime'
- */
- @Test
- public void startTimeTest() {
- // TODO: test startTime
- }
-
- /**
- * Test the property 'endTime'
- */
- @Test
- public void endTimeTest() {
- // TODO: test endTime
- }
-
- /**
- * Test the property 'attributes'
- */
- @Test
- public void attributesTest() {
- // TODO: test attributes
- }
-
- /**
- * Test the property 'state'
- */
- @Test
- public void stateTest() {
- // TODO: test state
- }
-
- /**
- * Test the property 'activeRulesetId'
- */
- @Test
- public void activeRulesetIdTest() {
- // TODO: test activeRulesetId
- }
-
- /**
- * Test the property 'tags'
- */
- @Test
- public void tagsTest() {
- // TODO: test tags
- }
-
- /**
- * Test the property 'features'
- */
- @Test
- public void featuresTest() {
- // TODO: test features
- }
-
- /**
- * Test the property 'couponSettings'
- */
- @Test
- public void couponSettingsTest() {
- // TODO: test couponSettings
- }
-
- /**
- * Test the property 'referralSettings'
- */
- @Test
- public void referralSettingsTest() {
- // TODO: test referralSettings
- }
-
- /**
- * Test the property 'limits'
- */
- @Test
- public void limitsTest() {
- // TODO: test limits
- }
-
- /**
- * Test the property 'campaignGroups'
- */
- @Test
- public void campaignGroupsTest() {
- // TODO: test campaignGroups
- }
-
- /**
- * Test the property 'evaluationGroupId'
- */
- @Test
- public void evaluationGroupIdTest() {
- // TODO: test evaluationGroupId
- }
-
- /**
- * Test the property 'type'
- */
- @Test
- public void typeTest() {
- // TODO: test type
- }
-
- /**
- * Test the property 'linkedStoreIds'
- */
- @Test
- public void linkedStoreIdsTest() {
- // TODO: test linkedStoreIds
- }
-
- /**
- * Test the property 'budgets'
- */
- @Test
- public void budgetsTest() {
- // TODO: test budgets
- }
-
- /**
- * Test the property 'couponRedemptionCount'
- */
- @Test
- public void couponRedemptionCountTest() {
- // TODO: test couponRedemptionCount
- }
-
- /**
- * Test the property 'referralRedemptionCount'
- */
- @Test
- public void referralRedemptionCountTest() {
- // TODO: test referralRedemptionCount
- }
-
- /**
- * Test the property 'discountCount'
- */
- @Test
- public void discountCountTest() {
- // TODO: test discountCount
- }
-
- /**
- * Test the property 'discountEffectCount'
- */
- @Test
- public void discountEffectCountTest() {
- // TODO: test discountEffectCount
- }
-
- /**
- * Test the property 'couponCreationCount'
- */
- @Test
- public void couponCreationCountTest() {
- // TODO: test couponCreationCount
- }
-
- /**
- * Test the property 'customEffectCount'
- */
- @Test
- public void customEffectCountTest() {
- // TODO: test customEffectCount
- }
-
- /**
- * Test the property 'referralCreationCount'
- */
- @Test
- public void referralCreationCountTest() {
- // TODO: test referralCreationCount
- }
-
- /**
- * Test the property 'addFreeItemEffectCount'
- */
- @Test
- public void addFreeItemEffectCountTest() {
- // TODO: test addFreeItemEffectCount
- }
-
- /**
- * Test the property 'awardedGiveawaysCount'
- */
- @Test
- public void awardedGiveawaysCountTest() {
- // TODO: test awardedGiveawaysCount
- }
-
- /**
- * Test the property 'createdLoyaltyPointsCount'
- */
- @Test
- public void createdLoyaltyPointsCountTest() {
- // TODO: test createdLoyaltyPointsCount
- }
-
- /**
- * Test the property 'createdLoyaltyPointsEffectCount'
- */
- @Test
- public void createdLoyaltyPointsEffectCountTest() {
- // TODO: test createdLoyaltyPointsEffectCount
- }
-
- /**
- * Test the property 'redeemedLoyaltyPointsCount'
- */
- @Test
- public void redeemedLoyaltyPointsCountTest() {
- // TODO: test redeemedLoyaltyPointsCount
- }
-
- /**
- * Test the property 'redeemedLoyaltyPointsEffectCount'
- */
- @Test
- public void redeemedLoyaltyPointsEffectCountTest() {
- // TODO: test redeemedLoyaltyPointsEffectCount
- }
-
- /**
- * Test the property 'callApiEffectCount'
- */
- @Test
- public void callApiEffectCountTest() {
- // TODO: test callApiEffectCount
- }
-
- /**
- * Test the property 'reservecouponEffectCount'
- */
- @Test
- public void reservecouponEffectCountTest() {
- // TODO: test reservecouponEffectCount
- }
-
- /**
- * Test the property 'lastActivity'
- */
- @Test
- public void lastActivityTest() {
- // TODO: test lastActivity
- }
-
- /**
- * Test the property 'updated'
- */
- @Test
- public void updatedTest() {
- // TODO: test updated
- }
-
- /**
- * Test the property 'createdBy'
- */
- @Test
- public void createdByTest() {
- // TODO: test createdBy
- }
-
- /**
- * Test the property 'updatedBy'
- */
- @Test
- public void updatedByTest() {
- // TODO: test updatedBy
- }
-
- /**
- * Test the property 'templateId'
- */
- @Test
- public void templateIdTest() {
- // TODO: test templateId
- }
-
-}
diff --git a/src/test/java/one/talon/model/CampaignPrioritiesChangedNotificationTest.java b/src/test/java/one/talon/model/CampaignPrioritiesChangedNotificationTest.java
deleted file mode 100644
index 84fdefd2..00000000
--- a/src/test/java/one/talon/model/CampaignPrioritiesChangedNotificationTest.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import one.talon.model.CampaignSet;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for CampaignPrioritiesChangedNotification
- */
-public class CampaignPrioritiesChangedNotificationTest {
- private final CampaignPrioritiesChangedNotification model = new CampaignPrioritiesChangedNotification();
-
- /**
- * Model tests for CampaignPrioritiesChangedNotification
- */
- @Test
- public void testCampaignPrioritiesChangedNotification() {
- // TODO: test CampaignPrioritiesChangedNotification
- }
-
- /**
- * Test the property 'applicationId'
- */
- @Test
- public void applicationIdTest() {
- // TODO: test applicationId
- }
-
- /**
- * Test the property 'oldPriorities'
- */
- @Test
- public void oldPrioritiesTest() {
- // TODO: test oldPriorities
- }
-
- /**
- * Test the property 'priorities'
- */
- @Test
- public void prioritiesTest() {
- // TODO: test priorities
- }
-
-}
diff --git a/src/test/java/one/talon/model/CampaignPrioritiesV2Test.java b/src/test/java/one/talon/model/CampaignPrioritiesV2Test.java
deleted file mode 100644
index 8fb3d365..00000000
--- a/src/test/java/one/talon/model/CampaignPrioritiesV2Test.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-import one.talon.model.CampaignSetIDs;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for CampaignPrioritiesV2
- */
-public class CampaignPrioritiesV2Test {
- private final CampaignPrioritiesV2 model = new CampaignPrioritiesV2();
-
- /**
- * Model tests for CampaignPrioritiesV2
- */
- @Test
- public void testCampaignPrioritiesV2() {
- // TODO: test CampaignPrioritiesV2
- }
-
- /**
- * Test the property 'exclusive'
- */
- @Test
- public void exclusiveTest() {
- // TODO: test exclusive
- }
-
- /**
- * Test the property 'stackable'
- */
- @Test
- public void stackableTest() {
- // TODO: test stackable
- }
-
- /**
- * Test the property 'universal'
- */
- @Test
- public void universalTest() {
- // TODO: test universal
- }
-
-}
diff --git a/src/test/java/one/talon/model/CampaignSetIDsTest.java b/src/test/java/one/talon/model/CampaignSetIDsTest.java
deleted file mode 100644
index 6737feb1..00000000
--- a/src/test/java/one/talon/model/CampaignSetIDsTest.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for CampaignSetIDs
- */
-public class CampaignSetIDsTest {
- private final CampaignSetIDs model = new CampaignSetIDs();
-
- /**
- * Model tests for CampaignSetIDs
- */
- @Test
- public void testCampaignSetIDs() {
- // TODO: test CampaignSetIDs
- }
-
- /**
- * Test the property 'campaignId'
- */
- @Test
- public void campaignIdTest() {
- // TODO: test campaignId
- }
-
-}
diff --git a/src/test/java/one/talon/model/CampaignSetV2Test.java b/src/test/java/one/talon/model/CampaignSetV2Test.java
deleted file mode 100644
index 32392653..00000000
--- a/src/test/java/one/talon/model/CampaignSetV2Test.java
+++ /dev/null
@@ -1,85 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import one.talon.model.CampaignPrioritiesV2;
-import org.threeten.bp.OffsetDateTime;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for CampaignSetV2
- */
-public class CampaignSetV2Test {
- private final CampaignSetV2 model = new CampaignSetV2();
-
- /**
- * Model tests for CampaignSetV2
- */
- @Test
- public void testCampaignSetV2() {
- // TODO: test CampaignSetV2
- }
-
- /**
- * Test the property 'id'
- */
- @Test
- public void idTest() {
- // TODO: test id
- }
-
- /**
- * Test the property 'created'
- */
- @Test
- public void createdTest() {
- // TODO: test created
- }
-
- /**
- * Test the property 'applicationId'
- */
- @Test
- public void applicationIdTest() {
- // TODO: test applicationId
- }
-
- /**
- * Test the property 'version'
- */
- @Test
- public void versionTest() {
- // TODO: test version
- }
-
- /**
- * Test the property 'set'
- */
- @Test
- public void setTest() {
- // TODO: test set
- }
-
-}
diff --git a/src/test/java/one/talon/model/CampaignStateNotificationTest.java b/src/test/java/one/talon/model/CampaignStateNotificationTest.java
deleted file mode 100644
index fb3ae9b0..00000000
--- a/src/test/java/one/talon/model/CampaignStateNotificationTest.java
+++ /dev/null
@@ -1,386 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-import java.util.ArrayList;
-import java.util.List;
-import one.talon.model.CampaignBudget;
-import one.talon.model.CodeGeneratorSettings;
-import one.talon.model.LimitConfig;
-import org.threeten.bp.OffsetDateTime;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for CampaignStateNotification
- */
-public class CampaignStateNotificationTest {
- private final CampaignStateNotification model = new CampaignStateNotification();
-
- /**
- * Model tests for CampaignStateNotification
- */
- @Test
- public void testCampaignStateNotification() {
- // TODO: test CampaignStateNotification
- }
-
- /**
- * Test the property 'id'
- */
- @Test
- public void idTest() {
- // TODO: test id
- }
-
- /**
- * Test the property 'created'
- */
- @Test
- public void createdTest() {
- // TODO: test created
- }
-
- /**
- * Test the property 'applicationId'
- */
- @Test
- public void applicationIdTest() {
- // TODO: test applicationId
- }
-
- /**
- * Test the property 'userId'
- */
- @Test
- public void userIdTest() {
- // TODO: test userId
- }
-
- /**
- * Test the property 'name'
- */
- @Test
- public void nameTest() {
- // TODO: test name
- }
-
- /**
- * Test the property 'description'
- */
- @Test
- public void descriptionTest() {
- // TODO: test description
- }
-
- /**
- * Test the property 'startTime'
- */
- @Test
- public void startTimeTest() {
- // TODO: test startTime
- }
-
- /**
- * Test the property 'endTime'
- */
- @Test
- public void endTimeTest() {
- // TODO: test endTime
- }
-
- /**
- * Test the property 'attributes'
- */
- @Test
- public void attributesTest() {
- // TODO: test attributes
- }
-
- /**
- * Test the property 'state'
- */
- @Test
- public void stateTest() {
- // TODO: test state
- }
-
- /**
- * Test the property 'activeRulesetId'
- */
- @Test
- public void activeRulesetIdTest() {
- // TODO: test activeRulesetId
- }
-
- /**
- * Test the property 'tags'
- */
- @Test
- public void tagsTest() {
- // TODO: test tags
- }
-
- /**
- * Test the property 'features'
- */
- @Test
- public void featuresTest() {
- // TODO: test features
- }
-
- /**
- * Test the property 'couponSettings'
- */
- @Test
- public void couponSettingsTest() {
- // TODO: test couponSettings
- }
-
- /**
- * Test the property 'referralSettings'
- */
- @Test
- public void referralSettingsTest() {
- // TODO: test referralSettings
- }
-
- /**
- * Test the property 'limits'
- */
- @Test
- public void limitsTest() {
- // TODO: test limits
- }
-
- /**
- * Test the property 'campaignGroups'
- */
- @Test
- public void campaignGroupsTest() {
- // TODO: test campaignGroups
- }
-
- /**
- * Test the property 'evaluationGroupId'
- */
- @Test
- public void evaluationGroupIdTest() {
- // TODO: test evaluationGroupId
- }
-
- /**
- * Test the property 'type'
- */
- @Test
- public void typeTest() {
- // TODO: test type
- }
-
- /**
- * Test the property 'linkedStoreIds'
- */
- @Test
- public void linkedStoreIdsTest() {
- // TODO: test linkedStoreIds
- }
-
- /**
- * Test the property 'budgets'
- */
- @Test
- public void budgetsTest() {
- // TODO: test budgets
- }
-
- /**
- * Test the property 'couponRedemptionCount'
- */
- @Test
- public void couponRedemptionCountTest() {
- // TODO: test couponRedemptionCount
- }
-
- /**
- * Test the property 'referralRedemptionCount'
- */
- @Test
- public void referralRedemptionCountTest() {
- // TODO: test referralRedemptionCount
- }
-
- /**
- * Test the property 'discountCount'
- */
- @Test
- public void discountCountTest() {
- // TODO: test discountCount
- }
-
- /**
- * Test the property 'discountEffectCount'
- */
- @Test
- public void discountEffectCountTest() {
- // TODO: test discountEffectCount
- }
-
- /**
- * Test the property 'couponCreationCount'
- */
- @Test
- public void couponCreationCountTest() {
- // TODO: test couponCreationCount
- }
-
- /**
- * Test the property 'customEffectCount'
- */
- @Test
- public void customEffectCountTest() {
- // TODO: test customEffectCount
- }
-
- /**
- * Test the property 'referralCreationCount'
- */
- @Test
- public void referralCreationCountTest() {
- // TODO: test referralCreationCount
- }
-
- /**
- * Test the property 'addFreeItemEffectCount'
- */
- @Test
- public void addFreeItemEffectCountTest() {
- // TODO: test addFreeItemEffectCount
- }
-
- /**
- * Test the property 'awardedGiveawaysCount'
- */
- @Test
- public void awardedGiveawaysCountTest() {
- // TODO: test awardedGiveawaysCount
- }
-
- /**
- * Test the property 'createdLoyaltyPointsCount'
- */
- @Test
- public void createdLoyaltyPointsCountTest() {
- // TODO: test createdLoyaltyPointsCount
- }
-
- /**
- * Test the property 'createdLoyaltyPointsEffectCount'
- */
- @Test
- public void createdLoyaltyPointsEffectCountTest() {
- // TODO: test createdLoyaltyPointsEffectCount
- }
-
- /**
- * Test the property 'redeemedLoyaltyPointsCount'
- */
- @Test
- public void redeemedLoyaltyPointsCountTest() {
- // TODO: test redeemedLoyaltyPointsCount
- }
-
- /**
- * Test the property 'redeemedLoyaltyPointsEffectCount'
- */
- @Test
- public void redeemedLoyaltyPointsEffectCountTest() {
- // TODO: test redeemedLoyaltyPointsEffectCount
- }
-
- /**
- * Test the property 'callApiEffectCount'
- */
- @Test
- public void callApiEffectCountTest() {
- // TODO: test callApiEffectCount
- }
-
- /**
- * Test the property 'reservecouponEffectCount'
- */
- @Test
- public void reservecouponEffectCountTest() {
- // TODO: test reservecouponEffectCount
- }
-
- /**
- * Test the property 'lastActivity'
- */
- @Test
- public void lastActivityTest() {
- // TODO: test lastActivity
- }
-
- /**
- * Test the property 'updated'
- */
- @Test
- public void updatedTest() {
- // TODO: test updated
- }
-
- /**
- * Test the property 'createdBy'
- */
- @Test
- public void createdByTest() {
- // TODO: test createdBy
- }
-
- /**
- * Test the property 'updatedBy'
- */
- @Test
- public void updatedByTest() {
- // TODO: test updatedBy
- }
-
- /**
- * Test the property 'templateId'
- */
- @Test
- public void templateIdTest() {
- // TODO: test templateId
- }
-
- /**
- * Test the property 'frontendState'
- */
- @Test
- public void frontendStateTest() {
- // TODO: test frontendState
- }
-
-}
diff --git a/src/test/java/one/talon/model/DeactivateUserRequestTest.java b/src/test/java/one/talon/model/DeactivateUserRequestTest.java
deleted file mode 100644
index 3a3b0bf6..00000000
--- a/src/test/java/one/talon/model/DeactivateUserRequestTest.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for DeactivateUserRequest
- */
-public class DeactivateUserRequestTest {
- private final DeactivateUserRequest model = new DeactivateUserRequest();
-
- /**
- * Model tests for DeactivateUserRequest
- */
- @Test
- public void testDeactivateUserRequest() {
- // TODO: test DeactivateUserRequest
- }
-
- /**
- * Test the property 'email'
- */
- @Test
- public void emailTest() {
- // TODO: test email
- }
-
-}
diff --git a/src/test/java/one/talon/model/FeedNotificationTest.java b/src/test/java/one/talon/model/FeedNotificationTest.java
deleted file mode 100644
index 8b0040aa..00000000
--- a/src/test/java/one/talon/model/FeedNotificationTest.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import org.threeten.bp.OffsetDateTime;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for FeedNotification
- */
-public class FeedNotificationTest {
- private final FeedNotification model = new FeedNotification();
-
- /**
- * Model tests for FeedNotification
- */
- @Test
- public void testFeedNotification() {
- // TODO: test FeedNotification
- }
-
- /**
- * Test the property 'title'
- */
- @Test
- public void titleTest() {
- // TODO: test title
- }
-
- /**
- * Test the property 'created'
- */
- @Test
- public void createdTest() {
- // TODO: test created
- }
-
- /**
- * Test the property 'updated'
- */
- @Test
- public void updatedTest() {
- // TODO: test updated
- }
-
- /**
- * Test the property 'articleUrl'
- */
- @Test
- public void articleUrlTest() {
- // TODO: test articleUrl
- }
-
- /**
- * Test the property 'type'
- */
- @Test
- public void typeTest() {
- // TODO: test type
- }
-
- /**
- * Test the property 'body'
- */
- @Test
- public void bodyTest() {
- // TODO: test body
- }
-
-}
diff --git a/src/test/java/one/talon/model/FrontendStateTest.java b/src/test/java/one/talon/model/FrontendStateTest.java
deleted file mode 100644
index a700abdf..00000000
--- a/src/test/java/one/talon/model/FrontendStateTest.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import io.swagger.annotations.ApiModel;
-import com.google.gson.annotations.SerializedName;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for FrontendState
- */
-public class FrontendStateTest {
- /**
- * Model tests for FrontendState
- */
- @Test
- public void testFrontendState() {
- // TODO: test FrontendState
- }
-
-}
diff --git a/src/test/java/one/talon/model/LoyaltyProgramSubledgersTest.java b/src/test/java/one/talon/model/LoyaltyProgramSubledgersTest.java
deleted file mode 100644
index 28bf8a73..00000000
--- a/src/test/java/one/talon/model/LoyaltyProgramSubledgersTest.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for LoyaltyProgramSubledgers
- */
-public class LoyaltyProgramSubledgersTest {
- private final LoyaltyProgramSubledgers model = new LoyaltyProgramSubledgers();
-
- /**
- * Model tests for LoyaltyProgramSubledgers
- */
- @Test
- public void testLoyaltyProgramSubledgers() {
- // TODO: test LoyaltyProgramSubledgers
- }
-
- /**
- * Test the property 'loyaltyProgramId'
- */
- @Test
- public void loyaltyProgramIdTest() {
- // TODO: test loyaltyProgramId
- }
-
- /**
- * Test the property 'subledgerIds'
- */
- @Test
- public void subledgerIdsTest() {
- // TODO: test subledgerIds
- }
-
-}
diff --git a/src/test/java/one/talon/model/LoyaltyStatisticsTest.java b/src/test/java/one/talon/model/LoyaltyStatisticsTest.java
deleted file mode 100644
index a5aff4a3..00000000
--- a/src/test/java/one/talon/model/LoyaltyStatisticsTest.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.math.BigDecimal;
-import one.talon.model.LoyaltyDashboardPointsBreakdown;
-import org.threeten.bp.OffsetDateTime;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for LoyaltyStatistics
- */
-public class LoyaltyStatisticsTest {
- private final LoyaltyStatistics model = new LoyaltyStatistics();
-
- /**
- * Model tests for LoyaltyStatistics
- */
- @Test
- public void testLoyaltyStatistics() {
- // TODO: test LoyaltyStatistics
- }
-
- /**
- * Test the property 'date'
- */
- @Test
- public void dateTest() {
- // TODO: test date
- }
-
- /**
- * Test the property 'totalActivePoints'
- */
- @Test
- public void totalActivePointsTest() {
- // TODO: test totalActivePoints
- }
-
- /**
- * Test the property 'totalPendingPoints'
- */
- @Test
- public void totalPendingPointsTest() {
- // TODO: test totalPendingPoints
- }
-
- /**
- * Test the property 'totalSpentPoints'
- */
- @Test
- public void totalSpentPointsTest() {
- // TODO: test totalSpentPoints
- }
-
- /**
- * Test the property 'totalExpiredPoints'
- */
- @Test
- public void totalExpiredPointsTest() {
- // TODO: test totalExpiredPoints
- }
-
- /**
- * Test the property 'totalMembers'
- */
- @Test
- public void totalMembersTest() {
- // TODO: test totalMembers
- }
-
- /**
- * Test the property 'newMembers'
- */
- @Test
- public void newMembersTest() {
- // TODO: test newMembers
- }
-
- /**
- * Test the property 'spentPoints'
- */
- @Test
- public void spentPointsTest() {
- // TODO: test spentPoints
- }
-
- /**
- * Test the property 'earnedPoints'
- */
- @Test
- public void earnedPointsTest() {
- // TODO: test earnedPoints
- }
-
-}
diff --git a/src/test/java/one/talon/model/NewCampaignSetV2Test.java b/src/test/java/one/talon/model/NewCampaignSetV2Test.java
deleted file mode 100644
index 22dccb54..00000000
--- a/src/test/java/one/talon/model/NewCampaignSetV2Test.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import one.talon.model.CampaignPrioritiesV2;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for NewCampaignSetV2
- */
-public class NewCampaignSetV2Test {
- private final NewCampaignSetV2 model = new NewCampaignSetV2();
-
- /**
- * Model tests for NewCampaignSetV2
- */
- @Test
- public void testNewCampaignSetV2() {
- // TODO: test NewCampaignSetV2
- }
-
- /**
- * Test the property 'applicationId'
- */
- @Test
- public void applicationIdTest() {
- // TODO: test applicationId
- }
-
- /**
- * Test the property 'version'
- */
- @Test
- public void versionTest() {
- // TODO: test version
- }
-
- /**
- * Test the property 'set'
- */
- @Test
- public void setTest() {
- // TODO: test set
- }
-
-}
diff --git a/src/test/java/one/talon/model/NewNotificationTestTest.java b/src/test/java/one/talon/model/NewNotificationTestTest.java
deleted file mode 100644
index 91c2c0e1..00000000
--- a/src/test/java/one/talon/model/NewNotificationTestTest.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for NewNotificationTest
- */
-public class NewNotificationTestTest {
- private final NewNotificationTest model = new NewNotificationTest();
-
- /**
- * Model tests for NewNotificationTest
- */
- @Test
- public void testNewNotificationTest() {
- // TODO: test NewNotificationTest
- }
-
- /**
- * Test the property 'type'
- */
- @Test
- public void typeTest() {
- // TODO: test type
- }
-
- /**
- * Test the property 'queryParams'
- */
- @Test
- public void queryParamsTest() {
- // TODO: test queryParams
- }
-
- /**
- * Test the property 'headers'
- */
- @Test
- public void headersTest() {
- // TODO: test headers
- }
-
- /**
- * Test the property 'verb'
- */
- @Test
- public void verbTest() {
- // TODO: test verb
- }
-
- /**
- * Test the property 'url'
- */
- @Test
- public void urlTest() {
- // TODO: test url
- }
-
- /**
- * Test the property 'payload'
- */
- @Test
- public void payloadTest() {
- // TODO: test payload
- }
-
-}
diff --git a/src/test/java/one/talon/model/NotificationTestTest.java b/src/test/java/one/talon/model/NotificationTestTest.java
deleted file mode 100644
index e6713ffe..00000000
--- a/src/test/java/one/talon/model/NotificationTestTest.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for NotificationTest
- */
-public class NotificationTestTest {
- private final NotificationTest model = new NotificationTest();
-
- /**
- * Model tests for NotificationTest
- */
- @Test
- public void testNotificationTest() {
- // TODO: test NotificationTest
- }
-
- /**
- * Test the property 'httpResponse'
- */
- @Test
- public void httpResponseTest() {
- // TODO: test httpResponse
- }
-
- /**
- * Test the property 'httpStatus'
- */
- @Test
- public void httpStatusTest() {
- // TODO: test httpStatus
- }
-
-}
diff --git a/src/test/java/one/talon/model/NotificationWebhookTest.java b/src/test/java/one/talon/model/NotificationWebhookTest.java
deleted file mode 100644
index e1fbdf99..00000000
--- a/src/test/java/one/talon/model/NotificationWebhookTest.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-import org.threeten.bp.OffsetDateTime;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for NotificationWebhook
- */
-public class NotificationWebhookTest {
- private final NotificationWebhook model = new NotificationWebhook();
-
- /**
- * Model tests for NotificationWebhook
- */
- @Test
- public void testNotificationWebhook() {
- // TODO: test NotificationWebhook
- }
-
- /**
- * Test the property 'id'
- */
- @Test
- public void idTest() {
- // TODO: test id
- }
-
- /**
- * Test the property 'created'
- */
- @Test
- public void createdTest() {
- // TODO: test created
- }
-
- /**
- * Test the property 'modified'
- */
- @Test
- public void modifiedTest() {
- // TODO: test modified
- }
-
- /**
- * Test the property 'applicationId'
- */
- @Test
- public void applicationIdTest() {
- // TODO: test applicationId
- }
-
- /**
- * Test the property 'url'
- */
- @Test
- public void urlTest() {
- // TODO: test url
- }
-
- /**
- * Test the property 'headers'
- */
- @Test
- public void headersTest() {
- // TODO: test headers
- }
-
- /**
- * Test the property 'enabled'
- */
- @Test
- public void enabledTest() {
- // TODO: test enabled
- }
-
-}
diff --git a/src/test/java/one/talon/model/OutgoingIntegrationWebhookTemplateTest.java b/src/test/java/one/talon/model/OutgoingIntegrationWebhookTemplateTest.java
deleted file mode 100644
index cf25c0ed..00000000
--- a/src/test/java/one/talon/model/OutgoingIntegrationWebhookTemplateTest.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for OutgoingIntegrationWebhookTemplate
- */
-public class OutgoingIntegrationWebhookTemplateTest {
- private final OutgoingIntegrationWebhookTemplate model = new OutgoingIntegrationWebhookTemplate();
-
- /**
- * Model tests for OutgoingIntegrationWebhookTemplate
- */
- @Test
- public void testOutgoingIntegrationWebhookTemplate() {
- // TODO: test OutgoingIntegrationWebhookTemplate
- }
-
- /**
- * Test the property 'id'
- */
- @Test
- public void idTest() {
- // TODO: test id
- }
-
- /**
- * Test the property 'integrationType'
- */
- @Test
- public void integrationTypeTest() {
- // TODO: test integrationType
- }
-
- /**
- * Test the property 'title'
- */
- @Test
- public void titleTest() {
- // TODO: test title
- }
-
- /**
- * Test the property 'description'
- */
- @Test
- public void descriptionTest() {
- // TODO: test description
- }
-
- /**
- * Test the property 'payload'
- */
- @Test
- public void payloadTest() {
- // TODO: test payload
- }
-
- /**
- * Test the property 'method'
- */
- @Test
- public void methodTest() {
- // TODO: test method
- }
-
-}
diff --git a/src/test/java/one/talon/model/OutgoingIntegrationWebhookTemplatesTest.java b/src/test/java/one/talon/model/OutgoingIntegrationWebhookTemplatesTest.java
deleted file mode 100644
index 8a7363bd..00000000
--- a/src/test/java/one/talon/model/OutgoingIntegrationWebhookTemplatesTest.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-import one.talon.model.OutgoingIntegrationWebhookTemplate;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for OutgoingIntegrationWebhookTemplates
- */
-public class OutgoingIntegrationWebhookTemplatesTest {
- private final OutgoingIntegrationWebhookTemplates model = new OutgoingIntegrationWebhookTemplates();
-
- /**
- * Model tests for OutgoingIntegrationWebhookTemplates
- */
- @Test
- public void testOutgoingIntegrationWebhookTemplates() {
- // TODO: test OutgoingIntegrationWebhookTemplates
- }
-
- /**
- * Test the property 'data'
- */
- @Test
- public void dataTest() {
- // TODO: test data
- }
-
-}
diff --git a/src/test/java/one/talon/model/PriorityPositionTest.java b/src/test/java/one/talon/model/PriorityPositionTest.java
deleted file mode 100644
index a3e0f6ab..00000000
--- a/src/test/java/one/talon/model/PriorityPositionTest.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for PriorityPosition
- */
-public class PriorityPositionTest {
- private final PriorityPosition model = new PriorityPosition();
-
- /**
- * Model tests for PriorityPosition
- */
- @Test
- public void testPriorityPosition() {
- // TODO: test PriorityPosition
- }
-
- /**
- * Test the property 'set'
- */
- @Test
- public void setTest() {
- // TODO: test set
- }
-
- /**
- * Test the property 'position'
- */
- @Test
- public void positionTest() {
- // TODO: test position
- }
-
-}
diff --git a/src/test/java/one/talon/model/ProductSkuUnitAnalyticsTest.java b/src/test/java/one/talon/model/ProductSkuUnitAnalyticsTest.java
deleted file mode 100644
index b070b9d4..00000000
--- a/src/test/java/one/talon/model/ProductSkuUnitAnalyticsTest.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import one.talon.model.AnalyticsDataPointWithTrend;
-import org.threeten.bp.OffsetDateTime;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for ProductSkuUnitAnalytics
- */
-public class ProductSkuUnitAnalyticsTest {
- private final ProductSkuUnitAnalytics model = new ProductSkuUnitAnalytics();
-
- /**
- * Model tests for ProductSkuUnitAnalytics
- */
- @Test
- public void testProductSkuUnitAnalytics() {
- // TODO: test ProductSkuUnitAnalytics
- }
-
- /**
- * Test the property 'startTime'
- */
- @Test
- public void startTimeTest() {
- // TODO: test startTime
- }
-
- /**
- * Test the property 'endTime'
- */
- @Test
- public void endTimeTest() {
- // TODO: test endTime
- }
-
- /**
- * Test the property 'purchasedUnits'
- */
- @Test
- public void purchasedUnitsTest() {
- // TODO: test purchasedUnits
- }
-
- /**
- * Test the property 'sku'
- */
- @Test
- public void skuTest() {
- // TODO: test sku
- }
-
-}
diff --git a/src/test/java/one/talon/model/RoleV2PermissionsRolesTest.java b/src/test/java/one/talon/model/RoleV2PermissionsRolesTest.java
deleted file mode 100644
index 5ff79559..00000000
--- a/src/test/java/one/talon/model/RoleV2PermissionsRolesTest.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import one.talon.model.RoleV2ApplicationDetails;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for RoleV2PermissionsRoles
- */
-public class RoleV2PermissionsRolesTest {
- private final RoleV2PermissionsRoles model = new RoleV2PermissionsRoles();
-
- /**
- * Model tests for RoleV2PermissionsRoles
- */
- @Test
- public void testRoleV2PermissionsRoles() {
- // TODO: test RoleV2PermissionsRoles
- }
-
- /**
- * Test the property 'applications'
- */
- @Test
- public void applicationsTest() {
- // TODO: test applications
- }
-
- /**
- * Test the property 'loyaltyPrograms'
- */
- @Test
- public void loyaltyProgramsTest() {
- // TODO: test loyaltyPrograms
- }
-
- /**
- * Test the property 'campaignAccessGroups'
- */
- @Test
- public void campaignAccessGroupsTest() {
- // TODO: test campaignAccessGroups
- }
-
-}
diff --git a/src/test/java/one/talon/model/UpdateCustomEffectTest.java b/src/test/java/one/talon/model/UpdateCustomEffectTest.java
deleted file mode 100644
index 8baf7a1d..00000000
--- a/src/test/java/one/talon/model/UpdateCustomEffectTest.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-import one.talon.model.TemplateArgDef;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for UpdateCustomEffect
- */
-public class UpdateCustomEffectTest {
- private final UpdateCustomEffect model = new UpdateCustomEffect();
-
- /**
- * Model tests for UpdateCustomEffect
- */
- @Test
- public void testUpdateCustomEffect() {
- // TODO: test UpdateCustomEffect
- }
-
- /**
- * Test the property 'applicationIds'
- */
- @Test
- public void applicationIdsTest() {
- // TODO: test applicationIds
- }
-
- /**
- * Test the property 'isPerItem'
- */
- @Test
- public void isPerItemTest() {
- // TODO: test isPerItem
- }
-
- /**
- * Test the property 'name'
- */
- @Test
- public void nameTest() {
- // TODO: test name
- }
-
- /**
- * Test the property 'title'
- */
- @Test
- public void titleTest() {
- // TODO: test title
- }
-
- /**
- * Test the property 'payload'
- */
- @Test
- public void payloadTest() {
- // TODO: test payload
- }
-
- /**
- * Test the property 'description'
- */
- @Test
- public void descriptionTest() {
- // TODO: test description
- }
-
- /**
- * Test the property 'enabled'
- */
- @Test
- public void enabledTest() {
- // TODO: test enabled
- }
-
- /**
- * Test the property 'params'
- */
- @Test
- public void paramsTest() {
- // TODO: test params
- }
-
-}
diff --git a/src/test/java/one/talon/model/UpdateUserLatestFeedTimestampTest.java b/src/test/java/one/talon/model/UpdateUserLatestFeedTimestampTest.java
deleted file mode 100644
index aaf672cf..00000000
--- a/src/test/java/one/talon/model/UpdateUserLatestFeedTimestampTest.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import org.threeten.bp.OffsetDateTime;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for UpdateUserLatestFeedTimestamp
- */
-public class UpdateUserLatestFeedTimestampTest {
- private final UpdateUserLatestFeedTimestamp model = new UpdateUserLatestFeedTimestamp();
-
- /**
- * Model tests for UpdateUserLatestFeedTimestamp
- */
- @Test
- public void testUpdateUserLatestFeedTimestamp() {
- // TODO: test UpdateUserLatestFeedTimestamp
- }
-
- /**
- * Test the property 'newLatestFeedTimestamp'
- */
- @Test
- public void newLatestFeedTimestampTest() {
- // TODO: test newLatestFeedTimestamp
- }
-
-}
diff --git a/src/test/java/one/talon/model/UserFeedNotificationsTest.java b/src/test/java/one/talon/model/UserFeedNotificationsTest.java
deleted file mode 100644
index fa8607a5..00000000
--- a/src/test/java/one/talon/model/UserFeedNotificationsTest.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
- *
- * The version of the OpenAPI document:
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package one.talon.model;
-
-import com.google.gson.TypeAdapter;
-import com.google.gson.annotations.JsonAdapter;
-import com.google.gson.annotations.SerializedName;
-import com.google.gson.stream.JsonReader;
-import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-import one.talon.model.FeedNotification;
-import org.threeten.bp.OffsetDateTime;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-
-
-/**
- * Model tests for UserFeedNotifications
- */
-public class UserFeedNotificationsTest {
- private final UserFeedNotifications model = new UserFeedNotifications();
-
- /**
- * Model tests for UserFeedNotifications
- */
- @Test
- public void testUserFeedNotifications() {
- // TODO: test UserFeedNotifications
- }
-
- /**
- * Test the property 'lastUpdate'
- */
- @Test
- public void lastUpdateTest() {
- // TODO: test lastUpdate
- }
-
- /**
- * Test the property 'notifications'
- */
- @Test
- public void notificationsTest() {
- // TODO: test notifications
- }
-
-}