Class NotificationToken


  • @Generated("org.openapitools.codegen.languages.SpringCodegen")
    public class NotificationToken
    extends java.lang.Object
    Notification token representing a header or a message. Type Text can be used for plain text notification and type token with arguments for parameterised tokens.
    • Constructor Detail

      • NotificationToken

        public NotificationToken()
      • NotificationToken

        public NotificationToken​(java.lang.String value,
                                 NotificationToken.TypeEnum type)
        Constructor with only required parameters
    • Method Detail

      • getValue

        @NotNull
        public @NotNull java.lang.String getValue()
        The value to be applied to the template.
        Returns:
        value
      • setValue

        public void setValue​(java.lang.String value)
      • getType

        @NotNull
        public @NotNull NotificationToken.TypeEnum getType()
        Type of the value. Used by the frontend for formatting. * `TEXT` - Plaintext value that should be displayed unmodified. * `TOKEN` - Translation token. The token must be known to the frontend.
        Returns:
        type
      • getArguments

        public java.util.Map<java.lang.String,​DisplayFieldArgument> getArguments()
        Key value pair representing each of the parameters of the token.
        Returns:
        arguments
      • setArguments

        public void setArguments​(java.util.Map<java.lang.String,​DisplayFieldArgument> arguments)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

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