java.lang.Object
co.elastic.clients.elasticsearch.ml.get_calendars.Calendar
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public class Calendar
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static Calendar of​(java.util.function.Function<Calendar.Builder,​ObjectBuilder<Calendar>> fn)
    • calendarId

      public final java.lang.String calendarId()
      Required - A string that uniquely identifies a calendar.

      API name: calendar_id

    • description

      @Nullable public final java.lang.String description()
      A description of the calendar.

      API name: description

    • jobIds

      public final java.util.List<java.lang.String> jobIds()
      Required - An array of anomaly detection job identifiers.

      API name: job_ids

    • serialize

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • setupCalendarDeserializer

      protected static void setupCalendarDeserializer​(ObjectDeserializer<Calendar.Builder> op)