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 class
PutCalendarResponse.Builder
Builder forPutCalendarResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<PutCalendarResponse>
_DESERIALIZER
Json deserializer forPutCalendarResponse
-
Method Summary
Modifier and Type Method Description java.lang.String
calendarId()
Required - A string that uniquely identifies a calendar.java.lang.String
description()
A description of the calendar.java.util.List<java.lang.String>
jobIds()
Required - A list of anomaly detection job identifiers or group names.static PutCalendarResponse
of(java.util.function.Function<PutCalendarResponse.Builder,ObjectBuilder<PutCalendarResponse>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupPutCalendarResponseDeserializer(ObjectDeserializer<PutCalendarResponse.Builder> op)
java.lang.String
toString()
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
@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 - A list of anomaly detection job identifiers or group names.API name:
job_ids
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupPutCalendarResponseDeserializer
protected static void setupPutCalendarResponseDeserializer(ObjectDeserializer<PutCalendarResponse.Builder> op)
-