Class PagerDutyActionEventResult
java.lang.Object
co.elastic.clients.elasticsearch.watcher.PagerDutyActionEventResult
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class PagerDutyActionEventResult extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PagerDutyActionEventResult.Builder
Builder forPagerDutyActionEventResult
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<PagerDutyActionEventResult>
_DESERIALIZER
Json deserializer forPagerDutyActionEventResult
-
Constructor Summary
Constructors Constructor Description PagerDutyActionEventResult(PagerDutyActionEventResult.Builder builder)
PagerDutyActionEventResult(java.util.function.Function<PagerDutyActionEventResult.Builder,PagerDutyActionEventResult.Builder> fn)
-
Method Summary
Modifier and Type Method Description PagerDutyEvent
event()
Required - API name:event
java.lang.String
reason()
Required - API name:reason
HttpInputRequestResult
request()
Required - API name:request
HttpInputResponseResult
response()
Required - 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
setupPagerDutyActionEventResultDeserializer(DelegatingDeserializer<PagerDutyActionEventResult.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 forPagerDutyActionEventResult
-
-
Constructor Details
-
PagerDutyActionEventResult
-
PagerDutyActionEventResult
public PagerDutyActionEventResult(java.util.function.Function<PagerDutyActionEventResult.Builder,PagerDutyActionEventResult.Builder> fn)
-
-
Method Details
-
event
Required - API name:event
-
reason
public java.lang.String reason()Required - API name:reason
-
request
Required - API name:request
-
response
Required - API name:response
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupPagerDutyActionEventResultDeserializer
protected static void setupPagerDutyActionEventResultDeserializer(DelegatingDeserializer<PagerDutyActionEventResult.Builder> op)
-