Skip to content

Commit

Permalink
Add capacity on Event.kt
Browse files Browse the repository at this point in the history
Added capacity as a return value for events
  • Loading branch information
atejada committed Jan 31, 2024
1 parent bfe63ea commit 7db1f37
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 7db1f37

Please sign in to comment.