From 37af347feb67b39bfbfd351d617eb74917f7ad00 Mon Sep 17 00:00:00 2001 From: Blag Date: Tue, 14 Nov 2023 09:23:33 -0500 Subject: [PATCH] Fix List Events error in Java/Kotlin The Provider was causing problems so I make it optional --- src/main/kotlin/com/nylas/models/Conferencing.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/com/nylas/models/Conferencing.kt b/src/main/kotlin/com/nylas/models/Conferencing.kt index d5f633ef..b6c8d382 100644 --- a/src/main/kotlin/com/nylas/models/Conferencing.kt +++ b/src/main/kotlin/com/nylas/models/Conferencing.kt @@ -14,7 +14,7 @@ sealed class Conferencing { * The conferencing provider */ @Json(name = "provider") - val provider: ConferencingProvider, + val provider: ConferencingProvider? = null, /** * Empty dict to indicate an intention to autocreate a video link. * Additional provider settings may be included in autocreate.settings, but Nylas does not validate these. @@ -31,7 +31,7 @@ sealed class Conferencing { * The conferencing provider */ @Json(name = "provider") - val provider: ConferencingProvider, + val provider: ConferencingProvider? = null, /** * The conferencing details */ @@ -39,7 +39,7 @@ sealed class Conferencing { val details: Config, ) : Conferencing() { /** - * Class representation of a the configuration for a conferencing object + * Class representation of the configuration for a conferencing object */ data class Config( /**