Skip to content

Commit 5d2b30f

Browse files
authored
Adding original_start_time to the Event model (#271)
# License <!-- Your PR comment must contain the following line for us to merge the PR. --> I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.
1 parent 30a5b16 commit 5d2b30f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
### Unreleased
44
* Added support for Notetaker APIs
55
* Added support for Notetaker via the calendar and event APIs
6+
* Added `original_start_time` property to the Event model
67

78
### [2.7.0] - Release 2025-03-03
89
* Added support for listing import events via `events.listImportEvents()`

src/main/kotlin/com/nylas/models/Event.kt

+5
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,11 @@ data class Event(
150150
*/
151151
@Json(name = "notetaker")
152152
val notetaker: EventNotetaker? = null,
153+
/**
154+
* The original start time of the event, in Unix timestamp format. This field is present only if the event is an instance of a recurring event.
155+
*/
156+
@Json(name = "original_start_time")
157+
val originalStartTime: Long? = null,
153158
) {
154159
/**
155160
* Get the type of object.

0 commit comments

Comments
 (0)