From 657e22dd798484e5043b33cf91206b779118b1e0 Mon Sep 17 00:00:00 2001 From: Blag Date: Tue, 30 Jan 2024 15:22:31 -0500 Subject: [PATCH] Add EventVisibility default value (#196) --- src/main/kotlin/com/nylas/models/CreateEventRequest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/nylas/models/CreateEventRequest.kt b/src/main/kotlin/com/nylas/models/CreateEventRequest.kt index 9f72b17a..501be69f 100644 --- a/src/main/kotlin/com/nylas/models/CreateEventRequest.kt +++ b/src/main/kotlin/com/nylas/models/CreateEventRequest.kt @@ -436,7 +436,7 @@ data class CreateEventRequest( private var recurrence: List? = null private var calendarId: String? = null private var readOnly: Boolean? = null - private var visibility: EventVisibility? = null + private var visibility: EventVisibility? = EventVisibility.PUBLIC private var capacity: Int? = null private var hideParticipant: Boolean? = null