Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/main/kotlin/com/nylas/models/EventVisibility.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ import com.squareup.moshi.Json

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