Class CalendarEvent
java.lang.Object
co.elastic.clients.elasticsearch.ml.CalendarEvent
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CalendarEvent>
Json deserializer forCalendarEvent
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
A string that uniquely identifies a calendar.final String
Required - A description of the scheduled event.final DateTime
endTime()
Required - The timestamp for the end of the scheduled event in milliseconds since the epoch or ISO 8601 format.final String
eventId()
API name:event_id
final Integer
Shift time by this many seconds.static CalendarEvent
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final Boolean
When true the model will not be updated for this calendar period.final Boolean
When true the model will not create results for this calendar period.final DateTime
Required - The timestamp for the beginning of the scheduled event in milliseconds since the epoch or ISO 8601 format.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forCalendarEvent
-
-
Method Details
-
of
-
calendarId
A string that uniquely identifies a calendar.API name:
calendar_id
-
eventId
API name:event_id
-
description
Required - A description of the scheduled event.API name:
description
-
endTime
Required - The timestamp for the end of the scheduled event in milliseconds since the epoch or ISO 8601 format.API name:
end_time
-
startTime
Required - The timestamp for the beginning of the scheduled event in milliseconds since the epoch or ISO 8601 format.API name:
start_time
-
skipResult
When true the model will not create results for this calendar period.API name:
skip_result
-
skipModelUpdate
When true the model will not be updated for this calendar period.API name:
skip_model_update
-
forceTimeShift
Shift time by this many seconds. For example adjust time for daylight savings changesAPI name:
force_time_shift
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCalendarEventDeserializer
-