Class SlackAttachmentField
java.lang.Object
co.elastic.clients.elasticsearch.watcher.SlackAttachmentField
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class SlackAttachmentField extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SlackAttachmentField.Builder
Builder forSlackAttachmentField
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SlackAttachmentField>
_DESERIALIZER
Json deserializer forSlackAttachmentField
-
Method Summary
Modifier and Type Method Description static SlackAttachmentField
of(java.util.function.Function<SlackAttachmentField.Builder,ObjectBuilder<SlackAttachmentField>> 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
setupSlackAttachmentFieldDeserializer(ObjectDeserializer<SlackAttachmentField.Builder> op)
boolean
short_()
Required - API name:short
java.lang.String
title()
Required - API name:title
java.lang.String
value()
Required - API name:value
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSlackAttachmentField
-
-
Method Details
-
of
public static SlackAttachmentField of(java.util.function.Function<SlackAttachmentField.Builder,ObjectBuilder<SlackAttachmentField>> fn) -
short_
public final boolean short_()Required - API name:short
-
title
public final java.lang.String title()Required - API name:title
-
value
public final java.lang.String value()Required - API name:value
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupSlackAttachmentFieldDeserializer
protected static void setupSlackAttachmentFieldDeserializer(ObjectDeserializer<SlackAttachmentField.Builder> op)
-