From a123697d2b3f87c6e2f5132d6a42ee338c751287 Mon Sep 17 00:00:00 2001 From: Samuel Xavier Date: Tue, 29 Jul 2025 16:05:33 -0300 Subject: [PATCH] CUST-4638 made Participants.email nullable --- CHANGELOG.md | 3 +++ src/main/kotlin/com/nylas/models/Participant.kt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a2eb4d2..a05cc6b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Nylas Java SDK Changelog +## [Unreleased] +* Fixed `email` in `Participant` not being a nullable field + ## [2.11.1] - Release 2025-07-11 ### Added diff --git a/src/main/kotlin/com/nylas/models/Participant.kt b/src/main/kotlin/com/nylas/models/Participant.kt index 8534c8a6..ec661f5d 100644 --- a/src/main/kotlin/com/nylas/models/Participant.kt +++ b/src/main/kotlin/com/nylas/models/Participant.kt @@ -10,7 +10,7 @@ data class Participant( * Participant's email address. */ @Json(name = "email") - val email: String = "", + val email: String? = null, /** * Participant's status. */