Skip to content

Commit

Permalink
[ML] Add new calendar event fields (#2916)
Browse files Browse the repository at this point in the history
Updated for the changes in elastic/elasticsearch#112837
  • Loading branch information
davidkyle authored Sep 20, 2024
1 parent ca09d65 commit 68207f8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions specification/ml/_types/CalendarEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/

import { Id } from '@_types/common'
import { integer } from '@_types/Numeric'
import { DateTime } from '@_types/Time'

export class CalendarEvent {
Expand All @@ -30,4 +31,14 @@ export class CalendarEvent {
end_time: DateTime
/** The timestamp for the beginning of the scheduled event in milliseconds since the epoch or ISO 8601 format. */
start_time: DateTime
/** When true the model will not create results for this calendar period.
* @server_default true
*/
skip_result?: boolean
/** When true the model will not be updated for this calendar period.
* @server_default true
*/
skip_model_update?: boolean
/** Shift time by this many seconds. For example adjust time for daylight savings changes */
force_time_shift?: integer
}

0 comments on commit 68207f8

Please sign in to comment.