From 564e6c4ac94dcf1b4697911b947998c86aa105d2 Mon Sep 17 00:00:00 2001 From: Auston Bunsen Date: Wed, 15 Apr 2026 15:43:02 -0400 Subject: [PATCH] Document landing page kind enum values Adds a docstring to `CreateLandingPageRequest.Kind` and an inline comment in the README example clarifying that the field accepts `universal` or `personalized`. --- README.md | 2 +- src/AccessGrid/Models.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 22b7a71..4a15bd5 100644 --- a/README.md +++ b/README.md @@ -520,7 +520,7 @@ public async Task CreateLandingPageAsync() var landingPage = await client.Console.CreateLandingPageAsync(new CreateLandingPageRequest { Name = "Miami Office Access Pass", - Kind = "universal", + Kind = "universal", // "universal" or "personalized" AdditionalText = "Welcome to the Miami Office", BgColor = "#f1f5f9", AllowImmediateDownload = true diff --git a/src/AccessGrid/Models.cs b/src/AccessGrid/Models.cs index acce0a3..a9000eb 100644 --- a/src/AccessGrid/Models.cs +++ b/src/AccessGrid/Models.cs @@ -1134,6 +1134,9 @@ public class CreateLandingPageRequest [JsonPropertyName("name")] public string Name { get; set; } + /// + /// Must be `universal` or `personalized` + /// [JsonPropertyName("kind")] public string Kind { get; set; }