From ad92ec3c327a35f27c92211712991268d8c1d1b9 Mon Sep 17 00:00:00 2001 From: Jan Cerman Date: Wed, 24 Jul 2024 13:45:40 +0200 Subject: [PATCH] CTC-2504 Rename new WS MAPI code samples --- ...SpotlightStatus.cs => mapi_v2_get_web_spotlight_status.cs} | 4 +--- ...lightActivate.cs => mapi_v2_put_web_spotlight_activate.cs} | 4 +--- ...tDeactivate.cs => mapi_v2_put_web_spotlight_deactivate.cs} | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) rename net/management-api-v2/{GetWebSpotlightStatus.cs => mapi_v2_get_web_spotlight_status.cs} (64%) rename net/management-api-v2/{PutWebSpotlightActivate.cs => mapi_v2_put_web_spotlight_activate.cs} (77%) rename net/management-api-v2/{PutWebSpotlightDeactivate.cs => mapi_v2_put_web_spotlight_deactivate.cs} (63%) diff --git a/net/management-api-v2/GetWebSpotlightStatus.cs b/net/management-api-v2/mapi_v2_get_web_spotlight_status.cs similarity index 64% rename from net/management-api-v2/GetWebSpotlightStatus.cs rename to net/management-api-v2/mapi_v2_get_web_spotlight_status.cs index 9f4f3613..3a69746a 100644 --- a/net/management-api-v2/GetWebSpotlightStatus.cs +++ b/net/management-api-v2/mapi_v2_get_web_spotlight_status.cs @@ -1,4 +1,3 @@ -// DocSection: cm_api_v2_get_web_spotlight_status // Tip: Find more about .NET SDKs at https://kontent.ai/learn/net using Kontent.Ai.Management; @@ -8,5 +7,4 @@ ProjectId = "" }); -var response = await client.GetWebSpotlightStatusAsync(); -// EndDocSection \ No newline at end of file +var response = await client.GetWebSpotlightStatusAsync(); \ No newline at end of file diff --git a/net/management-api-v2/PutWebSpotlightActivate.cs b/net/management-api-v2/mapi_v2_put_web_spotlight_activate.cs similarity index 77% rename from net/management-api-v2/PutWebSpotlightActivate.cs rename to net/management-api-v2/mapi_v2_put_web_spotlight_activate.cs index 2b05c44a..1e4a4501 100644 --- a/net/management-api-v2/PutWebSpotlightActivate.cs +++ b/net/management-api-v2/mapi_v2_put_web_spotlight_activate.cs @@ -1,4 +1,3 @@ -// DocSection: cm_api_v2_put_web_spotlight_activate // Tip: Find more about .NET SDKs at https://kontent.ai/learn/net using Kontent.Ai.Management; @@ -16,5 +15,4 @@ RootType = reference } -var response = await client.ActivateWebSpotlightAsync(model); -// EndDocSection \ No newline at end of file +var response = await client.ActivateWebSpotlightAsync(model); \ No newline at end of file diff --git a/net/management-api-v2/PutWebSpotlightDeactivate.cs b/net/management-api-v2/mapi_v2_put_web_spotlight_deactivate.cs similarity index 63% rename from net/management-api-v2/PutWebSpotlightDeactivate.cs rename to net/management-api-v2/mapi_v2_put_web_spotlight_deactivate.cs index 833cf5c4..de6bd888 100644 --- a/net/management-api-v2/PutWebSpotlightDeactivate.cs +++ b/net/management-api-v2/mapi_v2_put_web_spotlight_deactivate.cs @@ -1,4 +1,3 @@ -// DocSection: cm_api_v2_put_web_spotlight_deactivate // Tip: Find more about .NET SDKs at https://kontent.ai/learn/net using Kontent.Ai.Management; @@ -8,5 +7,4 @@ ProjectId = "" }); -var response = await client.DeactivateWebSpotlightAsync(); -// EndDocSection \ No newline at end of file +var response = await client.DeactivateWebSpotlightAsync(); \ No newline at end of file