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 StringA string that uniquely identifies a calendar.final StringRequired - A description of the scheduled event.final DateTimeendTime()Required - The timestamp for the end of the scheduled event in milliseconds since the epoch or ISO 8601 format.final StringeventId()API name:event_idstatic CalendarEventvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal DateTimeRequired - 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCalendarEventDeserializer
-