Class SlackResult
java.lang.Object
co.elastic.clients.elasticsearch.watcher.SlackResult
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class SlackResult extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSlackResult.BuilderBuilder forSlackResult. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SlackResult>_DESERIALIZERJson deserializer forSlackResult -
Constructor Summary
Constructors Constructor Description SlackResult(SlackResult.Builder builder)SlackResult(java.util.function.Function<SlackResult.Builder,SlackResult.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Stringaccount()API name:accountSlackMessagemessage()Required - API name:messagevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSlackResultDeserializer(DelegatingDeserializer<SlackResult.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 forSlackResult
-
-
Constructor Details
-
SlackResult
-
SlackResult
-
-
Method Details
-
account
@Nullable public java.lang.String account()API name:account -
message
Required - API name:message -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupSlackResultDeserializer
-