Class ExecuteWatchResponse
java.lang.Object
co.elastic.clients.elasticsearch.watcher.ExecuteWatchResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ExecuteWatchResponse>Json deserializer forExecuteWatchResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringid()Required - The watch record identifier as it would be stored in the.watcher-historyindex.static ExecuteWatchResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()final WatchRecordRequired - The watch record document as it would be stored in the.watcher-historyindex.
-
Field Details
-
_DESERIALIZER
Json deserializer forExecuteWatchResponse
-
-
Method Details
-
of
public static ExecuteWatchResponse of(Function<ExecuteWatchResponse.Builder, ObjectBuilder<ExecuteWatchResponse>> fn) -
id
Required - The watch record identifier as it would be stored in the.watcher-historyindex.API name:
_id -
watchRecord
Required - The watch record document as it would be stored in the.watcher-historyindex.API name:
watch_record -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupExecuteWatchResponseDeserializer
protected static void setupExecuteWatchResponseDeserializer(ObjectDeserializer<ExecuteWatchResponse.Builder> op)
-