Skip to content

Commit 68207f8

Browse files
authored
[ML] Add new calendar event fields (#2916)
Updated for the changes in elastic/elasticsearch#112837
1 parent ca09d65 commit 68207f8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

specification/ml/_types/CalendarEvent.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
*/
1919

2020
import { Id } from '@_types/common'
21+
import { integer } from '@_types/Numeric'
2122
import { DateTime } from '@_types/Time'
2223

2324
export class CalendarEvent {
@@ -30,4 +31,14 @@ export class CalendarEvent {
3031
end_time: DateTime
3132
/** The timestamp for the beginning of the scheduled event in milliseconds since the epoch or ISO 8601 format. */
3233
start_time: DateTime
34+
/** When true the model will not create results for this calendar period.
35+
* @server_default true
36+
*/
37+
skip_result?: boolean
38+
/** When true the model will not be updated for this calendar period.
39+
* @server_default true
40+
*/
41+
skip_model_update?: boolean
42+
/** Shift time by this many seconds. For example adjust time for daylight savings changes */
43+
force_time_shift?: integer
3344
}

0 commit comments

Comments
 (0)