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

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

    • versionNumber

      protected Integer versionNumber
      The version number to be restored.
    • message

      protected String message
      Description for the version.
    • restoreTitle

      protected Boolean restoreTitle
      If true, the content title will be the same as the title from the version restored. Defaults to `false`.
  • Constructor Details

    • Params

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

      @Internal public Params(Integer versionNumber, String message, Boolean restoreTitle)
      Constructs a validated instance of Params.

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

      Parameters:
      versionNumber - The version number to be restored.
      message - Description for the version.
      restoreTitle - If true, the content title will be the same as the title from the version restored. Defaults to `false`.
    • Params

      protected Params()
  • Method Details

    • versionNumber

      public Integer versionNumber()
      The version number to be restored.
    • message

      public String message()
      Description for the version.
    • restoreTitle

      public Boolean restoreTitle()
      If true, the content title will be the same as the title from the version restored. Defaults to `false`.
    • versionNumber

      public Params versionNumber(Integer versionNumber)
      The version number to be restored.
      Returns:
      this.
    • message

      public Params message(String message)
      Description for the version.
      Returns:
      this.
    • restoreTitle

      public Params restoreTitle(Boolean restoreTitle)
      If true, the content title will be the same as the title from the version restored. Defaults to `false`.
      Returns:
      this.
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object