Class GenericNotification


  • @Generated("org.openapitools.codegen.languages.SpringCodegen")
    public class GenericNotification
    extends java.lang.Object
    GenericNotification
    • Constructor Detail

      • GenericNotification

        public GenericNotification()
    • Method Detail

      • getType

        @NotNull
        public @NotNull GenericNotification.TypeEnum getType()
        Each of the notification types. The Front End will represent notifications based on their types (eg. Success will show a green Status and a tick icon).
        Returns:
        type
      • getStatus

        public java.lang.String getStatus()
        Optional token describing the notification status, it is used to display the status in the front end, and it will be colored according to the type property. eg. notifications.status.cancelled will represent the CANCELLED status.
        Returns:
        status
      • setStatus

        public void setStatus​(java.lang.String status)
      • getDateTime

        @NotNull
        public @NotNull java.lang.String getDateTime()
        An ISO-8601 date-time (`YYYY-MM-DD[T]HH:mm:ss`).
        Returns:
        dateTime
      • setDateTime

        public void setDateTime​(java.lang.String dateTime)
      • getCategory

        public java.lang.String getCategory()
        Optional token describing the notification category, it is used to display the category in the Front End notification. eg. notifications.category.order will represent the ORDER category.
        Returns:
        category
      • setCategory

        public void setCategory​(java.lang.String category)
      • getMessageHeader

        public NotificationToken getMessageHeader()
        Get messageHeader
        Returns:
        messageHeader
      • setMessageHeader

        public void setMessageHeader​(NotificationToken messageHeader)
      • getMessage

        @NotNull
        public @NotNull NotificationToken getMessage()
        Get message
        Returns:
        message
      • 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