Class SlackAttachment
java.lang.Object
co.elastic.clients.elasticsearch.watcher.SlackAttachment
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<SlackAttachment>
Json deserializer forSlackAttachment
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
API name:author_icon
final String
API name:author_link
final String
Required - API name:author_name
final String
color()
API name:color
final String
fallback()
API name:fallback
final List<SlackAttachmentField>
fields()
API name:fields
final String
footer()
API name:footer
final String
API name:footer_icon
final String
imageUrl()
API name:image_url
static SlackAttachment
final String
pretext()
API name:pretext
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
final String
text()
API name:text
final String
thumbUrl()
API name:thumb_url
final String
title()
Required - API name:title
final String
API name:title_link
toString()
final Long
ts()
API name:ts
-
Field Details
-
_DESERIALIZER
Json deserializer forSlackAttachment
-
-
Method Details
-
of
public static SlackAttachment of(Function<SlackAttachment.Builder, ObjectBuilder<SlackAttachment>> fn) -
authorIcon
API name:author_icon
-
authorLink
API name:author_link
-
authorName
Required - API name:author_name
-
color
API name:color
-
fallback
API name:fallback
-
fields
API name:fields
-
imageUrl
API name:image_url
-
pretext
API name:pretext
-
text
API name:text
-
thumbUrl
API name:thumb_url
-
title
Required - API name:title
-
titleLink
API name:title_link
-
ts
API name:ts
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSlackAttachmentDeserializer
protected static void setupSlackAttachmentDeserializer(ObjectDeserializer<SlackAttachment.Builder> op)
-