Class Message

java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.Message

@Generated("io.github.primelib.primecodegen") public class Message extends Object
Message
  • Field Details

  • Constructor Details

    • Message

      public Message(Consumer<Message> spec)
      Constructs a validated instance of Message.
      Parameters:
      spec - the specification to process
    • Message

      @Internal protected Message()
      Protected no-args constructor for use by serialization frameworks.
    • Message

      @Internal public Message(String translation, List<Object> args)
      Constructs a validated instance of Message.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using Message(Consumer) instead.

      Parameters:
      translation - translation
      args - args
  • Method Details

    • translation

      public String translation()
      Fluent getter for translation.
      Returns:
      translation
    • translation

      public Message translation(String translation)
      Fluent setter for translation.
      Parameters:
      translation - translation
      Returns:
      this
    • getTranslation

      public String getTranslation()
      Gets the value of translation.
      Returns:
      translation
    • setTranslation

      public void setTranslation(String translation)
      Sets the value of translation.
      Parameters:
      translation - translation
    • args

      public List<Object> args()
      Fluent getter for args.
      Returns:
      args
    • args

      public Message args(List<Object> args)
      Fluent setter for args.
      Parameters:
      args - args
      Returns:
      this
    • getArgs

      public List<Object> getArgs()
      Gets the value of args.
      Returns:
      args
    • setArgs

      public void setArgs(List<Object> args)
      Sets the value of args.
      Parameters:
      args - args
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object