Class ElementalTextNode

    • Method Detail

      • getChannels

        public java.util.Optional<java.util.List<java.lang.String>> getChannels()
        Specified by:
        getChannels in interface IElementalBaseNode
      • getIf

        public java.util.Optional<java.lang.String> getIf()
        Specified by:
        getIf in interface IElementalBaseNode
      • getContent

        public java.lang.String getContent()
        Returns:
        The text content displayed in the notification. Either this field must be specified, or the elements field
      • getAlign

        public TextAlign getAlign()
        Returns:
        Text alignment.
      • getTextStyle

        public java.util.Optional<TextStyle> getTextStyle()
        Returns:
        Allows the text to be rendered as a heading level.
      • getColor

        public java.util.Optional<java.lang.String> getColor()
        Returns:
        Specifies the color of text. Can be any valid css color value
      • getBold

        public java.util.Optional<java.lang.String> getBold()
        Returns:
        Apply bold to the text
      • getItalic

        public java.util.Optional<java.lang.String> getItalic()
        Returns:
        Apply italics to the text
      • getStrikethrough

        public java.util.Optional<java.lang.String> getStrikethrough()
        Returns:
        Apply a strike through the text
      • getUnderline

        public java.util.Optional<java.lang.String> getUnderline()
        Returns:
        Apply an underline to the text
      • getLocales

        public java.util.Optional<java.util.Map<java.lang.String,​Locale>> getLocales()
        Returns:
        Region specific content. See locales docs for more details.
      • getFormat

        public java.util.Optional<java.lang.String> getFormat()
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object