From 7db1f37c0cc291d3970b7288c7e61d7132628a31 Mon Sep 17 00:00:00 2001 From: Blag Date: Wed, 31 Jan 2024 13:52:03 -0500 Subject: [PATCH] Add capacity on Event.kt Added capacity as a return value for events --- src/main/kotlin/com/nylas/models/Event.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/kotlin/com/nylas/models/Event.kt b/src/main/kotlin/com/nylas/models/Event.kt index d3b15fb4..32ca04d9 100644 --- a/src/main/kotlin/com/nylas/models/Event.kt +++ b/src/main/kotlin/com/nylas/models/Event.kt @@ -135,6 +135,11 @@ data class Event( */ @Json(name = "html_link") val htmlLink: String? = null, + /** + * The maximum number of participants that may attend the event + */ + @Json(name = "capacity") + val capacity: Int? = null, ) { /** * Get the type of object.