Class SlackAttachment

java.lang.Object
co.elastic.clients.elasticsearch.watcher.SlackAttachment
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class SlackAttachment extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • authorIcon

      @Nullable public final String authorIcon()
      API name: author_icon
    • authorLink

      @Nullable public final String authorLink()
      API name: author_link
    • authorName

      public final String authorName()
      Required - API name: author_name
    • color

      @Nullable public final String color()
      API name: color
    • fallback

      @Nullable public final String fallback()
      API name: fallback
    • fields

      public final List<SlackAttachmentField> fields()
      API name: fields
    • footer

      @Nullable public final String footer()
      API name: footer
    • footerIcon

      @Nullable public final String footerIcon()
      API name: footer_icon
    • imageUrl

      @Nullable public final String imageUrl()
      API name: image_url
    • pretext

      @Nullable public final String pretext()
      API name: pretext
    • text

      @Nullable public final String text()
      API name: text
    • thumbUrl

      @Nullable public final String thumbUrl()
      API name: thumb_url
    • title

      public final String title()
      Required - API name: title
    • titleLink

      @Nullable public final String titleLink()
      API name: title_link
    • ts

      @Nullable public final Long ts()
      API name: ts
    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupSlackAttachmentDeserializer

      protected static void setupSlackAttachmentDeserializer(ObjectDeserializer<SlackAttachment.Builder> op)