Skip to content

Commit 3b233de

Browse files
TDT-2790 Clarify event visibility default is Google-only (#333)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 559d796 commit 3b233de

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Nylas Java SDK Changelog
22

3+
## [Unreleased]
4+
5+
### Changed
6+
* Clarify that event `default` visibility is Google-only
7+
38
## [v2.17.1] - Release 2026-06-25
49

510
### Fixed

‎src/main/kotlin/com/nylas/models/EventVisibility.kt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ import com.squareup.moshi.Json
44

55
/**
66
* Enum representation of visibility of the event, if the event is private or public.
7+
*
8+
* [DEFAULT] is only valid for Google events, where it defers to the calendar's own sharing
9+
* settings. Microsoft and EWS events only support [PUBLIC] and [PRIVATE]; sending `default`
10+
* for these providers returns a 400 error.
711
*/
812
enum class EventVisibility {
913
@Json(name = "default")

0 commit comments

Comments
 (0)