From e277436b35de3ee3ecd1220b2dbf553ef88c34e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Z=C3=A1hora?= Date: Thu, 25 Jul 2024 08:57:24 +0200 Subject: [PATCH] EN-238 Update Web Spotlight response model --- .../Data/WebSpotlight/ActivationWebSpotlightResponse.json | 2 +- .../ActivationWebSpotlightWithProvidedRootTypeIdResponse.json | 2 +- .../Data/WebSpotlight/DeactivationWebSpotlightResponse.json | 2 +- .../Data/WebSpotlight/GetStatusWebSpotlightResponse.json | 2 +- Kontent.Ai.Management/Models/WebSpotlight/WebSpotlightModel.cs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Kontent.Ai.Management.Tests/Data/WebSpotlight/ActivationWebSpotlightResponse.json b/Kontent.Ai.Management.Tests/Data/WebSpotlight/ActivationWebSpotlightResponse.json index d9a55ca3..2f746298 100644 --- a/Kontent.Ai.Management.Tests/Data/WebSpotlight/ActivationWebSpotlightResponse.json +++ b/Kontent.Ai.Management.Tests/Data/WebSpotlight/ActivationWebSpotlightResponse.json @@ -1,4 +1,4 @@ { "enabled": true, - "root_type_id": "0689fcb3-24f1-49f4-b115-e7b816d59e9d" + "root_type": "0689fcb3-24f1-49f4-b115-e7b816d59e9d" } \ No newline at end of file diff --git a/Kontent.Ai.Management.Tests/Data/WebSpotlight/ActivationWebSpotlightWithProvidedRootTypeIdResponse.json b/Kontent.Ai.Management.Tests/Data/WebSpotlight/ActivationWebSpotlightWithProvidedRootTypeIdResponse.json index 21214617..18a240ae 100644 --- a/Kontent.Ai.Management.Tests/Data/WebSpotlight/ActivationWebSpotlightWithProvidedRootTypeIdResponse.json +++ b/Kontent.Ai.Management.Tests/Data/WebSpotlight/ActivationWebSpotlightWithProvidedRootTypeIdResponse.json @@ -1,4 +1,4 @@ { "enabled": true, - "root_type_id": "3660e894-bae8-4dcd-9d3e-5fc9205c2ece" + "root_type": "3660e894-bae8-4dcd-9d3e-5fc9205c2ece" } \ No newline at end of file diff --git a/Kontent.Ai.Management.Tests/Data/WebSpotlight/DeactivationWebSpotlightResponse.json b/Kontent.Ai.Management.Tests/Data/WebSpotlight/DeactivationWebSpotlightResponse.json index e4fb263e..bf3fe36e 100644 --- a/Kontent.Ai.Management.Tests/Data/WebSpotlight/DeactivationWebSpotlightResponse.json +++ b/Kontent.Ai.Management.Tests/Data/WebSpotlight/DeactivationWebSpotlightResponse.json @@ -1,4 +1,4 @@ { "enabled": false, - "root_type_id": "0689fcb3-24f1-49f4-b115-e7b816d59e9d" + "root_type": "0689fcb3-24f1-49f4-b115-e7b816d59e9d" } \ No newline at end of file diff --git a/Kontent.Ai.Management.Tests/Data/WebSpotlight/GetStatusWebSpotlightResponse.json b/Kontent.Ai.Management.Tests/Data/WebSpotlight/GetStatusWebSpotlightResponse.json index d9a55ca3..2f746298 100644 --- a/Kontent.Ai.Management.Tests/Data/WebSpotlight/GetStatusWebSpotlightResponse.json +++ b/Kontent.Ai.Management.Tests/Data/WebSpotlight/GetStatusWebSpotlightResponse.json @@ -1,4 +1,4 @@ { "enabled": true, - "root_type_id": "0689fcb3-24f1-49f4-b115-e7b816d59e9d" + "root_type": "0689fcb3-24f1-49f4-b115-e7b816d59e9d" } \ No newline at end of file diff --git a/Kontent.Ai.Management/Models/WebSpotlight/WebSpotlightModel.cs b/Kontent.Ai.Management/Models/WebSpotlight/WebSpotlightModel.cs index 3ff0c22b..a6172e7d 100644 --- a/Kontent.Ai.Management/Models/WebSpotlight/WebSpotlightModel.cs +++ b/Kontent.Ai.Management/Models/WebSpotlight/WebSpotlightModel.cs @@ -17,6 +17,6 @@ public class WebSpotlightModel /// /// Gets or sets the web spotlight's Root Type ID. /// - [JsonProperty("root_type_id")] + [JsonProperty("root_type")] public Guid? RootTypeId { get; set; } } \ No newline at end of file