Class CalendarEvent
java.lang.Object
co.elastic.clients.elasticsearch.ml.CalendarEvent
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier 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 String
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
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 String
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
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCalendarEventDeserializer
-