Class Version5F500D

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

@Generated("io.github.primelib.primecodegen") public class Version5F500D extends Object
Version5F500D

The new version for the updated content. Set this to the current version number incremented by one, unless you are changing the status to 'draft' which must have a version number of 1. To get the current version number, use [Get content by ID](#api-content-id-get) and retrieve `version.number`.

  • Field Details

    • number

      protected Integer number
      The version number.
    • message

      protected String message
      An optional message to be stored with the corresponding version.
  • Constructor Details

    • Version5F500D

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

      @Internal public Version5F500D(Integer number, String message)
      Constructs a validated instance of Version5F500D.

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

      Parameters:
      number - The version number.
      message - An optional message to be stored with the corresponding version.
    • Version5F500D

      protected Version5F500D()
  • Method Details

    • number

      public Integer number()
      The version number.
    • message

      public String message()
      An optional message to be stored with the corresponding version.
    • number

      public Version5F500D number(Integer number)
      The version number.
      Returns:
      this.
    • message

      public Version5F500D message(String message)
      An optional message to be stored with the corresponding version.
      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