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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPutCalendarResponse.BuilderBuilder forPutCalendarResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<PutCalendarResponse>_DESERIALIZERJson deserializer forPutCalendarResponse -
Method Summary
Modifier and Type Method Description java.lang.StringcalendarId()Required - A string that uniquely identifies a calendar.java.lang.Stringdescription()Required - A description of the calendar.java.util.List<java.lang.String>jobIds()Required - A list of anomaly detection job identifiers or group names.static PutCalendarResponseof(java.util.function.Function<PutCalendarResponse.Builder,ObjectBuilder<PutCalendarResponse>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupPutCalendarResponseDeserializer(ObjectDeserializer<PutCalendarResponse.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forPutCalendarResponse
-
-
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
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupPutCalendarResponseDeserializer
protected static void setupPutCalendarResponseDeserializer(ObjectDeserializer<PutCalendarResponse.Builder> op)
-