Class PutCalendarResponse

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

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

  • Method Details

    • of

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

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

      API name: calendar_id

    • description

      public final java.lang.String description()
      Required - A description of the calendar.

      API name: description

    • jobIds

      public final java.util.List<java.lang.String> jobIds()
      Required - A list of anomaly detection job identifiers or group names.

      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)
    • setupPutCalendarResponseDeserializer

      protected static void setupPutCalendarResponseDeserializer​(ObjectDeserializer<PutCalendarResponse.Builder> op)