From 3b3d13ce32ff33dc04c6abc627873c626269b7d6 Mon Sep 17 00:00:00 2001 From: Blag Date: Wed, 31 Jan 2024 07:12:06 -0500 Subject: [PATCH] Add default as a type of visibillity Default is actually a type of visibility --- src/main/kotlin/com/nylas/models/EventVisibility.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/kotlin/com/nylas/models/EventVisibility.kt b/src/main/kotlin/com/nylas/models/EventVisibility.kt index 276e0d2d..c44fa762 100644 --- a/src/main/kotlin/com/nylas/models/EventVisibility.kt +++ b/src/main/kotlin/com/nylas/models/EventVisibility.kt @@ -6,6 +6,9 @@ import com.squareup.moshi.Json * Enum representation of visibility of the event, if the event is private or public. */ enum class EventVisibility { + @Json(name = "default") + DEFAULT, + @Json(name = "public") PUBLIC,