Class Calendar
java.lang.Object
co.elastic.clients.elasticsearch.ml.get_calendars.Calendar
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class Calendar extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCalendar.BuilderBuilder forCalendar. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Calendar>_DESERIALIZERJson deserializer forCalendar -
Constructor Summary
Constructors Constructor Description Calendar(Calendar.Builder builder)Calendar(java.util.function.Function<Calendar.Builder,Calendar.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.StringcalendarId()A string that uniquely identifies a calendar.java.lang.Stringdescription()API name:descriptionjava.util.List<java.lang.String>jobIds()An array of anomaly detection job identifiers.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupCalendarDeserializer(DelegatingDeserializer<Calendar.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forCalendar
-
-
Constructor Details
-
Calendar
-
Calendar
-
-
Method Details
-
calendarId
public java.lang.String calendarId()A string that uniquely identifies a calendar.API name:
calendar_id -
description
@Nullable public java.lang.String description()API name:description -
jobIds
public java.util.List<java.lang.String> jobIds()An array of anomaly detection job identifiers.API name:
job_ids -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupCalendarDeserializer
-