Class WebhookResult
java.lang.Object
co.elastic.clients.elasticsearch.watcher.WebhookResult
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class WebhookResult extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WebhookResult.Builder
Builder forWebhookResult
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<WebhookResult>
_DESERIALIZER
Json deserializer forWebhookResult
-
Constructor Summary
Constructors Constructor Description WebhookResult(WebhookResult.Builder builder)
WebhookResult(java.util.function.Function<WebhookResult.Builder,WebhookResult.Builder> fn)
-
Method Summary
Modifier and Type Method Description HttpInputRequestResult
request()
Required - API name:request
HttpInputResponseResult
response()
API name:response
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
setupWebhookResultDeserializer(DelegatingDeserializer<WebhookResult.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forWebhookResult
-
-
Constructor Details
-
WebhookResult
-
WebhookResult
-
-
Method Details
-
request
Required - API name:request
-
response
API name:response
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupWebhookResultDeserializer
protected static void setupWebhookResultDeserializer(DelegatingDeserializer<WebhookResult.Builder> op)
-