Skip to content

Commit

Permalink
Fix List Events error in Java/Kotlin
Browse files Browse the repository at this point in the history
The Provider was causing problems so I make it optional
  • Loading branch information
atejada committed Nov 14, 2023
1 parent d5532ef commit 37af347
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/kotlin/com/nylas/models/Conferencing.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -31,15 +31,15 @@ sealed class Conferencing {
* The conferencing provider
*/
@Json(name = "provider")
val provider: ConferencingProvider,
val provider: ConferencingProvider? = null,
/**
* The conferencing details
*/
@Json(name = "details")
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(
/**
Expand Down

0 comments on commit 37af347

Please sign in to comment.