Record Class Localization.Message.Format

java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Message.Format
All Implemented Interfaces:
LocalizationSetting
Enclosing class:
Localization.Message

  • Constructor Details

    • Format

      public Format(@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/animation") Localization.Message.Format.Animation animation, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/condition") Localization.Message.Format.Condition condition, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/fading") Localization.Message.Format.Fading fading, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/object") Localization.Message.Format.Object object, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/padding") Localization.Message.Format.Padding padding, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/replacement") Localization.Message.Format.Replacement replacement, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/mention") Localization.Message.Format.Mention mention, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/moderation") Localization.Message.Format.Moderation moderation, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/names") Localization.Message.Format.Names names, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/questionanswer") Localization.Message.Format.QuestionAnswer questionAnswer, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/translate") Localization.Message.Format.Translate translate)
      Creates an instance of a Format record class.
      Parameters:
      animation - the value for the animation record component
      condition - the value for the condition record component
      fading - the value for the fading record component
      object - the value for the object record component
      padding - the value for the padding record component
      replacement - the value for the replacement record component
      mention - the value for the mention record component
      moderation - the value for the moderation record component
      names - the value for the names record component
      questionAnswer - the value for the questionAnswer record component
      translate - the value for the translate record component
  • Method Details

    • builder

    • toBuilder

    • withAnimation

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withCondition

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withFading

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withObject

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withPadding

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withReplacement

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withMention

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withModeration

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withNames

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withQuestionAnswer

      public Localization.Message.Format withQuestionAnswer(Localization.Message.Format.QuestionAnswer questionAnswer)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withTranslate

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • animation

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/animation") public Localization.Message.Format.Animation animation()
      Returns the value of the animation record component.
      Returns:
      the value of the animation record component
    • condition

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/condition") public Localization.Message.Format.Condition condition()
      Returns the value of the condition record component.
      Returns:
      the value of the condition record component
    • fading

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/fading") public Localization.Message.Format.Fading fading()
      Returns the value of the fading record component.
      Returns:
      the value of the fading record component
    • object

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/object") public Localization.Message.Format.Object object()
      Returns the value of the object record component.
      Returns:
      the value of the object record component
    • padding

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/padding") public Localization.Message.Format.Padding padding()
      Returns the value of the padding record component.
      Returns:
      the value of the padding record component
    • replacement

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/replacement") public Localization.Message.Format.Replacement replacement()
      Returns the value of the replacement record component.
      Returns:
      the value of the replacement record component
    • mention

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/mention") public Localization.Message.Format.Mention mention()
      Returns the value of the mention record component.
      Returns:
      the value of the mention record component
    • moderation

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/moderation") public Localization.Message.Format.Moderation moderation()
      Returns the value of the moderation record component.
      Returns:
      the value of the moderation record component
    • names

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/names") public Localization.Message.Format.Names names()
      Returns the value of the names record component.
      Returns:
      the value of the names record component
    • questionAnswer

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/questionanswer") public Localization.Message.Format.QuestionAnswer questionAnswer()
      Returns the value of the questionAnswer record component.
      Returns:
      the value of the questionAnswer record component
    • translate

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format/translate") public Localization.Message.Format.Translate translate()
      Returns the value of the translate record component.
      Returns:
      the value of the translate record component