Class ElementalChannelNode

    • 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
      • getChannel

        public java.lang.String getChannel()
        Returns:
        The channel the contents of this element should be applied to. Can be email, push, direct_message, sms or a provider such as slack
      • getElements

        public java.util.Optional<java.util.List<ElementalNode>> getElements()
        Returns:
        An array of elements to apply to the channel. If raw has not been specified, elements is required.
      • getRaw

        public java.util.Optional<java.util.Map<java.lang.String,​java.lang.Object>> getRaw()
        Returns:
        Raw data to apply to the channel. If elements has not been specified, raw is required.
      • 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