Skip to content

Commit

Permalink
Add capacity on Event (#199)
Browse files Browse the repository at this point in the history
Added capacity as a return value for events

https://nylas.atlassian.net/browse/TW-2509

# License
<!-- Your PR comment must contain the following line for us to merge the
PR. -->
I confirm that this contribution is made under the terms of the MIT
license and that I have the authority necessary to make this
contribution on behalf of its copyright owner.
  • Loading branch information
atejada authored Jan 31, 2024
1 parent bfe63ea commit 94fb909
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/kotlin/com/nylas/models/Event.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 94fb909

Please sign in to comment.